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 1663413835A for ; Fri, 15 Jan 2021 08:45:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EFA4E088C; Fri, 15 Jan 2021 08:44:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2822CE088C for ; Fri, 15 Jan 2021 08:44:59 +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 040A3340E86 for ; Fri, 15 Jan 2021 08:44:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 296F74A5 for ; Fri, 15 Jan 2021 08:44:55 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1610700279.97a982cf9391ab9857b3c2e797ef1a86b7e03ca1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libavif/libavif-9999.ebuild media-libs/libavif/metadata.xml X-VCS-Directories: media-libs/libavif/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 97a982cf9391ab9857b3c2e797ef1a86b7e03ca1 X-VCS-Branch: master Date: Fri, 15 Jan 2021 08:44:55 +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: bd841d77-6611-4e3e-b955-2af7889a525c X-Archives-Hash: 33cdd82b2a20023024df245e24aa545e commit: 97a982cf9391ab9857b3c2e797ef1a86b7e03ca1 Author: Daniel Novomesky gmail com> AuthorDate: Mon Jan 11 08:56:58 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Jan 15 08:44:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a982cf media-libs/libavif: add svt-av1 use flag to live ebuild Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Daniel Novomesky gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19027 Signed-off-by: Joonas Niilola gentoo.org> media-libs/libavif/libavif-9999.ebuild | 14 ++++++++------ media-libs/libavif/metadata.xml | 1 + 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index ffaba14b195..f4756e02803 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git" LICENSE="BSD-2" SLOT="0" KEYWORDS="" -IUSE="+aom dav1d examples extras gdk-pixbuf rav1e" +IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1" DEPEND="media-libs/libpng sys-libs/zlib @@ -20,7 +20,8 @@ DEPEND="media-libs/libpng aom? ( >=media-libs/libaom-2.0.0 ) dav1d? ( media-libs/dav1d ) gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) - rav1e? ( media-video/rav1e[capi] )" + rav1e? ( media-video/rav1e[capi] ) + svt-av1? ( >=media-libs/svt-av1-0.8.6 )" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" @@ -33,6 +34,7 @@ src_configure() { -DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF) -DAVIF_CODEC_LIBGAV1=OFF -DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF) + -DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF) # Use system libraries. -DAVIF_LOCAL_ZLIBPNG=OFF @@ -55,10 +57,10 @@ pkg_preinst() { } pkg_postinst() { - if ! use aom && ! use rav1e ; then - ewarn "aom and rav1e flags are not set," + if ! use aom && ! use rav1e && ! use svt-av1 ; then + ewarn "No AV1 encoder is set," ewarn "libavif will work in read-only mode." - ewarn "Enable aom or rav1e flag if you want to save .AVIF files." + ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." fi if use gdk-pixbuf ; then diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml index 2df8acaf869..a1119e8ee76 100644 --- a/media-libs/libavif/metadata.xml +++ b/media-libs/libavif/metadata.xml @@ -15,5 +15,6 @@ Build extra apps (avifenc, avifdec) and test files Build a gdk-pixbuf loader Enable support for the rav1e codec encoding + Enable support for the SVT-AV1 encoder