media-libs/gst-plugins-bad: version bump 1.8.2 → 1.8.3
authorGilles Dartiguelongue <eva@gentoo.org>
Sun, 18 Sep 2016 09:41:25 +0000 (11:41 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Sun, 18 Sep 2016 22:43:13 +0000 (00:43 +0200)
Package-Manager: portage-2.3.0

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

index 4050bb409c152440211a5be567d4c57a0ebf9e07..a0732440898a68335ab83d6b8d9480de15211aad 100644 (file)
@@ -3,3 +3,4 @@ DIST gst-plugins-bad-0.10.23.tar.xz 3155044 SHA256 03cf0786391c64625569072e90408
 DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c SHA512 65d6be58957b1329420611b8e6f1eb9869420745d9165047631cdf9e45083605f37dcfaf68a288fe4252f1b3543f7f70ded9c12eab2e0ac4ac9f4c4ce9eaac7a WHIRLPOOL f5ade3f101ca82b52e7145e5ac16f5c1ab5d042415ee7753586dc6ad0942467c4c5b5b4aa6b0bc44e1ebd9c40de1964df265aa41599cb692fd32aab2b6a7acf7
 DIST gst-plugins-bad-1.6.3.tar.xz 4216940 SHA256 971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61 SHA512 0a3a1d3617f167e69c20db3fccf7af0c4983b8012136093dcc3d08c059d0d8687cf921309c91f94afb250e0c3b9f9ff397a98ff548ca83dc12ae762119ffc915 WHIRLPOOL eb1f1376ee9b36da09f93b14d587169a007578f7cfdce3981ae905638c28f32b85a2f2667fc347f0b9ff4aaa51512f9726377c9ab3c73040886eab9a09833612
 DIST gst-plugins-bad-1.8.2.tar.xz 4455536 SHA256 d7995317530c8773ec088f94d9320909d41da61996b801ebacce9a56af493f97 SHA512 0b8a7df6b60f24655b463dedae71de6c92dbbbc3bdf42f4b722caaee17cd701ae3c078a2ca81a9d6568123aeade20a8a3759f72a7a9806f4533375d61ab028b6 WHIRLPOOL a7af68b86bfff8c19683dd5afaaed6ea627b6d2fa54103ccc1310909ff500d36ee2c72a5bd66f2074f2bcf9f8292733dd09101ece26c47b54a18598364e39415
+DIST gst-plugins-bad-1.8.3.tar.xz 4500300 SHA256 7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b SHA512 3676903fea7a5b078187c3b295208bc24b567ba4e965035db603cf8106e34ca619668253ff4320b192c4e3d1698572e6591bf7fb7253bd2399e7986711bb85c4 WHIRLPOOL 7dbe853dd83b15c33a78da1cbe43d121dd92e90b9b0016ba8f77fbc8f4b6c4167fd508ed9ae0370c03a2b548a765539ed7a45e5dd0418bb6f66d789e133ee7c5
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.8.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.8.3.ebuild
new file mode 100644 (file)
index 0000000..5f522b0
--- /dev/null
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+GST_ORG_MODULE="gst-plugins-bad"
+
+inherit eutils flag-o-matic gstreamer virtualx
+
+DESCRIPTION="Less plugins for GStreamer"
+HOMEPAGE="https://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 bzip2 egl gles2 gtk +introspection opengl +orc vcd vnc wayland"
+REQUIRED_USE="
+       egl? ( !gles2 )
+       gles2? ( !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.40.0: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:= )
+
+       bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+       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-1.4.0[${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() {
+       default
+       addpredict /dev # Prevent sandbox violations bug #570624
+}
+
+multilib_src_configure() {
+       local myconf=()
+       if use opengl || use gles2 ; then
+               # Actually enable the gl element, not just libs
+               myconf+=( --enable-gl )
+       fi
+
+       # Always enable gsettings (no extra dependency)
+       # and shm (need a switch for winnt ?)
+       gstreamer_multilib_src_configure \
+               $(multilib_native_use_enable introspection) \
+               $(use_enable bzip2 bz2) \
+               $(use_enable egl) \
+               $(use_enable gles2) \
+               $(use_enable gtk gtk3) \
+               $(use_enable opengl) \
+               $(use_enable opengl glx) \
+               $(use_enable orc) \
+               $(use_enable vcd) \
+               $(use_enable vnc librfb) \
+               $(use_enable wayland) \
+               $(use_enable X x11) \
+               --disable-examples \
+               --disable-debug \
+               --disable-cocoa \
+               --without-player-tests \
+               --disable-wgl \
+               --enable-shm \
+               ${myconf[$@]}
+               # not ported
+               # --enable-gsettings
+
+       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
+       # Tests are slower than upstream expects
+       virtx emake check CK_DEFAULT_TIMEOUT=300
+}
+
+multilib_src_install_all() {
+       DOCS="AUTHORS ChangeLog NEWS README RELEASE"
+       einstalldocs
+       prune_libtool_files --modules
+}
index a704343f9815e042c53fd088574564657a835800..c51baf610a1523c05b920b31f8e28e53a0f3f92b 100644 (file)
@@ -6,6 +6,7 @@
                <name>GStreamer package maintainers</name>
        </maintainer>
        <use>
+               <flag name="bzip2">Enable bzip2 encoder/decoder plugin</flag>
                <flag name="egl">Enable EGL support</flag>
                <flag name="gles2">Enable GLES2 support</flag>
        </use>