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.

177 lines
4.8 KiB

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