diff options
author | Mart Raudsepp <leio@gentoo.org> | 2014-06-26 11:14:31 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2014-06-26 11:16:29 +0300 |
commit | e3899eb2cfc333e21743771ff2ccf5ad1db2a167 (patch) | |
tree | 2a0f51c96560cca87e961ba961a190519d7588bc | |
parent | Add weston-1.5.0 ebuild hacked to be more suitable on Raspberry-Pi (RPi) with... (diff) | |
download | leio-e3899eb2cfc333e21743771ff2ccf5ad1db2a167.tar.gz leio-e3899eb2cfc333e21743771ff2ccf5ad1db2a167.tar.bz2 leio-e3899eb2cfc333e21743771ff2ccf5ad1db2a167.zip |
Add gstreamer 1.3.3 development versions of stuff I need for glimagesink testing on RPi
-rw-r--r-- | media-libs/gst-plugins-bad/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild | 56 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/gst-plugins-base/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild | 94 | ||||
-rw-r--r-- | media-libs/gst-plugins-base/metadata.xml | 9 | ||||
-rw-r--r-- | media-libs/gst-plugins-good/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild | 58 | ||||
-rw-r--r-- | media-libs/gst-plugins-good/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/gstreamer/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-1.3.3.ebuild | 90 | ||||
-rw-r--r-- | media-libs/gstreamer/metadata.xml | 10 | ||||
-rw-r--r-- | media-plugins/gst-plugins-faad/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild | 14 | ||||
-rw-r--r-- | media-plugins/gst-plugins-faad/metadata.xml | 5 |
15 files changed, 354 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest new file mode 100644 index 0000000..ab2b377 --- /dev/null +++ b/media-libs/gst-plugins-bad/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-1.3.3.tar.xz 3780940 SHA256 f2a5eb6534e1fee48f27634a5fe3b4f7241e69ff96031f20bf2efbba05f063b6 SHA512 aa736f53c0ef2deb182313c3a05666e5177d5992b701fb323e29869bae713f0b609503b6e9043defc18e6a489f683f987a3287e27d63866afe6ae7b53180ea6d WHIRLPOOL fe28dcba9a5dd25cc0f99778af37d7869b937c491d1ac830abbef1213ba76576f259d997bbc4b99ab0f03bfe31fed0209c014f90c20a17536a073c4230bc1a94 diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild new file mode 100644 index 0000000..00c7eb1 --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-bad" +inherit eutils flag-o-matic gstreamer + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="egl +introspection +orc vnc" + +# FIXME: we need to depend on mesa to avoid automagic on egl +# dtmf plugin moved from bad to good in 1.2 +# X11 is automagic for now, upstream #709530 +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-1.2:${SLOT}[${MULTILIB_USEDEP}] + egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + + !<media-libs/gst-plugins-good-1.1:${SLOT} +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +src_configure() { + strip-flags + replace-flags "-O3" "-O2" + filter-flags "-fprefetch-loop-arrays" # (Bug #22249) + + multilib-minimal_src_configure +} + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable orc) \ + $(use_enable vnc librfb) \ + --disable-examples \ + --disable-debug \ + --with-egl-window-system=$(usex egl x11 none) +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml new file mode 100644 index 0000000..c4beec6 --- /dev/null +++ b/media-libs/gst-plugins-bad/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gstreamer</herd> + <use> + <flag name="egl">Enable EGL support</flag> + </use> +</pkgmetadata> diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest new file mode 100644 index 0000000..f0d8363 --- /dev/null +++ b/media-libs/gst-plugins-base/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-base-1.3.3.tar.xz 2617804 SHA256 ccb09a64a9276f4cd3a1b6721e1c9c7ee1de6120e8b38ec2138914d76ba7953d SHA512 295b8d15cae7575c88cc94cc52239de536bc50a921256962be3f33c4dbcaaf6c448c90ca48be712f7346f47596150bd9d68e597090395da611ba384950348b4e WHIRLPOOL cbabeb7ae48e4dd71721af0f81f6886b433317530ea6044087e3b7e5155f368f7985ef541a5d74ad8395ad22c3e8f59eb9c5817e1b3e852c7cbbe6fdd4bcc719 diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild new file mode 100644 index 0000000..c1a7dc2 --- /dev/null +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-base" +inherit gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) +" + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-1.2.3:1.0[introspection?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.18[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 + X? ( + >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] ) +" + +src_prepare() { + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even + # though they are not actually used. This needs to be fixed upstream by + # replacing AC_PATH_XTRA with PKG_CONFIG calls, upstream bug #731047 + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die +} + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + $(use_enable alsa) \ + $(multilib_native_use_enable introspection) \ + $(use_enable ivorbis) \ + $(use_enable ogg) \ + $(use_enable orc) \ + $(use_enable pango) \ + $(use_enable theora) \ + $(use_enable vorbis) \ + $(use_enable X x) \ + $(use_enable X xshm) \ + $(use_enable X xvideo) \ + --disable-debug \ + --disable-examples \ + --disable-freetypetest \ + --disable-static + # cdparanoia and libvisual are split out, per leio's request + + # bug #366931, flag-o-matic for the whole thing is overkill + if [[ ${CHOST} == *86-*-darwin* ]] ; then + sed -i \ + -e '/FLAGS = /s|-O[23]|-O1|g' \ + gst/audioconvert/Makefile \ + gst/volume/Makefile || die + fi + + if multilib_is_native_abi; then + local x + for x in libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_install_all() { + DOCS="AUTHORS NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-base/metadata.xml b/media-libs/gst-plugins-base/metadata.xml new file mode 100644 index 0000000..7b5b837 --- /dev/null +++ b/media-libs/gst-plugins-base/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gstreamer</herd> + <use> + <flag name="pango">Enable pango GStreamer plugin</flag> + <flag name="ivorbis">Enable integer based vorbis decoder.</flag> + </use> +</pkgmetadata> diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest new file mode 100644 index 0000000..9cc8a9b --- /dev/null +++ b/media-libs/gst-plugins-good/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-good-1.3.3.tar.xz 3026940 SHA256 4706d0c40ec4d1da96946804319a0736affac8544421d72b86852a214891b1c6 SHA512 562f6bce3566fd0881a00f3ec75386cd5d567ac4effd4a8cac23623c49af495eb4930173a1be3abe5899f413ab81a5d8c7a78fee9365c9d3bc4d796b3b3b7b1a WHIRLPOOL 4132082542983bd512ad140a9621fa71d78b76f4c1e4130641775fd232a2037b2cc874284b9053da2e6ff349276aa677a2c2a612da174b847b31ecf8785f9854 diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild new file mode 100644 index 0000000..d923d80 --- /dev/null +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-good" +inherit eutils flag-o-matic gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="http://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +# dtmf plugin moved from bad to good in 1.2 +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.2.3:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-1.2.4:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + + !<media-libs/gst-plugins-bad-1.1:${SLOT} +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +src_configure() { + # gst doesnt handle optimisations well + strip-flags + replace-flags "-O3" "-O2" + filter-flags "-fprefetch-loop-arrays" # see bug 22249 + + multilib-minimal_src_configure +} + +multilib_src_configure() { + # Always enable optional bz2 support for matroska + # Always enable optional zlib support for qtdemux and matroska + # Many media files require these to work, as some container headers are often + # compressed, bug #291154 + gstreamer_multilib_src_configure \ + --enable-bz2 \ + --enable-zlib \ + --disable-examples \ + --with-default-audiosink=autoaudiosink \ + --with-default-visualizer=goom +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-good/metadata.xml b/media-libs/gst-plugins-good/metadata.xml new file mode 100644 index 0000000..d1096fb --- /dev/null +++ b/media-libs/gst-plugins-good/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gstreamer</herd> +</pkgmetadata> diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest new file mode 100644 index 0000000..12b85c2 --- /dev/null +++ b/media-libs/gstreamer/Manifest @@ -0,0 +1 @@ +DIST gstreamer-1.3.3.tar.xz 3316048 SHA256 363701c78713375e1f6a3679729386ce167db50dde2a70b0fc4354c03090738b SHA512 4757fdb0f23ea17e1d85e7700dced33795386077f8fc00ce4eb06275c430d065cf6e9c8a3ae4ad1ac4bbc3d03c80ef1347fd36a93810973e98888b86e5f9db3e WHIRLPOOL ba7c0a49aced2fc4e1d0c6ec448e315ce5a218471bad14e92b13e6d646f939ea74ebe1b6c1e78c142bb8888af8572fcbf54093f736955fa938bb338afde22754 diff --git a/media-libs/gstreamer/gstreamer-1.3.3.ebuild b/media-libs/gstreamer/gstreamer-1.3.3.ebuild new file mode 100644 index 0000000..ee3f445 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.3.3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils multilib multilib-minimal pax-utils + +DESCRIPTION="Streaming media framework" +HOMEPAGE="http://gstreamer.freedesktop.org/" +SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+introspection nls +orc test" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) +" +DEPEND="${RDEPEND} + app-arch/xz-utils + >=dev-util/gtk-doc-am-1.12 + sys-devel/bison + sys-devel/flex + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + nls? ( sys-devel/gettext ) +" +# gtk-doc-am to install API docs + +src_configure() { + if [[ ${CHOST} == *-interix* ]] ; then + export ac_cv_lib_dl_dladdr=no + export ac_cv_func_poll=no + fi + if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then + # GCC groks this, but then refers to an implementation (___multi3, + # ___udivti3) that don't exist (at least I can't find it), so force + # this one to be off, such that we use 2x64bit emulation code. + export gst_cv_uint128_t=no + fi + + multilib-minimal_src_configure +} + +multilib_src_configure() { + # Set 'libexecdir' to ABI-specific location for the library spawns + # helpers from there. + # Disable static archives, dependency tracking and examples + # to speed up build time + # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo + ECONF_SOURCE=${S} \ + econf \ + --libexecdir=/usr/$(get_libdir) \ + --disable-debug \ + --disable-examples \ + --disable-static \ + --disable-valgrind \ + --enable-check \ + $(multilib_native_use_enable introspection) \ + $(use_enable nls) \ + $(use_enable test tests) \ + --with-package-name="GStreamer ebuild for Gentoo" \ + --with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer" + + if multilib_is_native_abi; then + local x + for x in gst libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_install() { + # can't do "default", we want to install docs in multilib_src_install_all + emake DESTDIR="${D}" install + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE" + einstalldocs + prune_libtool_files --modules + + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}" +} diff --git a/media-libs/gstreamer/metadata.xml b/media-libs/gstreamer/metadata.xml new file mode 100644 index 0000000..5ed0f2f --- /dev/null +++ b/media-libs/gstreamer/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gstreamer</herd> + <use> + <flag name="orc">Disable some PaX memory protections to allow plugins + that use <pkg>dev-lang/orc</pkg> for runtime optimization to be + used on hardened PaX systems</flag> + </use> +</pkgmetadata> diff --git a/media-plugins/gst-plugins-faad/Manifest b/media-plugins/gst-plugins-faad/Manifest new file mode 100644 index 0000000..ab2b377 --- /dev/null +++ b/media-plugins/gst-plugins-faad/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-bad-1.3.3.tar.xz 3780940 SHA256 f2a5eb6534e1fee48f27634a5fe3b4f7241e69ff96031f20bf2efbba05f063b6 SHA512 aa736f53c0ef2deb182313c3a05666e5177d5992b701fb323e29869bae713f0b609503b6e9043defc18e6a489f683f987a3287e27d63866afe6ae7b53180ea6d WHIRLPOOL fe28dcba9a5dd25cc0f99778af37d7869b937c491d1ac830abbef1213ba76576f259d997bbc4b99ab0f03bfe31fed0209c014f90c20a17536a073c4230bc1a94 diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild new file mode 100644 index 0000000..39769dd --- /dev/null +++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-bad +inherit gstreamer + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/media-plugins/gst-plugins-faad/metadata.xml b/media-plugins/gst-plugins-faad/metadata.xml new file mode 100644 index 0000000..9e260ce --- /dev/null +++ b/media-plugins/gst-plugins-faad/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gstreamer</herd> +</pkgmetadata> |