summaryrefslogtreecommitdiff
path: root/recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch')
-rw-r--r--recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch107
1 files changed, 107 insertions, 0 deletions
diff --git a/recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch b/recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch
new file mode 100644
index 0000000000..963ddde97e
--- /dev/null
+++ b/recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch
@@ -0,0 +1,107 @@
+Index: gst-plugins-ugly-0.10.7/m4/gst-sid.m4
+===================================================================
+--- gst-plugins-ugly-0.10.7.orig/m4/gst-sid.m4
++++ gst-plugins-ugly-0.10.7/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"
+
+Index: gst-plugins-ugly-0.10.7/ext/Makefile.am
+===================================================================
+--- gst-plugins-ugly-0.10.7.orig/ext/Makefile.am
++++ gst-plugins-ugly-0.10.7/ext/Makefile.am
+@@ -1,67 +1,5 @@
+-if USE_A52DEC
+-A52DEC_DIR = a52dec
+-else
+-A52DEC_DIR =
+-endif
+-
+-if USE_AMRNB
+- AMRNB_DIR = amrnb
+-else
+- AMRNB_DIR =
+-endif
+-
+-if USE_DVDREAD
+- DVDREAD_DIR = dvdread
+-else
+- DVDREAD_DIR =
+-endif
+-
+-if USE_DVDNAV
+- DVDNAV_DIR = dvdnav
+-else
+- DVDNAV_DIR =
+-endif
+-
+-if USE_LAME
+-LAME_DIR = lame
+-else
+-LAME_DIR =
+-endif
+-
+-if USE_MAD
+-MAD_DIR = mad
+-else
+-MAD_DIR =
+-endif
+-
+-if USE_MPEG2DEC
+-MPEG2DEC_DIR = mpeg2dec
+-else
+-MPEG2DEC_DIR =
+-endif
+-
+-if USE_SIDPLAY
+ SIDPLAY_DIR = sidplay
+-else
+-SIDPLAY_DIR =
+-endif
+
+-SUBDIRS = \
+- $(A52DEC_DIR) \
+- $(AMRNB_DIR) \
+- $(DVDREAD_DIR) \
+- $(DVDNAV_DIR) \
+- $(LAME_DIR) \
+- $(MAD_DIR) \
+- $(MPEG2DEC_DIR) \
+- $(SIDPLAY_DIR)
++SUBDIRS = sidplay
+
+-DIST_SUBDIRS = \
+- a52dec \
+- amrnb \
+- dvdnav \
+- dvdread \
+- lame \
+- mad \
+- mpeg2dec \
+- sidplay
++DIST_SUBDIRS = sidplay
+Index: gst-plugins-ugly-0.10.7/Makefile.am
+===================================================================
+--- gst-plugins-ugly-0.10.7.orig/Makefile.am
++++ gst-plugins-ugly-0.10.7/Makefile.am
+@@ -1,7 +1,7 @@
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+
+ SUBDIRS = \
+- gst-libs gst ext docs m4 tests common po
++ ext docs m4 tests common po
+
+ # include before EXTRA_DIST for win32 assignment
+ include $(top_srcdir)/common/win32.mak