diff options
Diffstat (limited to 'media-libs/libavif')
-rw-r--r-- | media-libs/libavif/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libavif/libavif-9999.ebuild | 14 | ||||
-rw-r--r-- | media-libs/libavif/metadata.xml | 1 |
3 files changed, 11 insertions, 8 deletions
diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest index 1591199153f8..a5f39e1eb75f 100644 --- a/media-libs/libavif/Manifest +++ b/media-libs/libavif/Manifest @@ -4,5 +4,5 @@ DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d EBUILD libavif-0.8.1.ebuild 1664 BLAKE2B 4d23f517dfb7afe074b36a3aef30ffde2ecddc49c0570e69aa54cedf31ae5dc2a499dd1e8f944fa44b606fb6302b49231ed8337d81f6e4fa6fde503794d80844 SHA512 32cb7970ba5fc28330c6b9575e693417c36116b7a57ff5aa1c4f88d6db039b3d14ec36b325d8df0f09bc56581b928725ed33f9093a46c39151409b103ffac9f6 EBUILD libavif-0.8.3.ebuild 1694 BLAKE2B 2c78f19dd03937d006bedc88142134a6e44932d706b9d7e48d4bf634e1887247aed5fb13d9cec1561240bba6a5a854f1a212b29f2946da15571a6a67013177d6 SHA512 df76aad645ed8f3b56db9aabd953920210ba6a9ce77cc376b30da25dad60f3b487e0eaad58137ef651dbdba3dc315834d3d8f297d8b3b5db6cc9a8dc34af3a64 EBUILD libavif-0.8.4.ebuild 1694 BLAKE2B 2c78f19dd03937d006bedc88142134a6e44932d706b9d7e48d4bf634e1887247aed5fb13d9cec1561240bba6a5a854f1a212b29f2946da15571a6a67013177d6 SHA512 df76aad645ed8f3b56db9aabd953920210ba6a9ce77cc376b30da25dad60f3b487e0eaad58137ef651dbdba3dc315834d3d8f297d8b3b5db6cc9a8dc34af3a64 -EBUILD libavif-9999.ebuild 1616 BLAKE2B 6fd97427b007b3ef0e892505eafd538cfd7eb13879fa6d5817608e4dfb027983b283b830b8a5a6fdaad10e764a3281f41a5a382286e27ffaa8db530d5f776749 SHA512 80003f7397e70ce3a50281c508fe43c96745a0c24b316a6f2f9b4abbfd6ff4312c2c3edf506d9325c5732c8ed379b050b503a9124ed62a4f3dcd6cf1c0d3bfc8 -MISC metadata.xml 772 BLAKE2B ef2759de03290413ee0922ceaa954c162589f2506d898c1da168ed4825967e06afe568e648d988a9b5ca36e31baf55476e8c63e0340e122084b3cd8a014bf6af SHA512 8b7ddd778f700afebbb2f5174af9139175e5048430e6bdf63bbbd75556c8b1f87626bc134b3a246f05cc33d8f9957e9670cd86e65ced919ec562f8af3e76f783 +EBUILD libavif-9999.ebuild 1728 BLAKE2B b05566cc98406688badc4551f3fb8be04649b768d0a03ce093d3cdc94dae7df6909fd4b030ac8d7cae557a32e630bcf8eeae0e02a8ca470d4b0cf23ab83f81f0 SHA512 82e73423d625c76c7199d6e6afce22c99f4bf82485da39e148448493a8cdfbd4fc6ce6c0af98ccca374b80e2452eb44ba748e47bcd0a921bfc67770c6448581d +MISC metadata.xml 843 BLAKE2B f95582a72acc4b86d02f246fca2a8c080ee96be8e649008f4b684cbf616c8201c3f6df1e258beb2e402add6da06fb3203254c902cf3613c4fd8d867f7f62b3e9 SHA512 80a0962deb24701c3b920c287875f26f4cdd8d282f0dc1af60039190833097bcdb78dabc0f82283035746a85a9a7b2d95241819fe6e0d36f3194bb2c62ea98e3 diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index ffaba14b1959..f4756e028039 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 2df8acaf8694..a1119e8ee76a 100644 --- a/media-libs/libavif/metadata.xml +++ b/media-libs/libavif/metadata.xml @@ -15,5 +15,6 @@ <flag name="extras">Build extra apps (avifenc, avifdec) and test files</flag> <flag name="gdk-pixbuf">Build a gdk-pixbuf loader</flag> <flag name="rav1e">Enable support for the rav1e codec encoding</flag> + <flag name="svt-av1">Enable support for the SVT-AV1 encoder</flag> </use> </pkgmetadata> |