summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <g.dartiguelongue@lexfo.fr>2016-01-31 17:03:39 +0100
committerGilles Dartiguelongue <g.dartiguelongue@lexfo.fr>2016-01-31 17:03:39 +0100
commit2b1329957ca7dcd75d83671e17b27ceafa464d4b (patch)
tree0557b823d45afc33c9954bd0a085ae4a9e45e63a /media-plugins
parentmedia-plugins/gst-plugins-x264: version bump to 1.6.3 (diff)
downloadgentoo-2b1329957ca7dcd75d83671e17b27ceafa464d4b.tar.gz
gentoo-2b1329957ca7dcd75d83671e17b27ceafa464d4b.tar.bz2
gentoo-2b1329957ca7dcd75d83671e17b27ceafa464d4b.zip
media-plugins/gst-plugins-libav: version bump to 1.6.3
Drop ia64 and sparc keyword due to ffmpeg requirement. Package-Manager: portage-2.2.27
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gst-plugins-libav/Manifest1
-rw-r--r--media-plugins/gst-plugins-libav/gst-plugins-libav-1.6.3.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest
index c4e47af8aebd..28f00c5e1ec1 100644
--- a/media-plugins/gst-plugins-libav/Manifest
+++ b/media-plugins/gst-plugins-libav/Manifest
@@ -1,3 +1,4 @@
DIST gst-libav-1.4.5.tar.xz 5220508 SHA256 605c62624604f3bb5c870844cc1f2711779cc533b004c2aa1d8c0d58557afbbc SHA512 a2f9250a51440358d205ef160119498d52cf4944fe810e736e4561f2cdbb8dabad6220d6e4da507f013c42bea69ce72acc373982642278de0a03605bbcd4f75f WHIRLPOOL 075ad91101def8ee8958eaf3051390a76efa3860a4d6796b7f5f86f9b175ca493aa3094e59b24b19c59025337683178f43346e887d7b5efe46b0f9aeadcd28d2
DIST gst-libav-1.6.1.tar.xz 7688468 SHA256 24d5e8e8b8c825af1a19aa80a27aba268ec383c8133fd4ef66e0e572ff6137a9 SHA512 9a484517bc1a2d1b1174b279848c5ab3eb4a07f3f14684bc309a0b0c90a8dc9bd34bb8e0e0e3536992c69a75a0feec7d04cc057d631cd686dcca26d791de9825 WHIRLPOOL 453532bd5088f7d61b4ece8812913bf668c66aba22b8f2ad9884221231dc7153a9d89dad6acd8682c0badf74f839c96640fd9b6bb96a8ccc0acc5d2c31277806
DIST gst-libav-1.6.2.tar.xz 7711908 SHA256 2597acc00171006d49f0d300440a87df51b113d557466e532153abc740db3469 SHA512 d324612eb21ed23702ffee1cdf6b7674cf7add5003fde310a64eab7793001a26d31640b5e72d86b98d2df0b9ac143dc0efcb5dd2c52dfbc9b8ad8be5f651541e WHIRLPOOL cea5ceff7d7d3618c63ec60ebd9dbfa96e9a832274809a7999f3c68312e619666208e7a9e3283763fcae822ffe9965451883e23052536893c20088c876e17212
+DIST gst-libav-1.6.3.tar.xz 7700700 SHA256 857b9c060a0337de38c6d26238c47352433c02eabf26c2f860c854dbc35bd4ab SHA512 8e5fde08921937f96814b7953e142fb9affa48b22f90ed5a5895ec2f7bdfe320c28f83a93c17c93ba933266a5163ce689c3ee803e78256b3d664516dffff7d08 WHIRLPOOL 12070c01d74bb512a62a755d77bc558b1d29d7ffefbeafc20ee193cf7ebe9b4411f6a09784f02a83ff749853e2a5cd6140a71e00631e247dccfd0cc005db98fd
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.6.3.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.6.3.ebuild
new file mode 100644
index 000000000000..134cc98a27f4
--- /dev/null
+++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.6.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils multilib-minimal
+
+MY_PN="gst-libav"
+DESCRIPTION="FFmpeg based gstreamer plugin"
+HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html"
+SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="libav +orc"
+
+# XXX: bzip2/lzma are automagic
+RDEPEND="
+ app-arch/bzip2
+ app-arch/xz-utils
+ >=media-libs/gstreamer-${PV}:1.0[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-${PV}:1.0[${MULTILIB_USEDEP}]
+ !libav? ( >=media-video/ffmpeg-2.8.5:0=[${MULTILIB_USEDEP}] )
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.12
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+multilib_src_configure() {
+ GST_PLUGINS_BUILD=""
+ # Upstream dropped support for system libav and won't work
+ # for preserving its compat anymore, forcing us to rely on internal
+ # ffmpeg copy if we don't want to cause unresolvable blockers for
+ # libav setups.
+ # https://bugzilla.gnome.org/show_bug.cgi?id=758183
+ # Prefer system ffmpeg for -libav
+ local myconf
+
+ if use libav; then
+ ewarn "Using internal ffmpeg copy as upstream dropped the"
+ ewarn "the support for compiling against system libav"
+ ewarn "http://bugzilla.gnome.org/show_bug.cgi?id=758183"
+ else
+ myconf="--with-system-libav"
+ fi
+
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-maintainer-mode \
+ --with-package-name="Gentoo GStreamer ebuild" \
+ --with-package-origin="https://www.gentoo.org" \
+ --disable-fatal-warnings \
+ $(use_enable orc) \
+ ${myconf}
+}
+
+multilib_src_compile() {
+ # Don't build with -Werror
+ emake ERROR_CFLAGS=
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --modules
+}