summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-10-22 16:46:46 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-10-22 16:46:46 +0000
commita94c976932ba314527bcb8faa7a6589ef0bc7266 (patch)
treeb56c8801b6a5f7ba6a3510320f771fbc5305e134
parentb2f2f00a308c461500ec72b145cde5fc20717700 (diff)
gst-plugins-ugly: add gstsid_autofoo_HACK.patch to make gst-plugins-ugly build the sid plugin
-rw-r--r--packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch20
-rw-r--r--packages/gstreamer/gst-plugins-ugly_0.10.6.bb6
2 files changed, 24 insertions, 2 deletions
diff --git a/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch b/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch
new file mode 100644
index 0000000000..79a03741ac
--- /dev/null
+++ b/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch
@@ -0,0 +1,20 @@
+Index: gst-plugins-ugly-0.10.6/m4/gst-sid.m4
+===================================================================
+--- gst-plugins-ugly-0.10.6.orig/m4/gst-sid.m4
++++ gst-plugins-ugly-0.10.6/m4/gst-sid.m4
+@@ -16,14 +16,7 @@ if test $HAVE_SIDPLAY = "yes"; then
+
+ LIBS="-lsidplay"
+
+- AC_TRY_RUN([
+- #include <sidplay/player.h>
+- int main()
+- { sidTune tune = sidTune(0); }
+- ],
+- HAVE_SIDPLAY="yes",
+- HAVE_SIDPLAY="no",
+- HAVE_SIDPLAY="no")
++ HAVE_SIDPLAY="yes"
+
+ LIBS="$ac_libs_safe"
+
diff --git a/packages/gstreamer/gst-plugins-ugly_0.10.6.bb b/packages/gstreamer/gst-plugins-ugly_0.10.6.bb
index 64f36ddb38..c88a4db990 100644
--- a/packages/gstreamer/gst-plugins-ugly_0.10.6.bb
+++ b/packages/gstreamer/gst-plugins-ugly_0.10.6.bb
@@ -1,7 +1,9 @@
require gst-plugins.inc
DEPENDS += "gst-plugins-base mpeg2dec libsidplay"
-PR = "r2"
+PR = "r3"
SRC_URI += "file://cross-compile.patch;patch=1 \
- file://gstmad_16bit.patch;patch=1"
+ file://gstmad_16bit.patch;patch=1 \
+ file://gstsid_autofoo_HACK.patch;patch=1"
+