You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
7.2 KiB

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