Selaa lähdekoodia

Merge branch gstreamer1 from MikePetullo

Signed-off-by: W. Michael Petullo <mike@flyn.org>
Ted Hess 10 vuotta sitten
vanhempi
commit
9608f08ef1

+ 8
- 4
libs/liboil/Makefile Näytä tiedosto

@@ -1,5 +1,5 @@
1 1
 # 
2
-# Copyright (C) 2007-2010 OpenWrt.org
2
+# Copyright (C) 2007-2014 OpenWrt.org
3 3
 #
4 4
 # This is free software, licensed under the GNU General Public License v2.
5 5
 # See /LICENSE for more information.
@@ -9,16 +9,20 @@ include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=liboil
11 11
 PKG_VERSION:=0.3.17
12
-PKG_RELEASE:=1
12
+PKG_RELEASE:=2
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 15
 PKG_SOURCE_URL:=http://liboil.freedesktop.org/download/
16 16
 PKG_MD5SUM:=47dc734f82faeb2964d97771cfd2e701
17 17
 
18
+PKG_LICENSE:=FREE
19
+PKG_LICENSE_FILE:=COPYING
20
+
18 21
 PKG_FIXUP:=autoreconf
19 22
 PKG_INSTALL:=1
20 23
 
21 24
 include $(INCLUDE_DIR)/package.mk
25
+include $(INCLUDE_DIR)/nls.mk
22 26
 
23 27
 define Package/liboil
24 28
   SECTION:=libs
@@ -26,7 +30,7 @@ define Package/liboil
26 30
   TITLE:=simple functions optimized for various CPUs
27 31
   URL:=http://liboil.freedesktop.org/wiki/
28 32
   MAINTAINER:=W. Michael Petullo <mike@flyn.org>
29
-  DEPENDS:=+librt
33
+  DEPENDS:=+librt $(ICONV_DEPENDS) $(INTL_DEPENDS)
30 34
 endef
31 35
 
32 36
 define Package/liboil/description
@@ -42,7 +46,7 @@ CONFIGURE_ARGS += \
42 46
 	--enable-shared \
43 47
 	--enable-static \
44 48
 
45
-TARGET_CFLAGS += $(FPIC)
49
+TARGET_CFLAGS += $(FPIC) $(if $(ICONV_FULL),-liconv) $(if $(INTL_FULL),-lintl)
46 50
 
47 51
 # XXX: VFP_CFLAGS is set to '-mfpu=vfp' on arm by configure, but that breaks 
48 52
 # final linking stages, so override it until we find why

+ 75
- 0
libs/libsoup/Makefile Näytä tiedosto

@@ -0,0 +1,75 @@
1
+# 
2
+# Copyright (C) 2014 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=libsoup
11
+PKG_VERSION:=2.38.1
12
+PKG_RELEASE:=1
13
+
14
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15
+PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.38
16
+PKG_MD5SUM:=d13fb4968acea24c26b83268a308f580
17
+
18
+PKG_LICENSE:=GPL-2.0
19
+PKG_LICENSE_FILE:=COPYING
20
+
21
+PKG_FIXUP:=autoreconf
22
+PKG_INSTALL:=1
23
+
24
+include $(INCLUDE_DIR)/package.mk
25
+include $(INCLUDE_DIR)/nls.mk
26
+
27
+TARGET_LDFLAGS+=\
28
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv)
29
+
30
+define Package/libsoup
31
+  SECTION:=libs
32
+  CATEGORY:=Libraries
33
+  TITLE:=libsoup
34
+  URL:=http://live.gnome.org/LibSoup
35
+  MAINTAINER:=W. Michael Petullo <mike@flyn.org>
36
+  DEPENDS:=+glib2 +libxml2 +libgnutls $(ICONV_DEPENDS) $(INTL_DEPENDS)
37
+endef
38
+
39
+define Build/Configure
40
+	$(call Build/Configure/Default, \
41
+		--enable-ssl \
42
+		--disable-glibtest \
43
+		--without-apache-httpd \
44
+		--without-gnome \
45
+	)
46
+endef
47
+
48
+define package/libsoup/decription
49
+Libsoup is an HTTP library implementation in C
50
+endef
51
+
52
+define Build/InstallDev
53
+	$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup}
54
+
55
+	$(CP) \
56
+		$(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \
57
+		$(1)/usr/lib/
58
+
59
+	$(INSTALL_DATA) \
60
+		$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
61
+		$(1)/usr/lib/pkgconfig/
62
+
63
+	$(INSTALL_DATA) \
64
+		$(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \
65
+		$(1)/usr/include/libsoup-2.4/libsoup/
66
+endef
67
+
68
+define Package/libsoup/install
69
+	$(INSTALL_DIR) $(1)/usr/lib
70
+	$(CP) \
71
+		$(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
72
+		$(1)/usr/lib/
73
+endef
74
+
75
+$(eval $(call BuildPackage,libsoup))

+ 238
- 0
multimedia/gst1-plugins-bad/Makefile Näytä tiedosto

@@ -0,0 +1,238 @@
1
+#
2
+# Copyright (C) 2011-2014 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=gst1-plugins-bad
11
+PKG_VERSION:=1.2.3
12
+PKG_RELEASE:=2
13
+
14
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
15
+
16
+PKG_LICENSE:=LGPLv2 GPLv2
17
+PKG_LICENSE_FILE:=COPYING.LIB COPYING
18
+
19
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION)
20
+PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz
21
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
22
+PKG_MD5SUM:=cfd6f303c8df2740b27cc63b945decef
23
+
24
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
25
+
26
+PKG_FIXUP:=autoreconf
27
+PKG_INSTALL:=1
28
+
29
+include $(INCLUDE_DIR)/package.mk
30
+include $(INCLUDE_DIR)/nls.mk
31
+
32
+define Package/gstreamer1/Default
33
+  CATEGORY:=Multimedia
34
+  SECTION:=multimedia
35
+  TITLE:=GStreamer
36
+  URL:=http://gstreamer.freedesktop.org/
37
+  DEPENDS:= $(ICONV_DEPENDS)
38
+endef
39
+
40
+define Package/gstreamer1/description/Default
41
+ GStreamer open source multimedia framework
42
+endef
43
+
44
+
45
+define Package/gst1-plugins-bad
46
+$(call Package/gstreamer1/Default)
47
+  TITLE+= plugins collection (bad)
48
+  DEPENDS+= $(GST_DEPENDS)
49
+endef
50
+
51
+define Package/gts1-plugins-bad/description
52
+$(call Package/gstreamer1/description/Default)
53
+ .
54
+ This meta package contains only dependencies to the other plugins from
55
+ the bad plugins collection.
56
+endef
57
+
58
+
59
+GST_VERSION:=1.0
60
+
61
+CONFIGURE_ARGS += \
62
+	--disable-debug \
63
+	--disable-examples \
64
+	--disable-nls	\
65
+	\
66
+	--disable-directsound \
67
+	--disable-directdraw \
68
+	--disable-osx_video \
69
+	--disable-quicktime \
70
+	--disable-vcd \
71
+	--disable-alsa \
72
+	--disable-assrender \
73
+	--disable-amrwb \
74
+	--disable-apexsink \
75
+	--disable-bz2 \
76
+	--disable-cdaudio \
77
+	--disable-celt \
78
+	--disable-cog \
79
+	--disable-dc1394 \
80
+	--disable-directfb \
81
+	--disable-dirac \
82
+	--disable-dts \
83
+	--disable-divx \
84
+	--disable-resindvd \
85
+	--disable-metadata \
86
+	--disable-faac \
87
+	--disable-faad \
88
+	--disable-fbdev \
89
+	--disable-flite \
90
+	--disable-gsm \
91
+	--disable-jack \
92
+	--disable-jp2k \
93
+	--disable-kate \
94
+	--disable-ladspa \
95
+	--disable-lv2 \
96
+	--disable-modplug \
97
+	--disable-mimic \
98
+	--disable-libmms \
99
+	--disable-mpeg2enc \
100
+	--disable-mplex \
101
+	--disable-musepack \
102
+	--disable-musicbrainz \
103
+	--disable-mythtv \
104
+	--disable-nas \
105
+	--disable-neon \
106
+	--disable-ofa \
107
+	--disable-rsvg \
108
+	--disable-timidity \
109
+	--disable-wildmidi \
110
+	--disable-sdl \
111
+	--disable-sdltest \
112
+	--disable-sndfile \
113
+	--disable-soundtouch \
114
+	--disable-spc \
115
+	--disable-gme \
116
+	--disable-swfdec \
117
+	--disable-theoradec \
118
+	--disable-xvid \
119
+	--disable-dvb \
120
+	--disable-wininet \
121
+	--disable-acm \
122
+	--disable-vdpau \
123
+	--disable-schro \
124
+	--disable-zbar \
125
+	--disable-vp8 \
126
+	\
127
+	--without-libiconv-prefix \
128
+	--without-libintl-prefix \
129
+	--without-x \
130
+
131
+TARGET_CFLAGS+= -std=gnu99
132
+
133
+EXTRA_LDFLAGS+= \
134
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
135
+	$(if $(ICONV_FULL),-liconv) \
136
+
137
+
138
+define Package/gst1-plugins-ugly/install
139
+	/bin/true
140
+endef
141
+
142
+# 1: short name
143
+# 2: description
144
+# 3: dependencies on other gstreamer libraries (short name)
145
+# 4: dependencies on other packages
146
+define GstBuildLibrary
147
+
148
+  GST_DEPENDS += +libgst1$(1)
149
+
150
+  define Package/libgst1$(1)
151
+    $(call Package/gstreamer1/Default)
152
+    TITLE+= $(2) library (base)
153
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
154
+  endef
155
+
156
+  define Package/libgst1$(1)/description
157
+   $(call Package/gstreamer1/description/Default)
158
+   .
159
+   This package contains the GStreamer $(2) library.
160
+  endef
161
+
162
+  define Package/libgst1$(1)/install
163
+	$(INSTALL_DIR) $$(1)/usr/lib
164
+	( cd $(PKG_INSTALL_DIR); $(CP) \
165
+		./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
166
+		$$(1)/usr/lib/ \
167
+	)
168
+  endef
169
+
170
+  $$(eval $$(call BuildPackage,libgst1$(1)))
171
+endef
172
+
173
+$(eval $(call GstBuildLibrary,photography,photography,,))
174
+$(eval $(call GstBuildLibrary,basecamerabinsrc,basecamerabinsrc,app,))
175
+
176
+# 1: short name
177
+# 2: description
178
+# 3: dependencies on other gstreamer libraries (short name)
179
+# 4: dependencies on other gstreamer plugins (short name)
180
+# 5: dependencies on other packages
181
+define GstBuildPlugin
182
+
183
+  GST_DEPENDS += +gst1-mod-$(1)
184
+
185
+  define Package/gst1-mod-$(1)
186
+    $(call Package/gstreamer1/Default)
187
+    TITLE+= $(2) plugin (bad)
188
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
189
+  endef
190
+
191
+  define Package/gst1-mod-$(1)/description
192
+   $(call Package/gstreamer1/description/Default)
193
+   .
194
+   This package contains the GStreamer $(2) plugin.
195
+  endef
196
+
197
+  define Package/gst1-mod-$(1)/install
198
+	$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
199
+	( cd $(PKG_INSTALL_DIR); $(CP) \
200
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
201
+		$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
202
+	)
203
+  endef
204
+
205
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
206
+endef
207
+
208
+$(eval $(call GstBuildPlugin,adpcmdec,adpcm decoding support,audio,,))
209
+$(eval $(call GstBuildPlugin,adpcmenc,adpcm encoding support,audio,,))
210
+$(eval $(call GstBuildPlugin,aiff,aiff support,audio tag,,))
211
+$(eval $(call GstBuildPlugin,asfmux,asf muxing support,rtp,,))
212
+$(eval $(call GstBuildPlugin,autoconvert,autoconvert support,,,))
213
+$(eval $(call GstBuildPlugin,bayer,bayer support,video,,))
214
+$(eval $(call GstBuildPlugin,camerabin2,camerabin support,basecamerabinsrc photography tag pbutils app,,))
215
+$(eval $(call GstBuildPlugin,dataurisrc,dataurisrc support,,,))
216
+$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,video,,))
217
+$(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,))
218
+$(eval $(call GstBuildPlugin,festival,festival support,audio,,))
219
+$(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,))
220
+$(eval $(call GstBuildPlugin,id3tag,id3tag support,tag,,))
221
+$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag,,))
222
+$(eval $(call GstBuildPlugin,liveadder,liveadder support,audio,,))
223
+$(eval $(call GstBuildPlugin,mpegpsdemux,mpegpsdemux support,pbutils tag,,))
224
+$(eval $(call GstBuildPlugin,mpegpsmux,mpegpsmux support,,,))
225
+#$(eval $(call GstBuildPlugin,mpegtsdemux,mpegtsdemux support,mpegts pbutils tag,,))
226
+#$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,video,,))
227
+$(eval $(call GstBuildPlugin,mxf,mxf support,audio video,,))
228
+$(eval $(call GstBuildPlugin,pcapparse,pcapparse support,,,))
229
+$(eval $(call GstBuildPlugin,pnm,pnm support,video,,))
230
+$(eval $(call GstBuildPlugin,rawparse,rawparse support,audio video,,))
231
+$(eval $(call GstBuildPlugin,rfbsrc,librfb support,video,,))
232
+$(eval $(call GstBuildPlugin,sdpelem,sdp support,rtp sdp,,))
233
+$(eval $(call GstBuildPlugin,segmentclip,segmentclip support,audio,,))
234
+$(eval $(call GstBuildPlugin,siren,siren support,audio rtp,,))
235
+$(eval $(call GstBuildPlugin,speed,speed support,audio,,))
236
+$(eval $(call GstBuildPlugin,subenc,subenc support,controller,,))
237
+
238
+$(eval $(call BuildPackage,gst1-plugins-bad))

+ 45
- 0
multimedia/gst1-plugins-bad/patches/000-gettext.patch Näytä tiedosto

@@ -0,0 +1,45 @@
1
+diff -u --recursive gst-plugins-bad-1.0.7-vanilla/configure.ac gst-plugins-bad-1.0.7/configure.ac
2
+--- gst-plugins-bad-1.0.7-vanilla/configure.ac	2013-06-01 19:44:32.199308073 -0500
3
++++ gst-plugins-bad-1.0.7/configure.ac	2013-06-01 19:45:27.754119344 -0500
4
+@@ -2373,7 +2373,6 @@
5
+ ext/timidity/Makefile
6
+ ext/xvid/Makefile
7
+ ext/zbar/Makefile
8
+-po/Makefile.in
9
+ docs/Makefile
10
+ docs/plugins/Makefile
11
+ docs/libs/Makefile
12
+diff -u --recursive gst-plugins-bad-1.0.7-vanilla/Makefile.am gst-plugins-bad-1.0.7/Makefile.am
13
+--- gst-plugins-bad-1.0.7-vanilla/Makefile.am	2013-06-01 19:44:32.165309412 -0500
14
++++ gst-plugins-bad-1.0.7/Makefile.am	2013-06-01 19:45:39.016675625 -0500
15
+@@ -2,11 +2,11 @@
16
+ 
17
+ SUBDIRS = \
18
+ 	gst-libs gst sys ext pkgconfig \
19
+-	m4 common docs tests po tools
20
++	m4 common docs tests tools
21
+ 
22
+ DIST_SUBDIRS = \
23
+ 	gst gst-libs sys ext pkgconfig \
24
+-	m4 common docs tests po tools
25
++	m4 common docs tests tools
26
+ 
27
+ # include before EXTRA_DIST for win32 assignment
28
+ include $(top_srcdir)/common/win32.mak
29
+diff -u --recursive gst-plugins-bad-1.0.7-vanilla/Makefile.in gst-plugins-bad-1.0.7/Makefile.in
30
+--- gst-plugins-bad-1.0.7-vanilla/Makefile.in	2013-06-01 19:44:32.217307364 -0500
31
++++ gst-plugins-bad-1.0.7/Makefile.in	2013-06-01 19:45:44.624454691 -0500
32
+@@ -636,11 +636,11 @@
33
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
34
+ SUBDIRS = \
35
+ 	gst-libs gst sys ext pkgconfig \
36
+-	m4 common docs tests po tools
37
++	m4 common docs tests tools
38
+ 
39
+ DIST_SUBDIRS = \
40
+ 	gst gst-libs sys ext pkgconfig \
41
+-	m4 common docs tests po tools
42
++	m4 common docs tests tools
43
+ 
44
+ 
45
+ # the MANIFEST contains all win32 related files that should be disted

+ 242
- 0
multimedia/gst1-plugins-base/Makefile Näytä tiedosto

@@ -0,0 +1,242 @@
1
+#
2
+# Copyright (C) 2008-2014 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=gst1-plugins-base
11
+PKG_VERSION:=1.2.3
12
+PKG_RELEASE:=1
13
+
14
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
15
+
16
+PKG_LICENSE:=LGPLv2 GPLv2
17
+PKG_LICENSE_FILE:=COPYING.LIB COPYING
18
+
19
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION)
20
+PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz
21
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/
22
+PKG_MD5SUM:=17aeabfbcd232526f50c9bee375f1b97
23
+
24
+PKG_BUILD_DEPENDS:= gstreamer1 liboil
25
+PKG_CONFIG_DEPENDS:= \
26
+	CONFIG_PACKAGE_gst1-mod-alsa \
27
+	CONFIG_PACKAGE_gst1-mod-app \
28
+	CONFIG_PACKAGE_gst1-mod-audioconvert \
29
+	CONFIG_PACKAGE_gst1-mod-audiorate \
30
+	CONFIG_PACKAGE_gst1-mod-audioresample \
31
+	CONFIG_PACKAGE_gst1-mod-audiotestsrc \
32
+	CONFIG_PACKAGE_gst1-mod-gio \
33
+	CONFIG_PACKAGE_gst1-mod-ogg \
34
+	CONFIG_PACKAGE_gst1-mod-tcp \
35
+	CONFIG_PACKAGE_gst1-mod-theora \
36
+	CONFIG_PACKAGE_gst1-mod-videotestsrc \
37
+	CONFIG_PACKAGE_gst1-mod-volume \
38
+	CONFIG_PACKAGE_gst1-mod-vorbis \
39
+
40
+PKG_FIXUP:=autoreconf
41
+PKG_INSTALL:=1
42
+
43
+include $(INCLUDE_DIR)/package.mk
44
+include $(INCLUDE_DIR)/nls.mk
45
+
46
+define Package/gstreamer1/Default
47
+  CATEGORY:=Multimedia
48
+  SECTION:=multimedia
49
+  TITLE:=GStreamer
50
+  URL:=http://gstreamer.freedesktop.org/
51
+  DEPENDS:= $(ICONV_DEPENDS)
52
+endef
53
+
54
+define Package/gstreamer1/description/Default
55
+ GStreamer open source multimedia framework
56
+endef
57
+
58
+
59
+define Package/gst1-plugins-base
60
+$(call Package/gstreamer1/Default)
61
+  TITLE+= plugins collection (base)
62
+  DEPENDS+= $(GST_DEPENDS)
63
+endef
64
+
65
+define Package/gts1-plugins-base/description
66
+$(call Package/gstreamer1/description/Default)
67
+ .
68
+ This meta package contains only dependencies to the other libraries and
69
+ plugins from the base plugins collection.
70
+endef
71
+
72
+
73
+GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
74
+
75
+GST_VERSION:=1.0
76
+
77
+CONFIGURE_ARGS += \
78
+	--disable-debug \
79
+	--disable-examples \
80
+	\
81
+	$(call GST_COND_SELECT,alsa) \
82
+	--disable-alsa-test \
83
+	$(call GST_COND_SELECT,app) \
84
+	$(call GST_COND_SELECT,audioconvert) \
85
+	$(call GST_COND_SELECT,audiorate) \
86
+	$(call GST_COND_SELECT,audioresample) \
87
+	$(call GST_COND_SELECT,audiotestsrc) \
88
+	--disable-cdparanoia \
89
+	--disable-ffmpegcolorspace \
90
+	--disable-freetypetest \
91
+	$(call GST_COND_SELECT,gio) \
92
+	--disable-gnome_vfs \
93
+	--disable-gst_v4l \
94
+	--disable-libvisual \
95
+	$(call GST_COND_SELECT,ogg) \
96
+	--disable-oggtest \
97
+	--disable-pango \
98
+	--disable-subparse \
99
+	$(call GST_COND_SELECT,tcp) \
100
+	$(call GST_COND_SELECT,theora) \
101
+	--disable-videorate \
102
+	--disable-videoscale \
103
+	$(call GST_COND_SELECT,videotestsrc) \
104
+	$(call GST_COND_SELECT,volume) \
105
+	$(call GST_COND_SELECT,vorbis) \
106
+	--disable-vorbistest \
107
+	--disable-x \
108
+	--disable-xshm \
109
+	--disable-xvideo \
110
+	\
111
+	--without-libiconv-prefix \
112
+	--without-libintl-prefix \
113
+	--without-x \
114
+	\
115
+	--with-audioresample-format=int \
116
+
117
+EXTRA_LDFLAGS+= \
118
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
119
+	$(if $(ICONV_FULL),-liconv) \
120
+
121
+
122
+define Build/InstallDev
123
+	$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
124
+	( cd $(PKG_INSTALL_DIR); $(CP) \
125
+		./usr/include/gstreamer-$(GST_VERSION)/* \
126
+		$(1)/usr/include/gstreamer-$(GST_VERSION)/ \
127
+	)
128
+	$(INSTALL_DIR) $(1)/usr/lib
129
+	( cd $(PKG_INSTALL_DIR); $(CP) \
130
+		./usr/lib/libgst*-$(GST_VERSION).{la,so*} \
131
+		$(1)/usr/lib/ \
132
+	)
133
+	$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
134
+	( cd $(PKG_INSTALL_DIR); $(CP) \
135
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
136
+		$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
137
+	)
138
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
139
+	( cd $(PKG_INSTALL_DIR); $(CP) \
140
+		./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
141
+		$(1)/usr/lib/pkgconfig/ \
142
+	)
143
+endef
144
+
145
+
146
+define Package/gst1-plugins-base/install
147
+	/bin/true
148
+endef
149
+
150
+
151
+# 1: short name
152
+# 2: description
153
+# 3: dependencies on other gstreamer libraries (short name)
154
+# 4: dependencies on other packages
155
+define GstBuildLibrary
156
+
157
+  GST_DEPENDS += +libgst1$(1)
158
+
159
+  define Package/libgst1$(1)
160
+    $(call Package/gstreamer1/Default)
161
+    TITLE+= $(2) library (base)
162
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
163
+  endef
164
+
165
+  define Package/libgst1$(1)/description
166
+   $(call Package/gstreamer1/description/Default)
167
+   .
168
+   This package contains the GStreamer $(2) library.
169
+  endef
170
+
171
+  define Package/libgst1$(1)/install
172
+	$(INSTALL_DIR) $$(1)/usr/lib
173
+	( cd $(PKG_INSTALL_DIR); $(CP) \
174
+		./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
175
+		$$(1)/usr/lib/ \
176
+	)
177
+  endef
178
+
179
+  $$(eval $$(call BuildPackage,libgst1$(1)))
180
+endef
181
+
182
+$(eval $(call GstBuildLibrary,app,app,,))
183
+$(eval $(call GstBuildLibrary,audio,audio,tag,))
184
+$(eval $(call GstBuildLibrary,fft,FFT,,))
185
+$(eval $(call GstBuildLibrary,pbutils,utils,audio tag video,))
186
+$(eval $(call GstBuildLibrary,riff,RIFF media,audio tag,,))
187
+$(eval $(call GstBuildLibrary,rtp,RTP,,))
188
+$(eval $(call GstBuildLibrary,rtsp,RTSP,,))
189
+$(eval $(call GstBuildLibrary,sdp,SDP,,))
190
+$(eval $(call GstBuildLibrary,tag,tag support,,))
191
+$(eval $(call GstBuildLibrary,video,video,,))
192
+
193
+
194
+# 1: short name
195
+# 2: description
196
+# 3: dependencies on other gstreamer libraries (short name)
197
+# 4: dependencies on other gstreamer plugins (short name)
198
+# 5: dependencies on other packages
199
+define GstBuildPlugin
200
+
201
+  GST_DEPENDS += +gst1-mod-$(1)
202
+
203
+  define Package/gst1-mod-$(1)
204
+    $(call Package/gstreamer1/Default)
205
+    TITLE+= $(2) plugin (base)
206
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
207
+  endef
208
+
209
+  define Package/gst1-mod-$(1)/description
210
+   $(call Package/gstreamer1/description/Default)
211
+   .
212
+   This package contains the GStreamer $(2) plugin.
213
+  endef
214
+
215
+  define Package/gst1-mod-$(1)/install
216
+	$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
217
+	( cd $(PKG_INSTALL_DIR); $(CP) \
218
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
219
+		$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
220
+	)
221
+  endef
222
+
223
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
224
+endef
225
+
226
+$(eval $(call GstBuildPlugin,alsa,ALSA,audio tag,,+alsa-lib))
227
+$(eval $(call GstBuildPlugin,app,app,app,,))
228
+$(eval $(call GstBuildPlugin,audioconvert,audio format conversion,audio,,))
229
+$(eval $(call GstBuildPlugin,audiorate,audio rate adjusting,audio tag,,))
230
+$(eval $(call GstBuildPlugin,audioresample,audio resampling,audio tag,,))
231
+$(eval $(call GstBuildPlugin,audiotestsrc,audio test,audio tag controller,,))
232
+$(eval $(call GstBuildPlugin,playback,media decoder (v2),pbutils,,))
233
+$(eval $(call GstBuildPlugin,gio,GIO,,,))
234
+$(eval $(call GstBuildPlugin,ogg,Ogg,riff tag pbutils video,,+libogg))
235
+$(eval $(call GstBuildPlugin,tcp,TCP,,,))
236
+$(eval $(call GstBuildPlugin,theora,Theora,tag video,,+libogg +libtheora))
237
+$(eval $(call GstBuildPlugin,typefindfunctions,'typefind' functions,audio pbutils tag video,,))
238
+$(eval $(call GstBuildPlugin,videotestsrc,video test,video,,+liboil))
239
+$(eval $(call GstBuildPlugin,volume,volume,audio controller,,+liboil))
240
+$(eval $(call GstBuildPlugin,vorbis,Vorbis,audio tag,ogg,+libvorbis))
241
+
242
+$(eval $(call BuildPackage,gst1-plugins-base))

+ 36
- 0
multimedia/gst1-plugins-base/patches/001-no_docs.patch Näytä tiedosto

@@ -0,0 +1,36 @@
1
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
2
+--- gst-plugins-base-1.0.7-vanilla/Makefile.am	2013-06-01 22:38:30.495678685 -0500
3
++++ gst-plugins-base-1.0.7/Makefile.am	2013-06-01 22:39:04.374335121 -0500
4
+@@ -12,14 +12,12 @@
5
+ 	gst sys $(SUBDIRS_EXT) 	\
6
+ 	tools 			\
7
+ 	tests 			\
8
+-	docs			\
9
+ 	po 			\
10
+ 	common 			\
11
+ 	m4
12
+ 
13
+ DIST_SUBDIRS = 			\
14
+ 	pkgconfig		\
15
+-	docs			\
16
+ 	gst-libs		\
17
+ 	gst sys ext		\
18
+ 	tools 			\
19
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
20
+--- gst-plugins-base-1.0.7-vanilla/Makefile.in	2013-06-01 22:38:30.527677416 -0500
21
++++ gst-plugins-base-1.0.7/Makefile.in	2013-06-01 22:38:59.110543873 -0500
22
+@@ -493,14 +493,12 @@
23
+ 	gst sys $(SUBDIRS_EXT) 	\
24
+ 	tools 			\
25
+ 	tests 			\
26
+-	docs			\
27
+ 	po 			\
28
+ 	common 			\
29
+ 	m4
30
+ 
31
+ DIST_SUBDIRS = \
32
+ 	pkgconfig		\
33
+-	docs			\
34
+ 	gst-libs		\
35
+ 	gst sys ext		\
36
+ 	tools 			\

+ 38
- 0
multimedia/gst1-plugins-base/patches/002-no_tests.patch Näytä tiedosto

@@ -0,0 +1,38 @@
1
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
2
+--- gst-plugins-base-1.0.7-vanilla/Makefile.am	2013-06-01 19:49:37.986260708 -0500
3
++++ gst-plugins-base-1.0.7/Makefile.am	2013-06-01 19:49:54.998590479 -0500
4
+@@ -11,7 +11,6 @@
5
+ 	gst-libs 		\
6
+ 	gst sys $(SUBDIRS_EXT) 	\
7
+ 	tools 			\
8
+-	tests 			\
9
+ 	po 			\
10
+ 	common 			\
11
+ 	m4
12
+@@ -21,7 +20,6 @@
13
+ 	gst-libs		\
14
+ 	gst sys ext		\
15
+ 	tools 			\
16
+-	tests 			\
17
+ 	po 			\
18
+ 	common 			\
19
+ 	m4
20
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
21
+--- gst-plugins-base-1.0.7-vanilla/Makefile.in	2013-06-01 19:49:37.987260668 -0500
22
++++ gst-plugins-base-1.0.7/Makefile.in	2013-06-01 19:49:58.374457466 -0500
23
+@@ -492,7 +492,6 @@
24
+ 	gst-libs 		\
25
+ 	gst sys $(SUBDIRS_EXT) 	\
26
+ 	tools 			\
27
+-	tests 			\
28
+ 	po 			\
29
+ 	common 			\
30
+ 	m4
31
+@@ -502,7 +501,6 @@
32
+ 	gst-libs		\
33
+ 	gst sys ext		\
34
+ 	tools 			\
35
+-	tests 			\
36
+ 	po 			\
37
+ 	common 			\
38
+ 	m4

+ 49
- 0
multimedia/gst1-plugins-base/patches/003-no_translations.patch Näytä tiedosto

@@ -0,0 +1,49 @@
1
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/configure.ac gst-plugins-base-1.0.7/configure.ac
2
+--- gst-plugins-base-1.0.7-vanilla/configure.ac	2013-06-01 19:48:21.931257133 -0500
3
++++ gst-plugins-base-1.0.7/configure.ac	2013-06-01 19:51:30.371829534 -0500
4
+@@ -923,7 +923,6 @@
5
+ docs/libs/Makefile
6
+ docs/plugins/Makefile
7
+ docs/version.entities
8
+-po/Makefile.in
9
+ common/Makefile
10
+ common/m4/Makefile
11
+ m4/Makefile
12
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
13
+--- gst-plugins-base-1.0.7-vanilla/Makefile.am	2013-06-01 19:50:30.232202309 -0500
14
++++ gst-plugins-base-1.0.7/Makefile.am	2013-06-01 19:50:58.973069965 -0500
15
+@@ -11,7 +11,6 @@
16
+ 	gst-libs 		\
17
+ 	gst sys $(SUBDIRS_EXT) 	\
18
+ 	tools 			\
19
+-	po 			\
20
+ 	common 			\
21
+ 	m4
22
+ 
23
+@@ -20,7 +19,6 @@
24
+ 	gst-libs		\
25
+ 	gst sys ext		\
26
+ 	tools 			\
27
+-	po 			\
28
+ 	common 			\
29
+ 	m4
30
+ 
31
+diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
32
+--- gst-plugins-base-1.0.7-vanilla/Makefile.in	2013-06-01 19:50:30.233202273 -0500
33
++++ gst-plugins-base-1.0.7/Makefile.in	2013-06-01 19:51:22.796130711 -0500
34
+@@ -492,7 +492,6 @@
35
+ 	gst-libs 		\
36
+ 	gst sys $(SUBDIRS_EXT) 	\
37
+ 	tools 			\
38
+-	po 			\
39
+ 	common 			\
40
+ 	m4
41
+ 
42
+@@ -501,7 +500,6 @@
43
+ 	gst-libs		\
44
+ 	gst sys ext		\
45
+ 	tools 			\
46
+-	po 			\
47
+ 	common 			\
48
+ 	m4
49
+ 

+ 202
- 0
multimedia/gst1-plugins-good/Makefile Näytä tiedosto

@@ -0,0 +1,202 @@
1
+## Copyright (C) 2009-2014 OpenWrt.org
2
+#
3
+# This is free software, licensed under the GNU General Public License v2.
4
+# See /LICENSE for more information.
5
+#
6
+
7
+include $(TOPDIR)/rules.mk
8
+
9
+PKG_NAME:=gst1-plugins-good
10
+PKG_VERSION:=1.2.3
11
+PKG_RELEASE:=1
12
+
13
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
14
+
15
+PKG_LICENSE:=LGPLv2
16
+PKG_LICENSE_FILE:=COPYING
17
+
18
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION)
19
+PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz
20
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
21
+PKG_MD5SUM:=1a1f96bc27ad446e559474299160a9a8
22
+
23
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
24
+
25
+PKG_FIXUP:=autoreconf
26
+PKG_INSTALL:=1
27
+
28
+include $(INCLUDE_DIR)/package.mk
29
+include $(INCLUDE_DIR)/nls.mk
30
+
31
+define Package/gstreamer1/Default
32
+  CATEGORY:=Multimedia
33
+  SECTION:=multimedia
34
+  TITLE:=GStreamer
35
+  URL:=http://gstreamer.freedesktop.org/
36
+  DEPENDS:= $(ICONV_DEPENDS)
37
+endef
38
+
39
+define Package/gstreamer1/description/Default
40
+ GStreamer open source multimedia framework
41
+endef
42
+
43
+
44
+define Package/gst1-plugins-good
45
+$(call Package/gstreamer1/Default)
46
+  TITLE+= plugins collection (good)
47
+  DEPENDS+= $(GST_DEPENDS)
48
+endef
49
+
50
+define Package/gts-plugins-good/description
51
+$(call Package/gstreamer1/description/Default)
52
+ .
53
+ This meta package contains only dependencies to the other plugins from
54
+ the good plugins collection.
55
+endef
56
+
57
+
58
+GST_VERSION:=1.0
59
+
60
+CONFIGURE_ARGS += \
61
+	--disable-debug \
62
+	--disable-examples \
63
+	\
64
+	--disable-aalib \
65
+	--disable-annodex \
66
+	--disable-bz2 \
67
+	--disable-cairo \
68
+	--disable-directsound \
69
+	--disable-dv1394 \
70
+	--disable-esd \
71
+	--disable-gconf \
72
+	--disable-gconftool \
73
+	--disable-gdk_pixbuf \
74
+	--disable-gst_v4l2 \
75
+	--disable-hal \
76
+	--disable-libcaca \
77
+	--disable-libdv \
78
+	--disable-osx_audio \
79
+	--disable-osx_video \
80
+	--disable-pulse \
81
+	--disable-qtdemux \
82
+	--disable-rtspmanager \
83
+	--disable-shout2 \
84
+	--disable-sunaudio \
85
+	--disable-wavpack \
86
+	--disable-x \
87
+	--disable-xshm \
88
+	--disable-xvideo \
89
+	--disable-y4m \
90
+	--disable-zlib \
91
+	\
92
+	--without-libiconv-prefix \
93
+	--without-libintl-prefix \
94
+	--without-x \
95
+
96
+EXTRA_LDFLAGS+= \
97
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
98
+	$(if $(ICONV_FULL),-liconv) \
99
+
100
+
101
+define Package/gst1-plugins-good/install
102
+	/bin/true
103
+endef
104
+
105
+
106
+# 1: short name
107
+# 2: description
108
+# 3: dependencies on other gstreamer libraries (short name)
109
+# 4: dependencies on other gstreamer plugins (short name)
110
+# 5: dependencies on other packages
111
+define GstBuildPlugin
112
+
113
+  GST_DEPENDS += +gst1-mod-$(1)
114
+
115
+  define Package/gst1-mod-$(1)
116
+    $(call Package/gstreamer1/Default)
117
+    TITLE+= $(2) plugin (good)
118
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
119
+  endef
120
+
121
+  define Package/gst1-mod-$(1)/description
122
+   $(call Package/gstreamer1/description/Default)
123
+   .
124
+   This package contains the GStreamer $(2) plugin.
125
+  endef
126
+
127
+  define Package/gst1-mod-$(1)/install
128
+	$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
129
+	( cd $(PKG_INSTALL_DIR); $(CP) \
130
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
131
+		$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
132
+	)
133
+  endef
134
+
135
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
136
+endef
137
+
138
+#$(eval $(call GstBuildPlugin,1394,IEEE 1394 support,,,))
139
+$(eval $(call GstBuildPlugin,alaw,alaw codec,audio,,))
140
+$(eval $(call GstBuildPlugin,alpha,alpha support,video,,))
141
+$(eval $(call GstBuildPlugin,alphacolor,alphacolor support,video,,))
142
+$(eval $(call GstBuildPlugin,apetag,apetag support,audio pbutils tag video,,))
143
+$(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
144
+$(eval $(call GstBuildPlugin,audioparsers,audioparsers,audio tag pbutils,,))
145
+$(eval $(call GstBuildPlugin,auparse,auparse,audio tag pbutils,,))
146
+$(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
147
+$(eval $(call GstBuildPlugin,avi,avi support,audio riff tag video,,))
148
+$(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
149
+$(eval $(call GstBuildPlugin,debug,debugging,,,))
150
+$(eval $(call GstBuildPlugin,deinterlace,deinterlace support,video,,))
151
+$(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,))
152
+#$(eval $(call GstBuildPlugin,dv,dv support,audio tag video,,))
153
+$(eval $(call GstBuildPlugin,effectv,effectvsupport,video,,))
154
+$(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
155
+$(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
156
+$(eval $(call GstBuildPlugin,flv,flv codec,audio pbutils tag video,,))
157
+$(eval $(call GstBuildPlugin,flxdec,flx codec,,,))
158
+#$(eval $(call GstBuildPlugin,gdkpixbuf,gdkpixbuf support,video,,))
159
+$(eval $(call GstBuildPlugin,goom2k1,goom support,,,))
160
+$(eval $(call GstBuildPlugin,goom,goom support,,,))
161
+$(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
162
+$(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
163
+$(eval $(call GstBuildPlugin,imagefreeze,imagefreeze support,,,))
164
+$(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
165
+$(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,))
166
+#$(eval $(call GstBuildPlugin,jack,jack support,audio,,))
167
+$(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg))
168
+$(eval $(call GstBuildPlugin,level,audio level,audio,,))
169
+$(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,))
170
+$(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,))
171
+$(eval $(call GstBuildPlugin,multifile,multiple files access,video,,))
172
+$(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
173
+$(eval $(call GstBuildPlugin,navigationtest,navigationtest support,video,,))
174
+$(eval $(call GstBuildPlugin,oss4audio,OSS 4 audio support,audio tag,,))
175
+$(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
176
+$(eval $(call GstBuildPlugin,png,png support,video,,+libpng))
177
+#$(eval $(call GstBuildPlugin,pulse,pulse support,audio pbutils tag video,,))
178
+$(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
179
+$(eval $(call GstBuildPlugin,rtpmanager,RTP manager,audio net rtp tag pbutils video,,))
180
+$(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils video,,))
181
+$(eval $(call GstBuildPlugin,rtsp,RTSP,net rtp rtsp sdp,,))
182
+$(eval $(call GstBuildPlugin,shapewipe,shapewipe support,video,,))
183
+#$(eval $(call GstBuildPlugin,shout2,shout2 support,,,))
184
+$(eval $(call GstBuildPlugin,smpte,smpte support,video,,))
185
+$(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio tag,,+libsoup))
186
+$(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
187
+#$(eval $(call GstBuildPlugin,speex,speex support,audio tag,,))
188
+#$(eval $(call GstBuildPlugin,sty4menc,sty4menc support,video,,))
189
+#$(eval $(call GstBuildPlugin,taglib,taglib support,tag,,))
190
+$(eval $(call GstBuildPlugin,udp,UDP,net,,))
191
+#$(eval $(call GstBuildPlugin,video4linux2,video4linux2 support,video,,))
192
+$(eval $(call GstBuildPlugin,videobox,videobox support,video,,))
193
+$(eval $(call GstBuildPlugin,videocrop,videocrop support,video,,))
194
+$(eval $(call GstBuildPlugin,videofilter,videofilter support,video,,))
195
+$(eval $(call GstBuildPlugin,videomixer,videomixer support,video,,))
196
+#$(eval $(call GstBuildPlugin,vpx,vpx support,tag video,,))
197
+$(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
198
+#$(eval $(call GstBuildPlugin,wavpack,Wav packer,audio riff tag,,))
199
+$(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
200
+#$(eval $(call GstBuildPlugin,ximagesrc,ximagesrc support,video,,))
201
+
202
+$(eval $(call BuildPackage,gst1-plugins-good))

+ 22
- 0
multimedia/gst1-plugins-good/patches/001-no_docs.patch Näytä tiedosto

@@ -0,0 +1,22 @@
1
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
2
+--- gst-plugins-good-1.0.7-vanilla/Makefile.am	2013-06-01 19:54:57.652601127 -0500
3
++++ gst-plugins-good-1.0.7/Makefile.am	2013-06-01 19:55:15.281902215 -0500
4
+@@ -3,7 +3,6 @@
5
+ ALWAYS_SUBDIRS =		\
6
+ 	gst sys ext 		\
7
+ 	tests			\
8
+-	docs			\
9
+ 	po			\
10
+ 	common			\
11
+ 	m4			\
12
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
13
+--- gst-plugins-good-1.0.7-vanilla/Makefile.in	2013-06-01 19:54:57.692599541 -0500
14
++++ gst-plugins-good-1.0.7/Makefile.in	2013-06-01 19:55:23.025595255 -0500
15
+@@ -523,7 +523,6 @@
16
+ ALWAYS_SUBDIRS = \
17
+ 	gst sys ext 		\
18
+ 	tests			\
19
+-	docs			\
20
+ 	po			\
21
+ 	common			\
22
+ 	m4			\

+ 22
- 0
multimedia/gst1-plugins-good/patches/002-no_tests.patch Näytä tiedosto

@@ -0,0 +1,22 @@
1
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
2
+--- gst-plugins-good-1.0.7-vanilla/Makefile.am	2013-06-01 19:56:00.995090476 -0500
3
++++ gst-plugins-good-1.0.7/Makefile.am	2013-06-01 19:56:12.911618318 -0500
4
+@@ -2,7 +2,6 @@
5
+ 
6
+ ALWAYS_SUBDIRS =		\
7
+ 	gst sys ext 		\
8
+-	tests			\
9
+ 	po			\
10
+ 	common			\
11
+ 	m4			\
12
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
13
+--- gst-plugins-good-1.0.7-vanilla/Makefile.in	2013-06-01 19:56:00.995090476 -0500
14
++++ gst-plugins-good-1.0.7/Makefile.in	2013-06-01 19:56:16.655469989 -0500
15
+@@ -522,7 +522,6 @@
16
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
17
+ ALWAYS_SUBDIRS = \
18
+ 	gst sys ext 		\
19
+-	tests			\
20
+ 	po			\
21
+ 	common			\
22
+ 	m4			\

+ 33
- 0
multimedia/gst1-plugins-good/patches/003-no_translations.patch Näytä tiedosto

@@ -0,0 +1,33 @@
1
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/configure.ac gst-plugins-good-1.0.7/configure.ac
2
+--- gst-plugins-good-1.0.7-vanilla/configure.ac	2013-06-01 19:56:23.004218467 -0500
3
++++ gst-plugins-good-1.0.7/configure.ac	2013-06-01 19:56:52.919033496 -0500
4
+@@ -1157,7 +1157,6 @@
5
+ sys/v4l2/Makefile
6
+ sys/waveform/Makefile
7
+ sys/ximage/Makefile
8
+-po/Makefile.in
9
+ tests/Makefile
10
+ tests/check/Makefile
11
+ tests/examples/Makefile
12
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
13
+--- gst-plugins-good-1.0.7-vanilla/Makefile.am	2013-06-01 19:56:23.043216922 -0500
14
++++ gst-plugins-good-1.0.7/Makefile.am	2013-06-01 19:56:43.671399777 -0500
15
+@@ -2,7 +2,6 @@
16
+ 
17
+ ALWAYS_SUBDIRS =		\
18
+ 	gst sys ext 		\
19
+-	po			\
20
+ 	common			\
21
+ 	m4			\
22
+ 	pkgconfig
23
+diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
24
+--- gst-plugins-good-1.0.7-vanilla/Makefile.in	2013-06-01 19:56:23.043216922 -0500
25
++++ gst-plugins-good-1.0.7/Makefile.in	2013-06-01 19:56:47.703240080 -0500
26
+@@ -522,7 +522,6 @@
27
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
28
+ ALWAYS_SUBDIRS = \
29
+ 	gst sys ext 		\
30
+-	po			\
31
+ 	common			\
32
+ 	m4			\
33
+ 	pkgconfig

+ 142
- 0
multimedia/gst1-plugins-ugly/Makefile Näytä tiedosto

@@ -0,0 +1,142 @@
1
+#
2
+# Copyright (C) 2009-2014 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=gst1-plugins-ugly
11
+PKG_VERSION:=1.2.3
12
+PKG_RELEASE:=1
13
+
14
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
15
+
16
+PKG_LICENSE:=LGPLv2
17
+PKG_LICENSE_FILE:=COPYING
18
+
19
+PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION)
20
+PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz
21
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/
22
+PKG_MD5SUM:=7ae60e2f759f58f32af5fcdc3c9193c4
23
+
24
+PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
25
+PKG_CONFIG_DEPENDS:= \
26
+	CONFIG_PACKAGE_gst1-mod-asf \
27
+	CONFIG_PACKAGE_gst1-mod-lame \
28
+	CONFIG_PACKAGE_gst1-mod-mad \
29
+	CONFIG_PACKAGE_gst1-mod-mpeg2dec \
30
+
31
+PKG_FIXUP:=autoreconf
32
+PKG_INSTALL:=1
33
+
34
+include $(INCLUDE_DIR)/package.mk
35
+include $(INCLUDE_DIR)/nls.mk
36
+
37
+define Package/gstreamer1/Default
38
+  CATEGORY:=Multimedia
39
+  SECTION:=multimedia
40
+  TITLE:=GStreamer
41
+  URL:=http://gstreamer.freedesktop.org/
42
+  DEPENDS:= $(ICONV_DEPENDS)
43
+endef
44
+
45
+define Package/gstreamer1/description/Default
46
+ GStreamer open source multimedia framework
47
+endef
48
+
49
+
50
+define Package/gst1-plugins-ugly
51
+$(call Package/gstreamer1/Default)
52
+  TITLE+= plugins collection (ugly)
53
+  DEPENDS+= $(GST_DEPENDS)
54
+endef
55
+
56
+define Package/gts-plugins-ugly/description
57
+$(call Package/gstreamer1/description/Default)
58
+ .
59
+ This meta package contains only dependencies to the other plugins from
60
+ the ugly plugins collection.
61
+endef
62
+
63
+
64
+GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
65
+
66
+GST_VERSION:=1.0
67
+
68
+CONFIGURE_ARGS += \
69
+	--disable-debug \
70
+	--disable-examples \
71
+	\
72
+	--disable-a52dec \
73
+	--disable-amrnb \
74
+	--disable-amrwb \
75
+	$(call GST_COND_SELECT,asf) \
76
+	--disable-cdio \
77
+	--disable-dvdlpcmdec \
78
+	--disable-dvdread \
79
+	--disable-dvdsub \
80
+	--disable-iec958 \
81
+	$(call GST_COND_SELECT,lame) \
82
+	$(call GST_COND_SELECT,mad) \
83
+	$(call GST_COND_SELECT,mpeg2dec) \
84
+	--disable-mpegaudioparse \
85
+	--disable-mpegstream \
86
+	--disable-realmedia \
87
+	--disable-sidplay \
88
+	--disable-synaesthesia \
89
+	--disable-twolame \
90
+	--disable-x264 \
91
+	\
92
+	--without-libiconv-prefix \
93
+	--without-libintl-prefix \
94
+
95
+EXTRA_LDFLAGS+= \
96
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
97
+	$(if $(ICONV_FULL),-liconv) \
98
+
99
+
100
+define Package/gst1-plugins-ugly/install
101
+	/bin/true
102
+endef
103
+
104
+
105
+# 1: short name
106
+# 2: description
107
+# 3: dependencies on other gstreamer libraries (short name)
108
+# 4: dependencies on other gstreamer plugins (short name)
109
+# 5: dependencies on other packages
110
+define GstBuildPlugin
111
+
112
+  GST_DEPENDS += +gst1-mod-$(1)
113
+
114
+  define Package/gst1-mod-$(1)
115
+    $(call Package/gstreamer1/Default)
116
+    TITLE+= $(2) plugin (ugly)
117
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
118
+  endef
119
+
120
+  define Package/gst1-mod-$(1)/description
121
+   $(call Package/gstreamer1/description/Default)
122
+   .
123
+   This package contains the GStreamer $(2) plugin.
124
+  endef
125
+
126
+  define Package/gst1-mod-$(1)/install
127
+	$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
128
+	( cd $(PKG_INSTALL_DIR); $(CP) \
129
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
130
+		$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
131
+	)
132
+  endef
133
+
134
+  $$(eval $$(call BuildPackage,gst1-mod-$(1)))
135
+endef
136
+
137
+$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,))
138
+$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
139
+$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag +libmad))
140
+$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2))
141
+
142
+$(eval $(call BuildPackage,gst1-plugins-ugly))

+ 24
- 0
multimedia/gst1-plugins-ugly/patches/001-no_docs.patch Näytä tiedosto

@@ -0,0 +1,24 @@
1
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
2
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am	2013-06-01 19:58:12.400886469 -0500
3
++++ gst-plugins-ugly-1.0.7/Makefile.am	2013-06-01 19:58:33.306059047 -0500
4
+@@ -1,7 +1,7 @@
5
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
6
+ 
7
+ SUBDIRS = \
8
+-	gst-libs gst ext docs m4 tests common pkgconfig po
9
++	gst-libs gst ext m4 tests common pkgconfig po
10
+ 
11
+ # include before EXTRA_DIST for win32 assignment
12
+ include $(top_srcdir)/common/win32.mak
13
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
14
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in	2013-06-01 19:58:12.412885994 -0500
15
++++ gst-plugins-ugly-1.0.7/Makefile.in	2013-06-01 19:58:39.810801615 -0500
16
+@@ -453,7 +453,7 @@
17
+ top_srcdir = @top_srcdir@
18
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
19
+ SUBDIRS = \
20
+-	gst-libs gst ext docs m4 tests common pkgconfig po
21
++	gst-libs gst ext m4 tests common pkgconfig po
22
+ 
23
+ 
24
+ # the MANIFEST contains all win32 related files that should be disted

+ 24
- 0
multimedia/gst1-plugins-ugly/patches/002-no_tests.patch Näytä tiedosto

@@ -0,0 +1,24 @@
1
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
2
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am	2013-06-01 19:59:16.988330482 -0500
3
++++ gst-plugins-ugly-1.0.7/Makefile.am	2013-06-01 19:59:28.455876771 -0500
4
+@@ -1,7 +1,7 @@
5
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
6
+ 
7
+ SUBDIRS = \
8
+-	gst-libs gst ext m4 tests common pkgconfig po
9
++	gst-libs gst ext m4 common pkgconfig po
10
+ 
11
+ # include before EXTRA_DIST for win32 assignment
12
+ include $(top_srcdir)/common/win32.mak
13
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
14
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in	2013-06-01 19:59:16.988330482 -0500
15
++++ gst-plugins-ugly-1.0.7/Makefile.in	2013-06-01 19:59:39.840426385 -0500
16
+@@ -453,7 +453,7 @@
17
+ top_srcdir = @top_srcdir@
18
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
19
+ SUBDIRS = \
20
+-	gst-libs gst ext m4 tests common pkgconfig po
21
++	gst-libs gst ext m4 common pkgconfig po
22
+ 
23
+ 
24
+ # the MANIFEST contains all win32 related files that should be disted

+ 35
- 0
multimedia/gst1-plugins-ugly/patches/003-no_translations.patch Näytä tiedosto

@@ -0,0 +1,35 @@
1
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/configure.ac gst-plugins-ugly-1.0.7/configure.ac
2
+--- gst-plugins-ugly-1.0.7-vanilla/configure.ac	2013-06-01 19:59:46.199174835 -0500
3
++++ gst-plugins-ugly-1.0.7/configure.ac	2013-06-01 20:00:29.709453831 -0500
4
+@@ -479,7 +479,6 @@
5
+ tests/Makefile
6
+ tests/check/Makefile
7
+ m4/Makefile
8
+-po/Makefile.in
9
+ pkgconfig/Makefile
10
+ pkgconfig/gstreamer-plugins-ugly-uninstalled.pc
11
+ gst-plugins-ugly.spec
12
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
13
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am	2013-06-01 19:59:46.210174399 -0500
14
++++ gst-plugins-ugly-1.0.7/Makefile.am	2013-06-01 20:00:11.351179921 -0500
15
+@@ -1,7 +1,7 @@
16
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
17
+ 
18
+ SUBDIRS = \
19
+-	gst-libs gst ext m4 common pkgconfig po
20
++	gst-libs gst ext m4 common pkgconfig
21
+ 
22
+ # include before EXTRA_DIST for win32 assignment
23
+ include $(top_srcdir)/common/win32.mak
24
+diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
25
+--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in	2013-06-01 19:59:46.210174399 -0500
26
++++ gst-plugins-ugly-1.0.7/Makefile.in	2013-06-01 20:00:20.222829049 -0500
27
+@@ -453,7 +453,7 @@
28
+ top_srcdir = @top_srcdir@
29
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
30
+ SUBDIRS = \
31
+-	gst-libs gst ext m4 common pkgconfig po
32
++	gst-libs gst ext m4 common pkgconfig
33
+ 
34
+ 
35
+ # the MANIFEST contains all win32 related files that should be disted

+ 195
- 0
multimedia/gstreamer1/Makefile Näytä tiedosto

@@ -0,0 +1,195 @@
1
+#
2
+# Copyright (C) 2008-2014 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
8
+include $(TOPDIR)/rules.mk
9
+
10
+PKG_NAME:=gstreamer1
11
+PKG_VERSION:=1.2.3
12
+PKG_RELEASE:=1
13
+
14
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
15
+
16
+PKG_LICENSE:=LGPLv2
17
+PKG_LICENSE_FILE:=COPYING
18
+
19
+PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
20
+PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
21
+PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
22
+PKG_MD5SUM:=8155b9c7574ccaa361cc504e8e0e72dc
23
+
24
+PKG_FIXUP:=autoreconf
25
+PKG_REMOVE_FILES:=autogen.sh aclocal.m4
26
+
27
+PKG_INSTALL:=1
28
+
29
+include $(INCLUDE_DIR)/package.mk
30
+include $(INCLUDE_DIR)/nls.mk
31
+
32
+define Package/gstreamer1/Default
33
+  CATEGORY:=Multimedia
34
+  SECTION:=multimedia
35
+  TITLE:=GStreamer
36
+  URL:=http://gstreamer.freedesktop.org/
37
+  DEPENDS:= $(ICONV_DEPENDS) $(INTL_DEPENDS)
38
+endef
39
+
40
+define Package/gstreamer1/description/Default
41
+ GStreamer open source multimedia framework
42
+endef
43
+
44
+
45
+define Package/gstreamer1
46
+$(call Package/gstreamer1/Default)
47
+  TITLE+= framework
48
+  DEPENDS+= +libgstreamer1 \
49
+	+libgst1check \
50
+	+libgst1controller \
51
+	+libgst1net
52
+endef
53
+
54
+define Package/gstreamer1/description
55
+$(call Package/gstreamer1/description/Default)
56
+ .
57
+ This meta package contains only dependencies on the other GStreamer
58
+ componenents.
59
+endef
60
+
61
+
62
+define Package/gstreamer1-utils
63
+$(call Package/gstreamer1/Default)
64
+  TITLE+= utilities
65
+  DEPENDS+= +libgstreamer1
66
+endef
67
+
68
+define Package/gstreamer1-utils/description
69
+$(call Package/gstreamer1/description/Default)
70
+ .
71
+ This package contains the GStreamer utilities.
72
+endef
73
+
74
+
75
+define Package/libgstreamer1
76
+$(call Package/gstreamer1/Default)
77
+  TITLE+= library (core)
78
+  DEPENDS+= +glib2 +libpthread +libxml2
79
+endef
80
+
81
+define Package/libgstreamer1/description
82
+$(call Package/gstreamer1/description/Default)
83
+ .
84
+ This package contains the GStreamer core library.
85
+endef
86
+  
87
+
88
+GST_VERSION:=1.0
89
+
90
+CONFIGURE_ARGS += \
91
+	--enable-static \
92
+	--disable-examples \
93
+	--disable-tests \
94
+	--disable-valgrind \
95
+	--without-libiconv-prefix \
96
+	--without-libintl-prefix \
97
+	--without-x \
98
+
99
+EXTRA_LDFLAGS+= \
100
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
101
+	$(if $(ICONV_FULL),-liconv)
102
+
103
+define Build/InstallDev
104
+	$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
105
+	( cd $(PKG_INSTALL_DIR); $(CP) \
106
+		./usr/include/gstreamer-$(GST_VERSION)/* \
107
+		$(1)/usr/include/gstreamer-$(GST_VERSION)/ \
108
+	)
109
+	$(INSTALL_DIR) $(1)/usr/lib
110
+	( cd $(PKG_INSTALL_DIR); $(CP) \
111
+		./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
112
+		$(1)/usr/lib/ \
113
+	)
114
+	$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
115
+	( cd $(PKG_INSTALL_DIR); $(CP) \
116
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
117
+		$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
118
+	)
119
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
120
+	( cd $(PKG_INSTALL_DIR); $(CP) \
121
+		./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
122
+		$(1)/usr/lib/pkgconfig/ \
123
+	)
124
+	$(INSTALL_DIR) $(2)/share/aclocal
125
+	( cd $(PKG_INSTALL_DIR); $(CP) \
126
+		./usr/share/aclocal/* \
127
+		$(2)/share/aclocal/ \
128
+	)
129
+endef
130
+
131
+define Package/gstreamer1/install
132
+	/bin/true
133
+endef
134
+
135
+define Package/gstreamer1-utils/install
136
+	$(INSTALL_DIR) $(1)/usr/bin
137
+	( cd $(PKG_INSTALL_DIR); $(CP) \
138
+		./usr/bin/gst-launch* \
139
+		./usr/bin/gst-inspect* \
140
+		./usr/bin/gst-typefind* \
141
+		$(1)/usr/bin/ \
142
+	)
143
+endef
144
+
145
+define Package/libgstreamer1/install
146
+	$(INSTALL_DIR) $(1)/usr/lib
147
+	( cd $(PKG_INSTALL_DIR); $(CP) \
148
+		./usr/lib/libgstbase-$(GST_VERSION).so.* \
149
+		./usr/lib/libgstreamer-$(GST_VERSION).so.* \
150
+		$(1)/usr/lib/ \
151
+	)
152
+	$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
153
+	( cd $(PKG_INSTALL_DIR); $(CP) \
154
+		./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
155
+		$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
156
+	)
157
+endef
158
+
159
+
160
+# 1: short name
161
+# 2: description
162
+# 3: dependencies on other gstreamer libraries (short name)
163
+# 4: dependencies on other packages
164
+define GstBuildLibrary
165
+
166
+  define Package/libgst1$(1)
167
+    $(call Package/gstreamer1/Default)
168
+    TITLE+= $(2) library (core)
169
+    DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
170
+  endef
171
+
172
+  define Package/libgst1$(1)/description
173
+   $(call Package/gstreamer1/description/Default)
174
+   .
175
+   This package contains the GStreamer $(2) library.
176
+  endef
177
+
178
+  define Package/libgst1$(1)/install
179
+	$(INSTALL_DIR) $$(1)/usr/lib
180
+	( cd $(PKG_INSTALL_DIR); $(CP) \
181
+		./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
182
+		$$(1)/usr/lib/ \
183
+	)
184
+  endef
185
+
186
+  $$(eval $$(call BuildPackage,libgst1$(1)))
187
+endef
188
+
189
+$(eval $(call GstBuildLibrary,check,check unit testing))
190
+$(eval $(call GstBuildLibrary,controller,dynamic parameter control))
191
+$(eval $(call GstBuildLibrary,net,network classes))
192
+
193
+$(eval $(call BuildPackage,libgstreamer1))
194
+$(eval $(call BuildPackage,gstreamer1))
195
+$(eval $(call BuildPackage,gstreamer1-utils))

+ 37
- 0
multimedia/gstreamer1/patches/001-no_docs.patch Näytä tiedosto

@@ -0,0 +1,37 @@
1
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
2
+--- gstreamer-1.0.7-vanilla/Makefile.am	2013-06-01 18:47:44.498057069 -0500
3
++++ gstreamer-1.0.7/Makefile.am	2013-06-01 19:01:41.634143861 -0500
4
+@@ -8,7 +8,6 @@
5
+ 
6
+ SUBDIRS = pkgconfig \
7
+ 	gst libs plugins tests \
8
+-	docs \
9
+ 	po \
10
+ 	m4 \
11
+ 	common
12
+@@ -20,7 +19,6 @@
13
+ # These are all the possible subdirs
14
+ DIST_SUBDIRS = pkgconfig \
15
+ 	gst libs plugins tools tests \
16
+-	docs \
17
+ 	po \
18
+ 	m4 \
19
+ 	common
20
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
21
+--- gstreamer-1.0.7-vanilla/Makefile.in	2013-06-01 18:47:44.533056863 -0500
22
++++ gstreamer-1.0.7/Makefile.in	2013-06-01 19:02:04.529246907 -0500
23
+@@ -508,13 +508,12 @@
24
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
25
+ aclocaldir = $(datadir)/aclocal
26
+ aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
27
+-SUBDIRS = pkgconfig gst libs plugins tests docs po m4 common \
28
++SUBDIRS = pkgconfig gst libs plugins tests po m4 common \
29
+ 	$(am__append_1)
30
+ 
31
+ # These are all the possible subdirs
32
+ DIST_SUBDIRS = pkgconfig \
33
+ 	gst libs plugins tools tests \
34
+-	docs \
35
+ 	po \
36
+ 	m4 \
37
+ 	common

+ 39
- 0
multimedia/gstreamer1/patches/002-no_tests.patch Näytä tiedosto

@@ -0,0 +1,39 @@
1
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
2
+--- gstreamer-1.0.7-vanilla/Makefile.am	2013-06-01 19:22:31.546496381 -0500
3
++++ gstreamer-1.0.7/Makefile.am	2013-06-01 19:20:38.141070908 -0500
4
+@@ -7,7 +7,7 @@
5
+ aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
6
+ 
7
+ SUBDIRS = pkgconfig \
8
+-	gst libs plugins tests \
9
++	gst libs plugins \
10
+ 	po \
11
+ 	m4 \
12
+ 	common
13
+@@ -18,7 +18,7 @@
14
+ 
15
+ # These are all the possible subdirs
16
+ DIST_SUBDIRS = pkgconfig \
17
+-	gst libs plugins tools tests \
18
++	gst libs plugins tools \
19
+ 	po \
20
+ 	m4 \
21
+ 	common
22
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
23
+--- gstreamer-1.0.7-vanilla/Makefile.in	2013-06-01 19:22:31.547496342 -0500
24
++++ gstreamer-1.0.7/Makefile.in	2013-06-01 19:20:48.948632307 -0500
25
+@@ -508,12 +508,12 @@
26
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
27
+ aclocaldir = $(datadir)/aclocal
28
+ aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
29
+-SUBDIRS = pkgconfig gst libs plugins tests po m4 common \
30
++SUBDIRS = pkgconfig gst libs plugins po m4 common \
31
+ 	$(am__append_1)
32
+ 
33
+ # These are all the possible subdirs
34
+ DIST_SUBDIRS = pkgconfig \
35
+-	gst libs plugins tools tests \
36
++	gst libs plugins tools \
37
+ 	po \
38
+ 	m4 \
39
+ 	common

+ 48
- 0
multimedia/gstreamer1/patches/003-no_translations.patch Näytä tiedosto

@@ -0,0 +1,48 @@
1
+diff -u --recursive gstreamer-1.0.7-vanilla/configure.ac gstreamer-1.0.7/configure.ac
2
+--- gstreamer-1.0.7-vanilla/configure.ac	2013-06-01 18:47:44.506057110 -0500
3
++++ gstreamer-1.0.7/configure.ac	2013-06-01 19:24:05.035756124 -0500
4
+@@ -769,7 +769,6 @@
5
+ libs/gst/net/Makefile
6
+ plugins/Makefile
7
+ plugins/elements/Makefile
8
+-po/Makefile.in
9
+ tests/Makefile
10
+ tests/benchmarks/Makefile
11
+ tests/check/Makefile
12
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
13
+--- gstreamer-1.0.7-vanilla/Makefile.am	2013-06-01 19:23:08.361020919 -0500
14
++++ gstreamer-1.0.7/Makefile.am	2013-06-01 19:24:15.036357308 -0500
15
+@@ -8,7 +8,6 @@
16
+ 
17
+ SUBDIRS = pkgconfig \
18
+ 	gst libs plugins \
19
+-	po \
20
+ 	m4 \
21
+ 	common
22
+ 
23
+@@ -19,7 +18,6 @@
24
+ # These are all the possible subdirs
25
+ DIST_SUBDIRS = pkgconfig \
26
+ 	gst libs plugins tools \
27
+-	po \
28
+ 	m4 \
29
+ 	common
30
+ 
31
+diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
32
+--- gstreamer-1.0.7-vanilla/Makefile.in	2013-06-01 19:23:08.362020867 -0500
33
++++ gstreamer-1.0.7/Makefile.in	2013-06-01 19:24:27.907844191 -0500
34
+@@ -508,13 +508,12 @@
35
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
36
+ aclocaldir = $(datadir)/aclocal
37
+ aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
38
+-SUBDIRS = pkgconfig gst libs plugins po m4 common \
39
++SUBDIRS = pkgconfig gst libs plugins m4 common \
40
+ 	$(am__append_1)
41
+ 
42
+ # These are all the possible subdirs
43
+ DIST_SUBDIRS = pkgconfig \
44
+ 	gst libs plugins tools \
45
+-	po \
46
+ 	m4 \
47
+ 	common
48
+