summaryrefslogtreecommitdiff
path: root/recipes/gstreamer/gst-plugins-ugly-sid/gstsid_autofoo_HACK.patch
blob: 963ddde97e2f47e14a893eaa4295d06b1d15bbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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