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 8269B138359 for ; Thu, 2 Jul 2020 14:28:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3118E0801; Thu, 2 Jul 2020 14:28:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C613E0801 for ; Thu, 2 Jul 2020 14:28:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 218FD34F02D for ; Thu, 2 Jul 2020 14:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25DCB233 for ; Thu, 2 Jul 2020 14:28:44 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1593700115.aa3f336eaaeba06e4b28fa579cd65a6488f6a8a4.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffmpeg/ffmpeg-4.3-r1.ebuild media-video/ffmpeg/ffmpeg-9999.ebuild media-video/ffmpeg/metadata.xml X-VCS-Directories: media-video/ffmpeg/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: aa3f336eaaeba06e4b28fa579cd65a6488f6a8a4 X-VCS-Branch: master Date: Thu, 2 Jul 2020 14:28:44 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f33e7d28-2510-4bfc-98f4-8624e0d4c202 X-Archives-Hash: 97ceeb9fa2bf36f9222aae50f1c7c2e7 commit: aa3f336eaaeba06e4b28fa579cd65a6488f6a8a4 Author: Alexis Ballier gentoo org> AuthorDate: Thu Jul 2 14:25:26 2020 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Jul 2 14:28:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa3f336e media-video/ffmpeg: add rav1e useflag for AV1 encoding. Closes: https://bugs.gentoo.org/701092 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Alexis Ballier gentoo.org> media-video/ffmpeg/{ffmpeg-9999.ebuild => ffmpeg-4.3-r1.ebuild} | 8 +++++--- media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++-- media-video/ffmpeg/metadata.xml | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-4.3-r1.ebuild similarity index 98% copy from media-video/ffmpeg/ffmpeg-9999.ebuild copy to media-video/ffmpeg/ffmpeg-4.3-r1.ebuild index 38ae54ed0ac..f337de3968d 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.3-r1.ebuild @@ -59,7 +59,7 @@ LICENSE=" samba? ( GPL-3 ) " if [ "${PV#9999}" = "${PV}" ] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" + KEYWORDS="~amd64 ~mips ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" fi # Options to use as use_enable in the foo[:bar] form. @@ -97,7 +97,7 @@ FFMPEG_FLAG_MAP=( FFMPEG_ENCODER_FLAG_MAP=( amrenc:libvo-amrwbenc mp3:libmp3lame kvazaar:libkvazaar libaom - openh264:libopenh264 snappy:libsnappy theora:libtheora twolame:libtwolame + openh264:libopenh264 rav1e:librav1e snappy:libsnappy theora:libtheora twolame:libtwolame wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265 xvid:libxvid ) @@ -185,6 +185,7 @@ RDEPEND=" kvazaar? ( >=media-libs/kvazaar-1.2.0[${MULTILIB_USEDEP}] ) mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) openh264? ( >=media-libs/openh264-1.4.0-r1[${MULTILIB_USEDEP}] ) + rav1e? ( media-video/rav1e:=[capi] ) snappy? ( >=app-arch/snappy-1.1.2-r1:=[${MULTILIB_USEDEP}] ) theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] @@ -325,6 +326,7 @@ S=${WORKDIR}/${P/_/-} PATCHES=( "${FILESDIR}"/chromium-r1.patch + "${FILESDIR}"/${PN}-4.3-fix-build-without-SSSE3.patch ) MULTILIB_WRAPPED_HEADERS=( @@ -392,7 +394,7 @@ multilib_src_configure() { # (temporarily) disable non-multilib deps if ! multilib_is_native_abi; then - for i in frei0r libzmq ; do + for i in frei0r librav1e libzmq ; do myconf+=( --disable-${i} ) done fi diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index 38ae54ed0ac..88bedca9d52 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -97,7 +97,7 @@ FFMPEG_FLAG_MAP=( FFMPEG_ENCODER_FLAG_MAP=( amrenc:libvo-amrwbenc mp3:libmp3lame kvazaar:libkvazaar libaom - openh264:libopenh264 snappy:libsnappy theora:libtheora twolame:libtwolame + openh264:libopenh264 rav1e:librav1e snappy:libsnappy theora:libtheora twolame:libtwolame wavpack:libwavpack webp:libwebp x264:libx264 x265:libx265 xvid:libxvid ) @@ -185,6 +185,7 @@ RDEPEND=" kvazaar? ( >=media-libs/kvazaar-1.2.0[${MULTILIB_USEDEP}] ) mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) openh264? ( >=media-libs/openh264-1.4.0-r1[${MULTILIB_USEDEP}] ) + rav1e? ( media-video/rav1e:=[capi] ) snappy? ( >=app-arch/snappy-1.1.2-r1:=[${MULTILIB_USEDEP}] ) theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] @@ -392,7 +393,7 @@ multilib_src_configure() { # (temporarily) disable non-multilib deps if ! multilib_is_native_abi; then - for i in frei0r libzmq ; do + for i in frei0r librav1e libzmq ; do myconf+=( --disable-${i} ) done fi diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml index f6e9c9f3cf8..68731ff2842 100644 --- a/media-video/ffmpeg/metadata.xml +++ b/media-video/ffmpeg/metadata.xml @@ -48,6 +48,7 @@ Enables dev-libs/openssl support. Adds support for encrypted network protocols (TLS/HTTPS). Force shared libraries to be built as PIC (this is slower) Build and install libpostproc. + Enables AV1 encoding support via media-video/rav1e. Adds time-stretching and pitch-shifting audio filter based on media-libs/rubberband. Enable app-arch/snappy support. Required for e.g. Vidvox Hap encoder. Enable support for Secure Reliable Transport (SRT) via net-libs/srt