Merge branch 'gstreamer1' of https://github.com/MikePetullo/packages
This commit is contained in:
commit
d54d7c29a5
20 changed files with 1554 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
# Copyright (C) 2007-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
@ -9,16 +9,20 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=liboil
|
||||
PKG_VERSION:=0.3.17
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://liboil.freedesktop.org/download/
|
||||
PKG_MD5SUM:=47dc734f82faeb2964d97771cfd2e701
|
||||
|
||||
PKG_LICENSE:=FREE
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/liboil
|
||||
SECTION:=libs
|
||||
|
@ -26,7 +30,7 @@ define Package/liboil
|
|||
TITLE:=simple functions optimized for various CPUs
|
||||
URL:=http://liboil.freedesktop.org/wiki/
|
||||
MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
DEPENDS:=+librt
|
||||
DEPENDS:=+librt $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/liboil/description
|
||||
|
@ -42,7 +46,7 @@ CONFIGURE_ARGS += \
|
|||
--enable-shared \
|
||||
--enable-static \
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
TARGET_CFLAGS += $(FPIC) $(if $(ICONV_FULL),-liconv) $(if $(INTL_FULL),-lintl)
|
||||
|
||||
# XXX: VFP_CFLAGS is set to '-mfpu=vfp' on arm by configure, but that breaks
|
||||
# final linking stages, so override it until we find why
|
||||
|
|
75
libs/libsoup/Makefile
Normal file
75
libs/libsoup/Makefile
Normal file
|
@ -0,0 +1,75 @@
|
|||
#
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libsoup
|
||||
PKG_VERSION:=2.38.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.38
|
||||
PKG_MD5SUM:=d13fb4968acea24c26b83268a308f580
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv)
|
||||
|
||||
define Package/libsoup
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=libsoup
|
||||
URL:=http://live.gnome.org/LibSoup
|
||||
MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
DEPENDS:=+glib2 +libxml2 +libgnutls $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-ssl \
|
||||
--disable-glibtest \
|
||||
--without-apache-httpd \
|
||||
--without-gnome \
|
||||
)
|
||||
endef
|
||||
|
||||
define package/libsoup/decription
|
||||
Libsoup is an HTTP library implementation in C
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup}
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \
|
||||
$(1)/usr/include/libsoup-2.4/libsoup/
|
||||
endef
|
||||
|
||||
define Package/libsoup/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libsoup))
|
238
multimedia/gst1-plugins-bad/Makefile
Normal file
238
multimedia/gst1-plugins-bad/Makefile
Normal file
|
@ -0,0 +1,238 @@
|
|||
#
|
||||
# Copyright (C) 2011-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gst1-plugins-bad
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
||||
PKG_LICENSE:=LGPLv2 GPLv2
|
||||
PKG_LICENSE_FILE:=COPYING.LIB COPYING
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-bad-$(PKG_VERSION)
|
||||
PKG_SOURCE:=gst-plugins-bad-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-bad/
|
||||
PKG_MD5SUM:=cfd6f303c8df2740b27cc63b945decef
|
||||
|
||||
PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/gstreamer1/Default
|
||||
CATEGORY:=Multimedia
|
||||
SECTION:=multimedia
|
||||
TITLE:=GStreamer
|
||||
URL:=http://gstreamer.freedesktop.org/
|
||||
DEPENDS:= $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description/Default
|
||||
GStreamer open source multimedia framework
|
||||
endef
|
||||
|
||||
|
||||
define Package/gst1-plugins-bad
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= plugins collection (bad)
|
||||
DEPENDS+= $(GST_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gts1-plugins-bad/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This meta package contains only dependencies to the other plugins from
|
||||
the bad plugins collection.
|
||||
endef
|
||||
|
||||
|
||||
GST_VERSION:=1.0
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
--disable-nls \
|
||||
\
|
||||
--disable-directsound \
|
||||
--disable-directdraw \
|
||||
--disable-osx_video \
|
||||
--disable-quicktime \
|
||||
--disable-vcd \
|
||||
--disable-alsa \
|
||||
--disable-assrender \
|
||||
--disable-amrwb \
|
||||
--disable-apexsink \
|
||||
--disable-bz2 \
|
||||
--disable-cdaudio \
|
||||
--disable-celt \
|
||||
--disable-cog \
|
||||
--disable-dc1394 \
|
||||
--disable-directfb \
|
||||
--disable-dirac \
|
||||
--disable-dts \
|
||||
--disable-divx \
|
||||
--disable-resindvd \
|
||||
--disable-metadata \
|
||||
--disable-faac \
|
||||
--disable-faad \
|
||||
--disable-fbdev \
|
||||
--disable-flite \
|
||||
--disable-gsm \
|
||||
--disable-jack \
|
||||
--disable-jp2k \
|
||||
--disable-kate \
|
||||
--disable-ladspa \
|
||||
--disable-lv2 \
|
||||
--disable-modplug \
|
||||
--disable-mimic \
|
||||
--disable-libmms \
|
||||
--disable-mpeg2enc \
|
||||
--disable-mplex \
|
||||
--disable-musepack \
|
||||
--disable-musicbrainz \
|
||||
--disable-mythtv \
|
||||
--disable-nas \
|
||||
--disable-neon \
|
||||
--disable-ofa \
|
||||
--disable-rsvg \
|
||||
--disable-timidity \
|
||||
--disable-wildmidi \
|
||||
--disable-sdl \
|
||||
--disable-sdltest \
|
||||
--disable-sndfile \
|
||||
--disable-soundtouch \
|
||||
--disable-spc \
|
||||
--disable-gme \
|
||||
--disable-swfdec \
|
||||
--disable-theoradec \
|
||||
--disable-xvid \
|
||||
--disable-dvb \
|
||||
--disable-wininet \
|
||||
--disable-acm \
|
||||
--disable-vdpau \
|
||||
--disable-schro \
|
||||
--disable-zbar \
|
||||
--disable-vp8 \
|
||||
\
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--without-x \
|
||||
|
||||
TARGET_CFLAGS+= -std=gnu99
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
$(if $(ICONV_FULL),-liconv) \
|
||||
|
||||
|
||||
define Package/gst1-plugins-ugly/install
|
||||
/bin/true
|
||||
endef
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other packages
|
||||
define GstBuildLibrary
|
||||
|
||||
GST_DEPENDS += +libgst1$(1)
|
||||
|
||||
define Package/libgst1$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) library (base)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) library.
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
|
||||
$$(1)/usr/lib/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,libgst1$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildLibrary,photography,photography,,))
|
||||
$(eval $(call GstBuildLibrary,basecamerabinsrc,basecamerabinsrc,app,))
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other gstreamer plugins (short name)
|
||||
# 5: dependencies on other packages
|
||||
define GstBuildPlugin
|
||||
|
||||
GST_DEPENDS += +gst1-mod-$(1)
|
||||
|
||||
define Package/gst1-mod-$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) plugin (bad)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) plugin.
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
|
||||
$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,gst1-mod-$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildPlugin,adpcmdec,adpcm decoding support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,adpcmenc,adpcm encoding support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,aiff,aiff support,audio tag,,))
|
||||
$(eval $(call GstBuildPlugin,asfmux,asf muxing support,rtp,,))
|
||||
$(eval $(call GstBuildPlugin,autoconvert,autoconvert support,,,))
|
||||
$(eval $(call GstBuildPlugin,bayer,bayer support,video,,))
|
||||
$(eval $(call GstBuildPlugin,camerabin2,camerabin support,basecamerabinsrc photography tag pbutils app,,))
|
||||
$(eval $(call GstBuildPlugin,dataurisrc,dataurisrc support,,,))
|
||||
$(eval $(call GstBuildPlugin,debugutilsbad,debugutils support,video,,))
|
||||
$(eval $(call GstBuildPlugin,dvdspu,dvdspu support,video,,))
|
||||
$(eval $(call GstBuildPlugin,festival,festival support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,frei0r,frei0r support,controller video,,))
|
||||
$(eval $(call GstBuildPlugin,id3tag,id3tag support,tag,,))
|
||||
$(eval $(call GstBuildPlugin,jpegformat,jpegformat support,tag,,))
|
||||
$(eval $(call GstBuildPlugin,liveadder,liveadder support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,mpegpsdemux,mpegpsdemux support,pbutils tag,,))
|
||||
$(eval $(call GstBuildPlugin,mpegpsmux,mpegpsmux support,,,))
|
||||
#$(eval $(call GstBuildPlugin,mpegtsdemux,mpegtsdemux support,mpegts pbutils tag,,))
|
||||
#$(eval $(call GstBuildPlugin,mpegtsmux,mpegtsmux support,video,,))
|
||||
$(eval $(call GstBuildPlugin,mxf,mxf support,audio video,,))
|
||||
$(eval $(call GstBuildPlugin,pcapparse,pcapparse support,,,))
|
||||
$(eval $(call GstBuildPlugin,pnm,pnm support,video,,))
|
||||
$(eval $(call GstBuildPlugin,rawparse,rawparse support,audio video,,))
|
||||
$(eval $(call GstBuildPlugin,rfbsrc,librfb support,video,,))
|
||||
$(eval $(call GstBuildPlugin,sdpelem,sdp support,rtp sdp,,))
|
||||
$(eval $(call GstBuildPlugin,segmentclip,segmentclip support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,siren,siren support,audio rtp,,))
|
||||
$(eval $(call GstBuildPlugin,speed,speed support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,subenc,subenc support,controller,,))
|
||||
|
||||
$(eval $(call BuildPackage,gst1-plugins-bad))
|
45
multimedia/gst1-plugins-bad/patches/000-gettext.patch
Normal file
45
multimedia/gst1-plugins-bad/patches/000-gettext.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
diff -u --recursive gst-plugins-bad-1.0.7-vanilla/configure.ac gst-plugins-bad-1.0.7/configure.ac
|
||||
--- gst-plugins-bad-1.0.7-vanilla/configure.ac 2013-06-01 19:44:32.199308073 -0500
|
||||
+++ gst-plugins-bad-1.0.7/configure.ac 2013-06-01 19:45:27.754119344 -0500
|
||||
@@ -2373,7 +2373,6 @@
|
||||
ext/timidity/Makefile
|
||||
ext/xvid/Makefile
|
||||
ext/zbar/Makefile
|
||||
-po/Makefile.in
|
||||
docs/Makefile
|
||||
docs/plugins/Makefile
|
||||
docs/libs/Makefile
|
||||
diff -u --recursive gst-plugins-bad-1.0.7-vanilla/Makefile.am gst-plugins-bad-1.0.7/Makefile.am
|
||||
--- gst-plugins-bad-1.0.7-vanilla/Makefile.am 2013-06-01 19:44:32.165309412 -0500
|
||||
+++ gst-plugins-bad-1.0.7/Makefile.am 2013-06-01 19:45:39.016675625 -0500
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
SUBDIRS = \
|
||||
gst-libs gst sys ext pkgconfig \
|
||||
- m4 common docs tests po tools
|
||||
+ m4 common docs tests tools
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
gst gst-libs sys ext pkgconfig \
|
||||
- m4 common docs tests po tools
|
||||
+ m4 common docs tests tools
|
||||
|
||||
# include before EXTRA_DIST for win32 assignment
|
||||
include $(top_srcdir)/common/win32.mak
|
||||
diff -u --recursive gst-plugins-bad-1.0.7-vanilla/Makefile.in gst-plugins-bad-1.0.7/Makefile.in
|
||||
--- gst-plugins-bad-1.0.7-vanilla/Makefile.in 2013-06-01 19:44:32.217307364 -0500
|
||||
+++ gst-plugins-bad-1.0.7/Makefile.in 2013-06-01 19:45:44.624454691 -0500
|
||||
@@ -636,11 +636,11 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
SUBDIRS = \
|
||||
gst-libs gst sys ext pkgconfig \
|
||||
- m4 common docs tests po tools
|
||||
+ m4 common docs tests tools
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
gst gst-libs sys ext pkgconfig \
|
||||
- m4 common docs tests po tools
|
||||
+ m4 common docs tests tools
|
||||
|
||||
|
||||
# the MANIFEST contains all win32 related files that should be disted
|
242
multimedia/gst1-plugins-base/Makefile
Normal file
242
multimedia/gst1-plugins-base/Makefile
Normal file
|
@ -0,0 +1,242 @@
|
|||
#
|
||||
# Copyright (C) 2008-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gst1-plugins-base
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
||||
PKG_LICENSE:=LGPLv2 GPLv2
|
||||
PKG_LICENSE_FILE:=COPYING.LIB COPYING
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-base-$(PKG_VERSION)
|
||||
PKG_SOURCE:=gst-plugins-base-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-base/
|
||||
PKG_MD5SUM:=17aeabfbcd232526f50c9bee375f1b97
|
||||
|
||||
PKG_BUILD_DEPENDS:= gstreamer1 liboil
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_gst1-mod-alsa \
|
||||
CONFIG_PACKAGE_gst1-mod-app \
|
||||
CONFIG_PACKAGE_gst1-mod-audioconvert \
|
||||
CONFIG_PACKAGE_gst1-mod-audiorate \
|
||||
CONFIG_PACKAGE_gst1-mod-audioresample \
|
||||
CONFIG_PACKAGE_gst1-mod-audiotestsrc \
|
||||
CONFIG_PACKAGE_gst1-mod-gio \
|
||||
CONFIG_PACKAGE_gst1-mod-ogg \
|
||||
CONFIG_PACKAGE_gst1-mod-tcp \
|
||||
CONFIG_PACKAGE_gst1-mod-theora \
|
||||
CONFIG_PACKAGE_gst1-mod-videotestsrc \
|
||||
CONFIG_PACKAGE_gst1-mod-volume \
|
||||
CONFIG_PACKAGE_gst1-mod-vorbis \
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/gstreamer1/Default
|
||||
CATEGORY:=Multimedia
|
||||
SECTION:=multimedia
|
||||
TITLE:=GStreamer
|
||||
URL:=http://gstreamer.freedesktop.org/
|
||||
DEPENDS:= $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description/Default
|
||||
GStreamer open source multimedia framework
|
||||
endef
|
||||
|
||||
|
||||
define Package/gst1-plugins-base
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= plugins collection (base)
|
||||
DEPENDS+= $(GST_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gts1-plugins-base/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This meta package contains only dependencies to the other libraries and
|
||||
plugins from the base plugins collection.
|
||||
endef
|
||||
|
||||
|
||||
GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
|
||||
|
||||
GST_VERSION:=1.0
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
\
|
||||
$(call GST_COND_SELECT,alsa) \
|
||||
--disable-alsa-test \
|
||||
$(call GST_COND_SELECT,app) \
|
||||
$(call GST_COND_SELECT,audioconvert) \
|
||||
$(call GST_COND_SELECT,audiorate) \
|
||||
$(call GST_COND_SELECT,audioresample) \
|
||||
$(call GST_COND_SELECT,audiotestsrc) \
|
||||
--disable-cdparanoia \
|
||||
--disable-ffmpegcolorspace \
|
||||
--disable-freetypetest \
|
||||
$(call GST_COND_SELECT,gio) \
|
||||
--disable-gnome_vfs \
|
||||
--disable-gst_v4l \
|
||||
--disable-libvisual \
|
||||
$(call GST_COND_SELECT,ogg) \
|
||||
--disable-oggtest \
|
||||
--disable-pango \
|
||||
--disable-subparse \
|
||||
$(call GST_COND_SELECT,tcp) \
|
||||
$(call GST_COND_SELECT,theora) \
|
||||
--disable-videorate \
|
||||
--disable-videoscale \
|
||||
$(call GST_COND_SELECT,videotestsrc) \
|
||||
$(call GST_COND_SELECT,volume) \
|
||||
$(call GST_COND_SELECT,vorbis) \
|
||||
--disable-vorbistest \
|
||||
--disable-x \
|
||||
--disable-xshm \
|
||||
--disable-xvideo \
|
||||
\
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--without-x \
|
||||
\
|
||||
--with-audioresample-format=int \
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
$(if $(ICONV_FULL),-liconv) \
|
||||
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/include/gstreamer-$(GST_VERSION)/* \
|
||||
$(1)/usr/include/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgst*-$(GST_VERSION).{la,so*} \
|
||||
$(1)/usr/lib/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
|
||||
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
|
||||
$(1)/usr/lib/pkgconfig/ \
|
||||
)
|
||||
endef
|
||||
|
||||
|
||||
define Package/gst1-plugins-base/install
|
||||
/bin/true
|
||||
endef
|
||||
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other packages
|
||||
define GstBuildLibrary
|
||||
|
||||
GST_DEPENDS += +libgst1$(1)
|
||||
|
||||
define Package/libgst1$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) library (base)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) library.
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
|
||||
$$(1)/usr/lib/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,libgst1$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildLibrary,app,app,,))
|
||||
$(eval $(call GstBuildLibrary,audio,audio,tag,))
|
||||
$(eval $(call GstBuildLibrary,fft,FFT,,))
|
||||
$(eval $(call GstBuildLibrary,pbutils,utils,audio tag video,))
|
||||
$(eval $(call GstBuildLibrary,riff,RIFF media,audio tag,,))
|
||||
$(eval $(call GstBuildLibrary,rtp,RTP,,))
|
||||
$(eval $(call GstBuildLibrary,rtsp,RTSP,,))
|
||||
$(eval $(call GstBuildLibrary,sdp,SDP,,))
|
||||
$(eval $(call GstBuildLibrary,tag,tag support,,))
|
||||
$(eval $(call GstBuildLibrary,video,video,,))
|
||||
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other gstreamer plugins (short name)
|
||||
# 5: dependencies on other packages
|
||||
define GstBuildPlugin
|
||||
|
||||
GST_DEPENDS += +gst1-mod-$(1)
|
||||
|
||||
define Package/gst1-mod-$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) plugin (base)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) plugin.
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
|
||||
$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,gst1-mod-$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildPlugin,alsa,ALSA,audio tag,,+alsa-lib))
|
||||
$(eval $(call GstBuildPlugin,app,app,app,,))
|
||||
$(eval $(call GstBuildPlugin,audioconvert,audio format conversion,audio,,))
|
||||
$(eval $(call GstBuildPlugin,audiorate,audio rate adjusting,audio tag,,))
|
||||
$(eval $(call GstBuildPlugin,audioresample,audio resampling,audio tag,,))
|
||||
$(eval $(call GstBuildPlugin,audiotestsrc,audio test,audio tag controller,,))
|
||||
$(eval $(call GstBuildPlugin,playback,media decoder (v2),pbutils,,))
|
||||
$(eval $(call GstBuildPlugin,gio,GIO,,,))
|
||||
$(eval $(call GstBuildPlugin,ogg,Ogg,riff tag pbutils video,,+libogg))
|
||||
$(eval $(call GstBuildPlugin,tcp,TCP,,,))
|
||||
$(eval $(call GstBuildPlugin,theora,Theora,tag video,,+libogg +libtheora))
|
||||
$(eval $(call GstBuildPlugin,typefindfunctions,'typefind' functions,audio pbutils tag video,,))
|
||||
$(eval $(call GstBuildPlugin,videotestsrc,video test,video,,+liboil))
|
||||
$(eval $(call GstBuildPlugin,volume,volume,audio controller,,+liboil))
|
||||
$(eval $(call GstBuildPlugin,vorbis,Vorbis,audio tag,ogg,+libvorbis))
|
||||
|
||||
$(eval $(call BuildPackage,gst1-plugins-base))
|
36
multimedia/gst1-plugins-base/patches/001-no_docs.patch
Normal file
36
multimedia/gst1-plugins-base/patches/001-no_docs.patch
Normal file
|
@ -0,0 +1,36 @@
|
|||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.am 2013-06-01 22:38:30.495678685 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.am 2013-06-01 22:39:04.374335121 -0500
|
||||
@@ -12,14 +12,12 @@
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
tests \
|
||||
- docs \
|
||||
po \
|
||||
common \
|
||||
m4
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
pkgconfig \
|
||||
- docs \
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
||||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.in 2013-06-01 22:38:30.527677416 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.in 2013-06-01 22:38:59.110543873 -0500
|
||||
@@ -493,14 +493,12 @@
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
tests \
|
||||
- docs \
|
||||
po \
|
||||
common \
|
||||
m4
|
||||
|
||||
DIST_SUBDIRS = \
|
||||
pkgconfig \
|
||||
- docs \
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
38
multimedia/gst1-plugins-base/patches/002-no_tests.patch
Normal file
38
multimedia/gst1-plugins-base/patches/002-no_tests.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.am 2013-06-01 19:49:37.986260708 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.am 2013-06-01 19:49:54.998590479 -0500
|
||||
@@ -11,7 +11,6 @@
|
||||
gst-libs \
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4
|
||||
@@ -21,7 +20,6 @@
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4
|
||||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.in 2013-06-01 19:49:37.987260668 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.in 2013-06-01 19:49:58.374457466 -0500
|
||||
@@ -492,7 +492,6 @@
|
||||
gst-libs \
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4
|
||||
@@ -502,7 +501,6 @@
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4
|
|
@ -0,0 +1,49 @@
|
|||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/configure.ac gst-plugins-base-1.0.7/configure.ac
|
||||
--- gst-plugins-base-1.0.7-vanilla/configure.ac 2013-06-01 19:48:21.931257133 -0500
|
||||
+++ gst-plugins-base-1.0.7/configure.ac 2013-06-01 19:51:30.371829534 -0500
|
||||
@@ -923,7 +923,6 @@
|
||||
docs/libs/Makefile
|
||||
docs/plugins/Makefile
|
||||
docs/version.entities
|
||||
-po/Makefile.in
|
||||
common/Makefile
|
||||
common/m4/Makefile
|
||||
m4/Makefile
|
||||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.am gst-plugins-base-1.0.7/Makefile.am
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.am 2013-06-01 19:50:30.232202309 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.am 2013-06-01 19:50:58.973069965 -0500
|
||||
@@ -11,7 +11,6 @@
|
||||
gst-libs \
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
- po \
|
||||
common \
|
||||
m4
|
||||
|
||||
@@ -20,7 +19,6 @@
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
||||
- po \
|
||||
common \
|
||||
m4
|
||||
|
||||
diff -u --recursive gst-plugins-base-1.0.7-vanilla/Makefile.in gst-plugins-base-1.0.7/Makefile.in
|
||||
--- gst-plugins-base-1.0.7-vanilla/Makefile.in 2013-06-01 19:50:30.233202273 -0500
|
||||
+++ gst-plugins-base-1.0.7/Makefile.in 2013-06-01 19:51:22.796130711 -0500
|
||||
@@ -492,7 +492,6 @@
|
||||
gst-libs \
|
||||
gst sys $(SUBDIRS_EXT) \
|
||||
tools \
|
||||
- po \
|
||||
common \
|
||||
m4
|
||||
|
||||
@@ -501,7 +500,6 @@
|
||||
gst-libs \
|
||||
gst sys ext \
|
||||
tools \
|
||||
- po \
|
||||
common \
|
||||
m4
|
||||
|
202
multimedia/gst1-plugins-good/Makefile
Normal file
202
multimedia/gst1-plugins-good/Makefile
Normal file
|
@ -0,0 +1,202 @@
|
|||
## Copyright (C) 2009-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gst1-plugins-good
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
||||
PKG_LICENSE:=LGPLv2
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION)
|
||||
PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/
|
||||
PKG_MD5SUM:=1a1f96bc27ad446e559474299160a9a8
|
||||
|
||||
PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/gstreamer1/Default
|
||||
CATEGORY:=Multimedia
|
||||
SECTION:=multimedia
|
||||
TITLE:=GStreamer
|
||||
URL:=http://gstreamer.freedesktop.org/
|
||||
DEPENDS:= $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description/Default
|
||||
GStreamer open source multimedia framework
|
||||
endef
|
||||
|
||||
|
||||
define Package/gst1-plugins-good
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= plugins collection (good)
|
||||
DEPENDS+= $(GST_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gts-plugins-good/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This meta package contains only dependencies to the other plugins from
|
||||
the good plugins collection.
|
||||
endef
|
||||
|
||||
|
||||
GST_VERSION:=1.0
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
\
|
||||
--disable-aalib \
|
||||
--disable-annodex \
|
||||
--disable-bz2 \
|
||||
--disable-cairo \
|
||||
--disable-directsound \
|
||||
--disable-dv1394 \
|
||||
--disable-esd \
|
||||
--disable-gconf \
|
||||
--disable-gconftool \
|
||||
--disable-gdk_pixbuf \
|
||||
--disable-gst_v4l2 \
|
||||
--disable-hal \
|
||||
--disable-libcaca \
|
||||
--disable-libdv \
|
||||
--disable-osx_audio \
|
||||
--disable-osx_video \
|
||||
--disable-pulse \
|
||||
--disable-qtdemux \
|
||||
--disable-rtspmanager \
|
||||
--disable-shout2 \
|
||||
--disable-sunaudio \
|
||||
--disable-wavpack \
|
||||
--disable-x \
|
||||
--disable-xshm \
|
||||
--disable-xvideo \
|
||||
--disable-y4m \
|
||||
--disable-zlib \
|
||||
\
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--without-x \
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
$(if $(ICONV_FULL),-liconv) \
|
||||
|
||||
|
||||
define Package/gst1-plugins-good/install
|
||||
/bin/true
|
||||
endef
|
||||
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other gstreamer plugins (short name)
|
||||
# 5: dependencies on other packages
|
||||
define GstBuildPlugin
|
||||
|
||||
GST_DEPENDS += +gst1-mod-$(1)
|
||||
|
||||
define Package/gst1-mod-$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) plugin (good)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) plugin.
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
|
||||
$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,gst1-mod-$(1)))
|
||||
endef
|
||||
|
||||
#$(eval $(call GstBuildPlugin,1394,IEEE 1394 support,,,))
|
||||
$(eval $(call GstBuildPlugin,alaw,alaw codec,audio,,))
|
||||
$(eval $(call GstBuildPlugin,alpha,alpha support,video,,))
|
||||
$(eval $(call GstBuildPlugin,alphacolor,alphacolor support,video,,))
|
||||
$(eval $(call GstBuildPlugin,apetag,apetag support,audio pbutils tag video,,))
|
||||
$(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,))
|
||||
$(eval $(call GstBuildPlugin,audioparsers,audioparsers,audio tag pbutils,,))
|
||||
$(eval $(call GstBuildPlugin,auparse,auparse,audio tag pbutils,,))
|
||||
$(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,))
|
||||
$(eval $(call GstBuildPlugin,avi,avi support,audio riff tag video,,))
|
||||
$(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,))
|
||||
$(eval $(call GstBuildPlugin,debug,debugging,,,))
|
||||
$(eval $(call GstBuildPlugin,deinterlace,deinterlace support,video,,))
|
||||
$(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,))
|
||||
#$(eval $(call GstBuildPlugin,dv,dv support,audio tag video,,))
|
||||
$(eval $(call GstBuildPlugin,effectv,effectvsupport,video,,))
|
||||
$(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,))
|
||||
$(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac))
|
||||
$(eval $(call GstBuildPlugin,flv,flv codec,audio pbutils tag video,,))
|
||||
$(eval $(call GstBuildPlugin,flxdec,flx codec,,,))
|
||||
#$(eval $(call GstBuildPlugin,gdkpixbuf,gdkpixbuf support,video,,))
|
||||
$(eval $(call GstBuildPlugin,goom2k1,goom support,,,))
|
||||
$(eval $(call GstBuildPlugin,goom,goom support,,,))
|
||||
$(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,))
|
||||
$(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,))
|
||||
$(eval $(call GstBuildPlugin,imagefreeze,imagefreeze support,,,))
|
||||
$(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,))
|
||||
$(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,))
|
||||
#$(eval $(call GstBuildPlugin,jack,jack support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg))
|
||||
$(eval $(call GstBuildPlugin,level,audio level,audio,,))
|
||||
$(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,))
|
||||
$(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,multifile,multiple files access,video,,))
|
||||
$(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,))
|
||||
$(eval $(call GstBuildPlugin,navigationtest,navigationtest support,video,,))
|
||||
$(eval $(call GstBuildPlugin,oss4audio,OSS 4 audio support,audio tag,,))
|
||||
$(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,))
|
||||
$(eval $(call GstBuildPlugin,png,png support,video,,+libpng))
|
||||
#$(eval $(call GstBuildPlugin,pulse,pulse support,audio pbutils tag video,,))
|
||||
$(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,))
|
||||
$(eval $(call GstBuildPlugin,rtpmanager,RTP manager,audio net rtp tag pbutils video,,))
|
||||
$(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils video,,))
|
||||
$(eval $(call GstBuildPlugin,rtsp,RTSP,net rtp rtsp sdp,,))
|
||||
$(eval $(call GstBuildPlugin,shapewipe,shapewipe support,video,,))
|
||||
#$(eval $(call GstBuildPlugin,shout2,shout2 support,,,))
|
||||
$(eval $(call GstBuildPlugin,smpte,smpte support,video,,))
|
||||
$(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio tag,,+libsoup))
|
||||
$(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,))
|
||||
#$(eval $(call GstBuildPlugin,speex,speex support,audio tag,,))
|
||||
#$(eval $(call GstBuildPlugin,sty4menc,sty4menc support,video,,))
|
||||
#$(eval $(call GstBuildPlugin,taglib,taglib support,tag,,))
|
||||
$(eval $(call GstBuildPlugin,udp,UDP,net,,))
|
||||
#$(eval $(call GstBuildPlugin,video4linux2,video4linux2 support,video,,))
|
||||
$(eval $(call GstBuildPlugin,videobox,videobox support,video,,))
|
||||
$(eval $(call GstBuildPlugin,videocrop,videocrop support,video,,))
|
||||
$(eval $(call GstBuildPlugin,videofilter,videofilter support,video,,))
|
||||
$(eval $(call GstBuildPlugin,videomixer,videomixer support,video,,))
|
||||
#$(eval $(call GstBuildPlugin,vpx,vpx support,tag video,,))
|
||||
$(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,))
|
||||
#$(eval $(call GstBuildPlugin,wavpack,Wav packer,audio riff tag,,))
|
||||
$(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,))
|
||||
#$(eval $(call GstBuildPlugin,ximagesrc,ximagesrc support,video,,))
|
||||
|
||||
$(eval $(call BuildPackage,gst1-plugins-good))
|
22
multimedia/gst1-plugins-good/patches/001-no_docs.patch
Normal file
22
multimedia/gst1-plugins-good/patches/001-no_docs.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.am 2013-06-01 19:54:57.652601127 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.am 2013-06-01 19:55:15.281902215 -0500
|
||||
@@ -3,7 +3,6 @@
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
tests \
|
||||
- docs \
|
||||
po \
|
||||
common \
|
||||
m4 \
|
||||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.in 2013-06-01 19:54:57.692599541 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.in 2013-06-01 19:55:23.025595255 -0500
|
||||
@@ -523,7 +523,6 @@
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
tests \
|
||||
- docs \
|
||||
po \
|
||||
common \
|
||||
m4 \
|
22
multimedia/gst1-plugins-good/patches/002-no_tests.patch
Normal file
22
multimedia/gst1-plugins-good/patches/002-no_tests.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.am 2013-06-01 19:56:00.995090476 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.am 2013-06-01 19:56:12.911618318 -0500
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4 \
|
||||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.in 2013-06-01 19:56:00.995090476 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.in 2013-06-01 19:56:16.655469989 -0500
|
||||
@@ -522,7 +522,6 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
- tests \
|
||||
po \
|
||||
common \
|
||||
m4 \
|
|
@ -0,0 +1,33 @@
|
|||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/configure.ac gst-plugins-good-1.0.7/configure.ac
|
||||
--- gst-plugins-good-1.0.7-vanilla/configure.ac 2013-06-01 19:56:23.004218467 -0500
|
||||
+++ gst-plugins-good-1.0.7/configure.ac 2013-06-01 19:56:52.919033496 -0500
|
||||
@@ -1157,7 +1157,6 @@
|
||||
sys/v4l2/Makefile
|
||||
sys/waveform/Makefile
|
||||
sys/ximage/Makefile
|
||||
-po/Makefile.in
|
||||
tests/Makefile
|
||||
tests/check/Makefile
|
||||
tests/examples/Makefile
|
||||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.am gst-plugins-good-1.0.7/Makefile.am
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.am 2013-06-01 19:56:23.043216922 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.am 2013-06-01 19:56:43.671399777 -0500
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
- po \
|
||||
common \
|
||||
m4 \
|
||||
pkgconfig
|
||||
diff -u --recursive gst-plugins-good-1.0.7-vanilla/Makefile.in gst-plugins-good-1.0.7/Makefile.in
|
||||
--- gst-plugins-good-1.0.7-vanilla/Makefile.in 2013-06-01 19:56:23.043216922 -0500
|
||||
+++ gst-plugins-good-1.0.7/Makefile.in 2013-06-01 19:56:47.703240080 -0500
|
||||
@@ -522,7 +522,6 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
ALWAYS_SUBDIRS = \
|
||||
gst sys ext \
|
||||
- po \
|
||||
common \
|
||||
m4 \
|
||||
pkgconfig
|
142
multimedia/gst1-plugins-ugly/Makefile
Normal file
142
multimedia/gst1-plugins-ugly/Makefile
Normal file
|
@ -0,0 +1,142 @@
|
|||
#
|
||||
# Copyright (C) 2009-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gst1-plugins-ugly
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
||||
PKG_LICENSE:=LGPLv2
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-ugly-$(PKG_VERSION)
|
||||
PKG_SOURCE:=gst-plugins-ugly-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/
|
||||
PKG_MD5SUM:=7ae60e2f759f58f32af5fcdc3c9193c4
|
||||
|
||||
PKG_BUILD_DEPENDS:= gstreamer1 gst1-plugins-base liboil
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_gst1-mod-asf \
|
||||
CONFIG_PACKAGE_gst1-mod-lame \
|
||||
CONFIG_PACKAGE_gst1-mod-mad \
|
||||
CONFIG_PACKAGE_gst1-mod-mpeg2dec \
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/gstreamer1/Default
|
||||
CATEGORY:=Multimedia
|
||||
SECTION:=multimedia
|
||||
TITLE:=GStreamer
|
||||
URL:=http://gstreamer.freedesktop.org/
|
||||
DEPENDS:= $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description/Default
|
||||
GStreamer open source multimedia framework
|
||||
endef
|
||||
|
||||
|
||||
define Package/gst1-plugins-ugly
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= plugins collection (ugly)
|
||||
DEPENDS+= $(GST_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gts-plugins-ugly/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This meta package contains only dependencies to the other plugins from
|
||||
the ugly plugins collection.
|
||||
endef
|
||||
|
||||
|
||||
GST_COND_SELECT = $(patsubst %,$(if $(CONFIG_PACKAGE_gst1-mod-$(1)),--enable,--disable)-%,$(1))
|
||||
|
||||
GST_VERSION:=1.0
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
\
|
||||
--disable-a52dec \
|
||||
--disable-amrnb \
|
||||
--disable-amrwb \
|
||||
$(call GST_COND_SELECT,asf) \
|
||||
--disable-cdio \
|
||||
--disable-dvdlpcmdec \
|
||||
--disable-dvdread \
|
||||
--disable-dvdsub \
|
||||
--disable-iec958 \
|
||||
$(call GST_COND_SELECT,lame) \
|
||||
$(call GST_COND_SELECT,mad) \
|
||||
$(call GST_COND_SELECT,mpeg2dec) \
|
||||
--disable-mpegaudioparse \
|
||||
--disable-mpegstream \
|
||||
--disable-realmedia \
|
||||
--disable-sidplay \
|
||||
--disable-synaesthesia \
|
||||
--disable-twolame \
|
||||
--disable-x264 \
|
||||
\
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
$(if $(ICONV_FULL),-liconv) \
|
||||
|
||||
|
||||
define Package/gst1-plugins-ugly/install
|
||||
/bin/true
|
||||
endef
|
||||
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other gstreamer plugins (short name)
|
||||
# 5: dependencies on other packages
|
||||
define GstBuildPlugin
|
||||
|
||||
GST_DEPENDS += +gst1-mod-$(1)
|
||||
|
||||
define Package/gst1-mod-$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) plugin (ugly)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5)
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) plugin.
|
||||
endef
|
||||
|
||||
define Package/gst1-mod-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \
|
||||
$$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,gst1-mod-$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildPlugin,asf,ASF demuxer,audio riff rtp rtsp sdp tag,,))
|
||||
$(eval $(call GstBuildPlugin,lame,MP3 encoder (using LAME),audio,,+lame-lib))
|
||||
$(eval $(call GstBuildPlugin,mad,MP3 decoder (using MAD),audio tag,,+libid3tag +libmad))
|
||||
$(eval $(call GstBuildPlugin,mpeg2dec,MPEG decoder,video,,+libmpeg2))
|
||||
|
||||
$(eval $(call BuildPackage,gst1-plugins-ugly))
|
24
multimedia/gst1-plugins-ugly/patches/001-no_docs.patch
Normal file
24
multimedia/gst1-plugins-ugly/patches/001-no_docs.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am 2013-06-01 19:58:12.400886469 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.am 2013-06-01 19:58:33.306059047 -0500
|
||||
@@ -1,7 +1,7 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext docs m4 tests common pkgconfig po
|
||||
+ gst-libs gst ext m4 tests common pkgconfig po
|
||||
|
||||
# include before EXTRA_DIST for win32 assignment
|
||||
include $(top_srcdir)/common/win32.mak
|
||||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in 2013-06-01 19:58:12.412885994 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.in 2013-06-01 19:58:39.810801615 -0500
|
||||
@@ -453,7 +453,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext docs m4 tests common pkgconfig po
|
||||
+ gst-libs gst ext m4 tests common pkgconfig po
|
||||
|
||||
|
||||
# the MANIFEST contains all win32 related files that should be disted
|
24
multimedia/gst1-plugins-ugly/patches/002-no_tests.patch
Normal file
24
multimedia/gst1-plugins-ugly/patches/002-no_tests.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am 2013-06-01 19:59:16.988330482 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.am 2013-06-01 19:59:28.455876771 -0500
|
||||
@@ -1,7 +1,7 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext m4 tests common pkgconfig po
|
||||
+ gst-libs gst ext m4 common pkgconfig po
|
||||
|
||||
# include before EXTRA_DIST for win32 assignment
|
||||
include $(top_srcdir)/common/win32.mak
|
||||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in 2013-06-01 19:59:16.988330482 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.in 2013-06-01 19:59:39.840426385 -0500
|
||||
@@ -453,7 +453,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext m4 tests common pkgconfig po
|
||||
+ gst-libs gst ext m4 common pkgconfig po
|
||||
|
||||
|
||||
# the MANIFEST contains all win32 related files that should be disted
|
|
@ -0,0 +1,35 @@
|
|||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/configure.ac gst-plugins-ugly-1.0.7/configure.ac
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/configure.ac 2013-06-01 19:59:46.199174835 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/configure.ac 2013-06-01 20:00:29.709453831 -0500
|
||||
@@ -479,7 +479,6 @@
|
||||
tests/Makefile
|
||||
tests/check/Makefile
|
||||
m4/Makefile
|
||||
-po/Makefile.in
|
||||
pkgconfig/Makefile
|
||||
pkgconfig/gstreamer-plugins-ugly-uninstalled.pc
|
||||
gst-plugins-ugly.spec
|
||||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.am gst-plugins-ugly-1.0.7/Makefile.am
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.am 2013-06-01 19:59:46.210174399 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.am 2013-06-01 20:00:11.351179921 -0500
|
||||
@@ -1,7 +1,7 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
|
||||
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext m4 common pkgconfig po
|
||||
+ gst-libs gst ext m4 common pkgconfig
|
||||
|
||||
# include before EXTRA_DIST for win32 assignment
|
||||
include $(top_srcdir)/common/win32.mak
|
||||
diff -u --recursive gst-plugins-ugly-1.0.7-vanilla/Makefile.in gst-plugins-ugly-1.0.7/Makefile.in
|
||||
--- gst-plugins-ugly-1.0.7-vanilla/Makefile.in 2013-06-01 19:59:46.210174399 -0500
|
||||
+++ gst-plugins-ugly-1.0.7/Makefile.in 2013-06-01 20:00:20.222829049 -0500
|
||||
@@ -453,7 +453,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
|
||||
SUBDIRS = \
|
||||
- gst-libs gst ext m4 common pkgconfig po
|
||||
+ gst-libs gst ext m4 common pkgconfig
|
||||
|
||||
|
||||
# the MANIFEST contains all win32 related files that should be disted
|
195
multimedia/gstreamer1/Makefile
Normal file
195
multimedia/gstreamer1/Makefile
Normal file
|
@ -0,0 +1,195 @@
|
|||
#
|
||||
# Copyright (C) 2008-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gstreamer1
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||
|
||||
PKG_LICENSE:=LGPLv2
|
||||
PKG_LICENSE_FILE:=COPYING
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gstreamer-$(PKG_VERSION)
|
||||
PKG_SOURCE:=gstreamer-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gstreamer/
|
||||
PKG_MD5SUM:=8155b9c7574ccaa361cc504e8e0e72dc
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_REMOVE_FILES:=autogen.sh aclocal.m4
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/gstreamer1/Default
|
||||
CATEGORY:=Multimedia
|
||||
SECTION:=multimedia
|
||||
TITLE:=GStreamer
|
||||
URL:=http://gstreamer.freedesktop.org/
|
||||
DEPENDS:= $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description/Default
|
||||
GStreamer open source multimedia framework
|
||||
endef
|
||||
|
||||
|
||||
define Package/gstreamer1
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= framework
|
||||
DEPENDS+= +libgstreamer1 \
|
||||
+libgst1check \
|
||||
+libgst1controller \
|
||||
+libgst1net
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This meta package contains only dependencies on the other GStreamer
|
||||
componenents.
|
||||
endef
|
||||
|
||||
|
||||
define Package/gstreamer1-utils
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= utilities
|
||||
DEPENDS+= +libgstreamer1
|
||||
endef
|
||||
|
||||
define Package/gstreamer1-utils/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer utilities.
|
||||
endef
|
||||
|
||||
|
||||
define Package/libgstreamer1
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= library (core)
|
||||
DEPENDS+= +glib2 +libpthread +libxml2
|
||||
endef
|
||||
|
||||
define Package/libgstreamer1/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer core library.
|
||||
endef
|
||||
|
||||
|
||||
GST_VERSION:=1.0
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-static \
|
||||
--disable-examples \
|
||||
--disable-tests \
|
||||
--disable-valgrind \
|
||||
--without-libiconv-prefix \
|
||||
--without-libintl-prefix \
|
||||
--without-x \
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
$(if $(ICONV_FULL),-liconv)
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/include/gstreamer-$(GST_VERSION)/* \
|
||||
$(1)/usr/include/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgst*-$(GST_VERSION).{a,la,so*} \
|
||||
$(1)/usr/lib/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.{la,so} \
|
||||
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/pkgconfig/gstreamer*-$(GST_VERSION).pc \
|
||||
$(1)/usr/lib/pkgconfig/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(2)/share/aclocal
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/share/aclocal/* \
|
||||
$(2)/share/aclocal/ \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/gstreamer1/install
|
||||
/bin/true
|
||||
endef
|
||||
|
||||
define Package/gstreamer1-utils/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/bin/gst-launch* \
|
||||
./usr/bin/gst-inspect* \
|
||||
./usr/bin/gst-typefind* \
|
||||
$(1)/usr/bin/ \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/libgstreamer1/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgstbase-$(GST_VERSION).so.* \
|
||||
./usr/lib/libgstreamer-$(GST_VERSION).so.* \
|
||||
$(1)/usr/lib/ \
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gstreamer-$(GST_VERSION)
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/gstreamer-$(GST_VERSION)/libgst*.so \
|
||||
$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \
|
||||
)
|
||||
endef
|
||||
|
||||
|
||||
# 1: short name
|
||||
# 2: description
|
||||
# 3: dependencies on other gstreamer libraries (short name)
|
||||
# 4: dependencies on other packages
|
||||
define GstBuildLibrary
|
||||
|
||||
define Package/libgst1$(1)
|
||||
$(call Package/gstreamer1/Default)
|
||||
TITLE+= $(2) library (core)
|
||||
DEPENDS+= +libgstreamer1 $$(foreach p,$(3),+libgst1$$(p)) $(4)
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/description
|
||||
$(call Package/gstreamer1/description/Default)
|
||||
.
|
||||
This package contains the GStreamer $(2) library.
|
||||
endef
|
||||
|
||||
define Package/libgst1$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib
|
||||
( cd $(PKG_INSTALL_DIR); $(CP) \
|
||||
./usr/lib/libgst$(1)-$(GST_VERSION).so.* \
|
||||
$$(1)/usr/lib/ \
|
||||
)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,libgst1$(1)))
|
||||
endef
|
||||
|
||||
$(eval $(call GstBuildLibrary,check,check unit testing))
|
||||
$(eval $(call GstBuildLibrary,controller,dynamic parameter control))
|
||||
$(eval $(call GstBuildLibrary,net,network classes))
|
||||
|
||||
$(eval $(call BuildPackage,libgstreamer1))
|
||||
$(eval $(call BuildPackage,gstreamer1))
|
||||
$(eval $(call BuildPackage,gstreamer1-utils))
|
37
multimedia/gstreamer1/patches/001-no_docs.patch
Normal file
37
multimedia/gstreamer1/patches/001-no_docs.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.am 2013-06-01 18:47:44.498057069 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.am 2013-06-01 19:01:41.634143861 -0500
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
SUBDIRS = pkgconfig \
|
||||
gst libs plugins tests \
|
||||
- docs \
|
||||
po \
|
||||
m4 \
|
||||
common
|
||||
@@ -20,7 +19,6 @@
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
gst libs plugins tools tests \
|
||||
- docs \
|
||||
po \
|
||||
m4 \
|
||||
common
|
||||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.in 2013-06-01 18:47:44.533056863 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.in 2013-06-01 19:02:04.529246907 -0500
|
||||
@@ -508,13 +508,12 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
|
||||
-SUBDIRS = pkgconfig gst libs plugins tests docs po m4 common \
|
||||
+SUBDIRS = pkgconfig gst libs plugins tests po m4 common \
|
||||
$(am__append_1)
|
||||
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
gst libs plugins tools tests \
|
||||
- docs \
|
||||
po \
|
||||
m4 \
|
||||
common
|
39
multimedia/gstreamer1/patches/002-no_tests.patch
Normal file
39
multimedia/gstreamer1/patches/002-no_tests.patch
Normal file
|
@ -0,0 +1,39 @@
|
|||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.am 2013-06-01 19:22:31.546496381 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.am 2013-06-01 19:20:38.141070908 -0500
|
||||
@@ -7,7 +7,7 @@
|
||||
aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
|
||||
|
||||
SUBDIRS = pkgconfig \
|
||||
- gst libs plugins tests \
|
||||
+ gst libs plugins \
|
||||
po \
|
||||
m4 \
|
||||
common
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
- gst libs plugins tools tests \
|
||||
+ gst libs plugins tools \
|
||||
po \
|
||||
m4 \
|
||||
common
|
||||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.in 2013-06-01 19:22:31.547496342 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.in 2013-06-01 19:20:48.948632307 -0500
|
||||
@@ -508,12 +508,12 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
|
||||
-SUBDIRS = pkgconfig gst libs plugins tests po m4 common \
|
||||
+SUBDIRS = pkgconfig gst libs plugins po m4 common \
|
||||
$(am__append_1)
|
||||
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
- gst libs plugins tools tests \
|
||||
+ gst libs plugins tools \
|
||||
po \
|
||||
m4 \
|
||||
common
|
48
multimedia/gstreamer1/patches/003-no_translations.patch
Normal file
48
multimedia/gstreamer1/patches/003-no_translations.patch
Normal file
|
@ -0,0 +1,48 @@
|
|||
diff -u --recursive gstreamer-1.0.7-vanilla/configure.ac gstreamer-1.0.7/configure.ac
|
||||
--- gstreamer-1.0.7-vanilla/configure.ac 2013-06-01 18:47:44.506057110 -0500
|
||||
+++ gstreamer-1.0.7/configure.ac 2013-06-01 19:24:05.035756124 -0500
|
||||
@@ -769,7 +769,6 @@
|
||||
libs/gst/net/Makefile
|
||||
plugins/Makefile
|
||||
plugins/elements/Makefile
|
||||
-po/Makefile.in
|
||||
tests/Makefile
|
||||
tests/benchmarks/Makefile
|
||||
tests/check/Makefile
|
||||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.am gstreamer-1.0.7/Makefile.am
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.am 2013-06-01 19:23:08.361020919 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.am 2013-06-01 19:24:15.036357308 -0500
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
SUBDIRS = pkgconfig \
|
||||
gst libs plugins \
|
||||
- po \
|
||||
m4 \
|
||||
common
|
||||
|
||||
@@ -19,7 +18,6 @@
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
gst libs plugins tools \
|
||||
- po \
|
||||
m4 \
|
||||
common
|
||||
|
||||
diff -u --recursive gstreamer-1.0.7-vanilla/Makefile.in gstreamer-1.0.7/Makefile.in
|
||||
--- gstreamer-1.0.7-vanilla/Makefile.in 2013-06-01 19:23:08.362020867 -0500
|
||||
+++ gstreamer-1.0.7/Makefile.in 2013-06-01 19:24:27.907844191 -0500
|
||||
@@ -508,13 +508,12 @@
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-docbook
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
|
||||
-SUBDIRS = pkgconfig gst libs plugins po m4 common \
|
||||
+SUBDIRS = pkgconfig gst libs plugins m4 common \
|
||||
$(am__append_1)
|
||||
|
||||
# These are all the possible subdirs
|
||||
DIST_SUBDIRS = pkgconfig \
|
||||
gst libs plugins tools \
|
||||
- po \
|
||||
m4 \
|
||||
common
|
||||
|
Loading…
Reference in a new issue