From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 015B2139695 for ; Sun, 18 Jun 2017 08:31:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 138DE234020; Sun, 18 Jun 2017 08:31:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D18E223401E for ; Sun, 18 Jun 2017 08:31:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D09A53419E6 for ; Sun, 18 Jun 2017 08:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5C32749A for ; Sun, 18 Jun 2017 08:31:27 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1497774649.f38ff1964718fd92a4a990ac259c2fb12c48311a.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-libav/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/gst-plugins-libav/Manifest media-plugins/gst-plugins-libav/gst-plugins-libav-1.10.5.ebuild X-VCS-Directories: media-plugins/gst-plugins-libav/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: f38ff1964718fd92a4a990ac259c2fb12c48311a X-VCS-Branch: master Date: Sun, 18 Jun 2017 08:31:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e66e034e-15b1-44ed-8e3a-915d32e499ff X-Archives-Hash: c4b060a03a2d8c3532e23b946288faf7 commit: f38ff1964718fd92a4a990ac259c2fb12c48311a Author: Mart Raudsepp gentoo org> AuthorDate: Sun Jun 18 08:00:27 2017 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sun Jun 18 08:30:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38ff196 media-plugins/gst-plugins-libav: bump to 1.10.5 Updates bundled ffmpeg from 3.2.4 to 3.2.5 (used with USE=libav) and ignores CUVID codecs (nvidia hardware accelerated stuff), as hw stuff needs special gst handling, which is not present (or handled by other plugins, not sure) Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-plugins/gst-plugins-libav/Manifest | 1 + .../gst-plugins-libav-1.10.5.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest index 0bc58e81eff..db4c18637f4 100644 --- a/media-plugins/gst-plugins-libav/Manifest +++ b/media-plugins/gst-plugins-libav/Manifest @@ -1,3 +1,4 @@ DIST gst-libav-1.10.3.tar.xz 8535624 SHA256 9a6bc165b1862b18b98d9f1755c43806e4839a80f69ec7ea9a2dab61b65752a9 SHA512 9f394fc5a23fa887e65c851836d338f9eb55be2a981429cfa7175e1112465696b1326386ef45d675bf1186cf8f1fec50dd0861273c763aa20ab97aaa257a1907 WHIRLPOOL 0833598516fd5f71a7cc105a4508f9301aee8c5db3569010ceabd270a8059679661508e8e2ae4e6e9147212f1454868e3244d631fbaff9bdde22ca865247331a DIST gst-libav-1.10.4.tar.xz 8535052 SHA256 6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b SHA512 4037c4651c9f4c0e677f1f8136194c16319507dec3992270c1f98d461a69a55653d261ade45add833103872455e09c30695318181e81242ce78d1c2a2b95ca9c WHIRLPOOL 441ed31e9886a71bace9fadd9edcf8102db621cffa9185c087535e7fa4daedb14dd2cbf3a067868f821d36b58982b482c0c37d82907e079cbe0f3e48bb8a27f3 +DIST gst-libav-1.10.5.tar.xz 8545300 SHA256 e4d2f315f478d47281fbfdfbd590a63d23704ca37911d7142d5992616f4b28d3 SHA512 a0636a3b32a5c20eba69a0002fc549facebb0211774e13dd526a3a1eb710f3342662179af6275d619d5075ad0f6dc7068b9950cfb0c60e3ad48249475b39216b WHIRLPOOL 3b3ed00516ab8c4599ec249619390f4c4d478299bb5e14c2bbf532ab67d57881cf0584d33c78a6c5839008179b7815add6bf95437c7f2c65408469f9c4167457 DIST gst-libav-1.8.3.tar.xz 7958532 SHA256 9006a05990089f7155ee0e848042f6bb24e52ab1d0a59ff8d1b5d7e33001a495 SHA512 49aa96197cd32ad31e280870495d64cdfe4bde67507e9cb166b80d0c394b510e734befa3ff13d6fe0711be0ffa24dd0a63a77fb62af91ab776d9844059cb839d WHIRLPOOL 0109f897ce7d42d21b467b42a661f02900896ea90c085f731b1c69de9c4913de36f3d48544db6fd44a5b828614947b6b9b1d851af2c5f739fbb537ac3022af88 diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.10.5.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.10.5.ebuild new file mode 100644 index 00000000000..d49ce7c7515 --- /dev/null +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.10.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +MY_PN="gst-libav" +DESCRIPTION="FFmpeg based gstreamer plugin" +HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" +SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="libav +orc" + +# XXX: bzip2/lzma are automagic +# Move back to ${PV} deps of gstreamer/gst-plugins-base later; 1.10.4 had it reduced for lone security stabilization +RDEPEND=" + app-arch/bzip2 + app-arch/xz-utils + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-1.10.3:1.0[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-1.10.3:1.0[${MULTILIB_USEDEP}] + !libav? ( >=media-video/ffmpeg-3.2.4: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}" + +RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly + +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" + 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 +}