use the packaged libsimde-dev

* debian/patches:
   - Use the SIMD Everywhere headers from libsimde-dev, instead of upstream's
     code copy
* debian/control
   - Build-dep on libsimde-dev
   - Add "Built-Using: ${simde:Built-Using}" to all the binary packages to
     document the version of libsimde-dev used, as required to keep that
     version in the Debian archive, which is needed to fulfill the GPL
* debian/copyright:
   - exclude libobs/util/simde/* as we will use the files from libsimde-dev
* debian/rules:
   - Include the recommended flags for SIMDe, especially important for
     non-X86 architectures
This commit is contained in:
Michael R. Crusoe 2020-04-24 20:12:29 +02:00
parent 5240f0b1eb
commit 103fad448f
No known key found for this signature in database
GPG key ID: 3C26763F6C67E6E2
6 changed files with 44 additions and 18 deletions

View file

@ -0,0 +1,13 @@
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Use the simd everywhere headers from libsimde-dev
--- obs-studio.orig/libobs/util/sse-intrin.h
+++ obs-studio/libobs/util/sse-intrin.h
@@ -19,7 +19,7 @@
#if NEEDS_SIMDE
-#include "simde/sse2.h"
+#include <simde/x86/sse2.h>
#define __m128 simde__m128
#define _mm_setzero_ps simde_mm_setzero_ps

View file

@ -6,3 +6,4 @@
0006-Add-SONAME.patch
0007-Do-not-build-with-SSE2-enabled-on-i386.patch
0008-rmtp-services-Remove-executable-bits-from-json-files.patch
0009-use-libsimde-dev.patch