media-libs/gst-plugins-bad: version bump to 1.6.2
authorGilles Dartiguelongue <eva@gentoo.org>
Sat, 26 Dec 2015 17:51:36 +0000 (18:51 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Sat, 26 Dec 2015 18:20:00 +0000 (19:20 +0100)
Package-Manager: portage-2.2.26

media-libs/gst-plugins-bad/Manifest
media-libs/gst-plugins-bad/gst-plugins-bad-1.6.2.ebuild [new file with mode: 0644]

index 9d16f5e7717909d86ff4c83abb5846d69cae76c7..10d6bd6e6c645842d290b0b516417de3e54134dd 100644 (file)
@@ -2,3 +2,4 @@ DIST gst-plugins-bad-0.10.23-h264-patches.tar.xz 5284 SHA256 40890e4d7792d1b4e18
 DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 WHIRLPOOL dd657100909c32ab75cb8aada8db24d68ddf7a10dc0eb055982d7e4d9ae7a50c364eeac9017cea8b176734fc09cf7f8e4e8f52d24e3173806633ddb8a7acd93c
 DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7
 DIST gst-plugins-bad-1.6.1.tar.xz 4215876 SHA256 e176a9af125f6874b3d6724aa7566a198fa225d3ece0a7ac2f2b51c57e525466 SHA512 336a449a23cc11c31fc744828746946de1107e31bd60bf1ba7e3b74d906bda691e917093d04a03249aabcdfc5af0a26ea2a04e343b2b744b1d404b0a5071bdd6 WHIRLPOOL 5cfaeef59b43c9c4fb70acb01f6cd31861e95904a618b02bcfa37afc81919239e1727f9e7da2bf2ee415c0525f3b7955289adbbf9099c9696f83128f7ffdf844
+DIST gst-plugins-bad-1.6.2.tar.xz 4187644 SHA256 650855e39ff56a8bb6cb0c192109c5926ce12f536d06e19ebf829de71ef396fe SHA512 f2d14d32047440a64daf341f9538fcb37c8b808d5ba19e8e9d4b7f9439b77f81cfc791e72193cb69f280a038162921bc9670cc340905850bec656ed4fe488fb5 WHIRLPOOL 7ae8e20c706f3526a5cdd5b4d086dfcf86af4f93e6ba0d60f655c211ca41b80c841004d0fc2134ad3f77c3600913dff0d94610dc5751acbbc4b9305c5600e8dc
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.6.2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.6.2.ebuild
new file mode 100644 (file)
index 0000000..6d192fb
--- /dev/null
@@ -0,0 +1,97 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GST_ORG_MODULE="gst-plugins-bad"
+
+inherit eutils flag-o-matic gstreamer virtualx
+
+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="X egl gles2 gtk +introspection opengl +orc vnc wayland"
+REQUIRED_USE="
+       egl? ( !gles2 )
+       gles2? ( !egl !opengl )
+       opengl? ( X )
+       wayland? ( 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/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
+       >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
+       introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
+
+       egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] )
+       gles2? ( >=media-libs/mesa-9.1.6[gles2,${MULTILIB_USEDEP}] )
+       opengl? (
+               >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP}]
+               virtual/glu[${MULTILIB_USEDEP}] )
+       X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
+       wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
+
+       gtk? ( >=x11-libs/gtk+-3.15:3[X?,wayland?,${MULTILIB_USEDEP}] )
+       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_prepare() {
+       # FIXME: tests are slower than upstream expects
+       sed -e 's:/\* tcase_set_timeout.*:tcase_set_timeout (tc_chain, 5 * 60);:' \
+               -i tests/check/elements/audiomixer.c || die
+}
+
+multilib_src_configure() {
+       local myconf=()
+       if use opengl || use gles2 ; then
+               # Actually enable the gl element, not just libs
+               myconf+=( --enable-gl )
+       fi
+
+       gstreamer_multilib_src_configure \
+               $(multilib_native_use_enable introspection) \
+               $(use_enable egl) \
+               $(use_enable gles2) \
+               $(use_enable gtk gtk3) \
+               $(use_enable opengl) \
+               $(use_enable opengl glx) \
+               $(use_enable orc) \
+               $(use_enable vnc librfb) \
+               $(use_enable X x11) \
+               $(use_enable wayland) \
+               --disable-examples \
+               --disable-debug \
+               --disable-cocoa \
+               --disable-wgl \
+               ${myconf[$@]}
+
+       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_test() {
+       unset DISPLAY
+       # FIXME: tests are slower than upstream expects
+       Xemake check -j1
+}
+
+multilib_src_install_all() {
+       DOCS="AUTHORS ChangeLog NEWS README RELEASE"
+       einstalldocs
+       prune_libtool_files --modules
+}