[package] openssh: add ESSENTIAL_PROCESSES
[openwrt/svn-archive/archive.git] / multimedia / gst-plugins-good / Makefile
1 ## Copyright (C) 2009-2011 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:=gst-plugins-good
10 PKG_VERSION:=0.10.23
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
15 PKG_MD5SUM:=9cddbb0e7e90677f0cc05c23feffef5c
16
17 PKG_BUILD_DEPENDS:= gstreamer gst-plugins-base liboil
18
19 PKG_FIXUP:=autoreconf
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/nls.mk
24
25 define Package/gstreamer/Default
26 CATEGORY:=Multimedia
27 SECTION:=multimedia
28 TITLE:=GStreamer
29 URL:=http://gstreamer.freedesktop.org/
30 endef
31
32 define Package/gstreamer/description/Default
33 GStreamer open source multimedia framework
34 endef
35
36
37 define Package/gst-plugins-good
38 $(call Package/gstreamer/Default)
39 TITLE+= plugins collection (good)
40 DEPENDS+= $(GST_DEPENDS)
41 endef
42
43 define Package/gts-plugins-good/description
44 $(call Package/gstreamer/description/Default)
45 .
46 This meta package contains only dependencies to the other plugins from
47 the good plugins collection.
48 endef
49
50
51 GST_VERSION:=0.10
52
53 CONFIGURE_ARGS += \
54 --disable-debug \
55 --disable-examples \
56 \
57 --disable-aalib \
58 --disable-alpha \
59 --disable-annodex \
60 --disable-apetag \
61 --disable-auparse \
62 --disable-avi \
63 --disable-bz2 \
64 --disable-cairo \
65 --disable-directsound \
66 --disable-dv1394 \
67 --disable-effectv \
68 --disable-esd \
69 --disable-flv \
70 --disable-flx \
71 --disable-gconf \
72 --disable-gconftool \
73 --disable-gdk_pixbuf \
74 --disable-goom \
75 --disable-goom2k1 \
76 --disable-gst_v4l2 \
77 --disable-hal \
78 --disable-jpeg \
79 --disable-law \
80 --disable-libcaca \
81 --disable-libdv \
82 --disable-libpng \
83 --disable-matroska \
84 --disable-monoscope \
85 --disable-osx_audio \
86 --disable-osx_video \
87 --disable-pulse \
88 --disable-qtdemux \
89 --disable-rtspmanager \
90 --disable-smpte \
91 --disable-shout2 \
92 --disable-speex \
93 --disable-sunaudio \
94 --disable-taglib \
95 --disable-videobox \
96 --disable-videocrop \
97 --disable-videofilter \
98 --disable-videomixer \
99 --disable-wavpack \
100 --disable-x \
101 --disable-xshm \
102 --disable-xvideo \
103 --disable-y4m \
104 --disable-zlib \
105 \
106 --without-libiconv-prefix \
107 --without-libintl-prefix \
108 --without-x \
109
110 EXTRA_LDFLAGS+= \
111 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
112
113
114 define Package/gst-plugins-good/install
115 /bin/true
116 endef
117
118
119 # 1: short name
120 # 2: description
121 # 3: dependencies on other gstreamer libraries (short name)
122 # 4: dependencies on other gstreamer plugins (short name)
123 # 5: dependencies on other packages
124 define GstBuildPlugin
125
126 GST_DEPENDS += +gst-mod-$(1)
127
128 define Package/gst-mod-$(1)
129 $(call Package/gstreamer/Default)
130 TITLE+= $(2) plugin (good)
131 DEPENDS+= +libgstreamer $$(foreach p,$(3),+libgst$$(p)) $$(foreach p,$(4),+gst-mod-$$(p)) $(5)
132 endef
133
134 define Package/gst-mod-$(1)/description
135 $(call Package/gstreamer/description/Default)
136 .
137 This package contains the GStreamer $(2) plugin.
138 endef
139
140 define Package/gst-mod-$(1)/install
141 $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
142 ( cd $(PKG_INSTALL_DIR); $(CP) \
143 ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
144 $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
145 )
146 endef
147
148 $$(eval $$(call BuildPackage,gst-mod-$(1)))
149 endef
150
151 $(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
152 $(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
153 $(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
154 $(eval $(call GstBuildPlugin,debug,debugging,,,))
155 $(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
156 $(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
157 $(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
158 $(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
159 $(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
160 $(eval $(call GstBuildPlugin,level,audio level,audio,,))
161 $(eval $(call GstBuildPlugin,multifile,multiple files access,,,))
162 $(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
163 $(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
164 $(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
165 $(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag,,))
166 $(eval $(call GstBuildPlugin,rtsp,RTSP,interfaces rtp rtsp sdp,,))
167 $(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio tag,,+libsoup))
168 $(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
169 $(eval $(call GstBuildPlugin,udp,UDP,netbuffer,,))
170 $(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
171 $(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
172
173 $(eval $(call BuildPackage,gst-plugins-good))