public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-09-25  9:34 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-09-25  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     492444c463ca19391c19706f608d96ffe0f59687
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 09:34:24 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 09:34:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492444c4

media-libs/libavif: Library for encoding and decoding .avif files

 - rdep of dev-libs/efl[avif]

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.8.1.ebuild | 47 +++++++++++++++++++++++++++++++++
 media-libs/libavif/metadata.xml         | 14 ++++++++++
 3 files changed, 62 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
new file mode 100644
index 00000000000..ca355de574c
--- /dev/null
+++ b/media-libs/libavif/Manifest
@@ -0,0 +1 @@
+DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
new file mode 100644
index 00000000000..94fc5ce369f
--- /dev/null
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+aom dav1d examples extras rav1e"
+
+DEPEND="media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	aom? ( media-libs/libaom )
+	dav1d? ( media-libs/dav1d )
+	rav1e? ( media-video/rav1e )"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-lang/nasm
+	virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aom dav1d rav1e )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+	)
+
+	cmake_src_configure
+}

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
new file mode 100644
index 00000000000..58fba5b72b3
--- /dev/null
+++ b/media-libs/libavif/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+  <email>juippis@gentoo.org</email>
+  <name>Joonas Niilola</name>
+  </maintainer>
+  <use>
+    <flag name="aom">Enable support for the AOM codec encoding and decoding</flag>
+    <flag name="dav1d">Enable support for the dav1d codec encoding and decoding</flag>
+    <flag name="extras">Build extra apps and test files</flag>
+    <flag name="rav1e">Enable support for the rav1e codec encoding and decoding</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-09-25 13:49 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-09-25 13:49 UTC (permalink / raw
  To: gentoo-commits

commit:     59fbd28c90eb7bad6ca598f92a51f3e001084025
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 13:48:39 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 13:49:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59fbd28c

media-libs/libavif: drop redundant BDEPEND on nasm

 - seems to work fine without, ~amd64.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index 94fc5ce369f..f7efdd4f83f 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -21,8 +21,7 @@ DEPEND="media-libs/libpng
 	dav1d? ( media-libs/dav1d )
 	rav1e? ( media-video/rav1e )"
 RDEPEND="${DEPEND}"
-BDEPEND="dev-lang/nasm
-	virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
 
 REQUIRED_USE="|| ( aom dav1d rav1e )"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-09-27 10:27 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-09-27 10:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b73d8b20bf8c158dd20b80e17c59d4136744e0d9
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Sun Sep 27 08:55:23 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 10:27:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b73d8b20

media-libs/libavif: Add gdk-pixbuf use flag, add live ebuild

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17690
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild            | 39 +++++++++++++++++---
 .../{libavif-0.8.1.ebuild => libavif-9999.ebuild}  | 43 ++++++++++++++++++----
 media-libs/libavif/metadata.xml                    | 19 +++++++---
 3 files changed, 82 insertions(+), 19 deletions(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index f7efdd4f83f..95d3907fe7f 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -3,27 +3,28 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="BSD"
+LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+aom dav1d examples extras rav1e"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng
 	sys-libs/zlib
 	virtual/jpeg
-	aom? ( media-libs/libaom )
+	aom? ( >=media-libs/libaom-2.0.0 )
 	dav1d? ( media-libs/dav1d )
-	rav1e? ( media-video/rav1e )"
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="|| ( aom dav1d rav1e )"
+REQUIRED_USE="|| ( aom dav1d )"
 
 src_configure() {
 	local mycmakeargs=(
@@ -40,7 +41,33 @@ src_configure() {
 		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
 		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 
 	cmake_src_configure
 }
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	if ! use aom && ! use rav1e ; then
+		ewarn "aom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-9999.ebuild
similarity index 50%
copy from media-libs/libavif/libavif-0.8.1.ebuild
copy to media-libs/libavif/libavif-9999.ebuild
index f7efdd4f83f..ffaba14b195 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -3,27 +3,28 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake git-r3 gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 
-LICENSE="BSD"
+LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+aom dav1d examples extras rav1e"
+KEYWORDS=""
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng
 	sys-libs/zlib
 	virtual/jpeg
-	aom? ( media-libs/libaom )
+	aom? ( >=media-libs/libaom-2.0.0 )
 	dav1d? ( media-libs/dav1d )
-	rav1e? ( media-video/rav1e )"
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="|| ( aom dav1d rav1e )"
+REQUIRED_USE="|| ( aom dav1d )"
 
 src_configure() {
 	local mycmakeargs=(
@@ -40,7 +41,33 @@ src_configure() {
 		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
 		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 
 	cmake_src_configure
 }
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	if ! use aom && ! use rav1e ; then
+		ewarn "aom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
index 58fba5b72b3..31ef145a4ce 100644
--- a/media-libs/libavif/metadata.xml
+++ b/media-libs/libavif/metadata.xml
@@ -2,13 +2,22 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
-  <email>juippis@gentoo.org</email>
-  <name>Joonas Niilola</name>
+    <email>juippis@gentoo.org</email>
+    <name>Joonas Niilola</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>dnovomesky@gmail.com</email>
+    <name>Daniel Novomesky</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
   </maintainer>
   <use>
     <flag name="aom">Enable support for the AOM codec encoding and decoding</flag>
-    <flag name="dav1d">Enable support for the dav1d codec encoding and decoding</flag>
-    <flag name="extras">Build extra apps and test files</flag>
-    <flag name="rav1e">Enable support for the rav1e codec encoding and decoding</flag>
+    <flag name="dav1d">Enable support for the dav1d codec decoding</flag>
+    <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>
   </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-09-27 19:28 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2020-09-27 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2ce6a5d2f9ed0fd9dae4dc89881a03f65a2a52ff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 19:28:42 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 19:28:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce6a5d2

media-libs/libavif: Keyword 0.8.1 arm64, #744637

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index 95d3907fe7f..d4db150cb62 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-09-29 11:40 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2020-09-29 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     aabff04fc4065c4d1946808dbaf13e68d4e9e1bc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 29 11:40:11 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 29 11:40:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabff04f

media-libs/libavif: Keyword 0.8.1 arm, #744637

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index d4db150cb62..4d120a5e644 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-10-01 22:29 Sergei Trofimovich
  0 siblings, 0 replies; 73+ messages in thread
From: Sergei Trofimovich @ 2020-10-01 22:29 UTC (permalink / raw
  To: gentoo-commits

commit:     d28f5defb5f9fb720a1c4cc02948e82810acbed2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  1 22:29:42 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct  1 22:29:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d28f5def

media-libs/libavif: keyworded 0.8.1 for ppc64

keyworded wrt bug #744637

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index 4d120a5e644..812b8fa1255 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-10-17 16:46 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-10-17 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     c1e07fbbc63adc8f1e946d3a56e27558e5b77c46
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Oct 15 09:50:47 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 16:46:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e07fbb

media-libs/libavif: 0.8.2 version bump

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17933
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.8.2.ebuild | 75 +++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index ca355de574c..6ed24fe7def 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1 +1,2 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
+DIST libavif-0.8.2.tar.gz 2940396 BLAKE2B b22a6fdd0f3fd3bbe46e3d51164958e71551c68f47f5d2677e37f1d137c86bdf1fa035a507f13e6d561fb070e35a4e093af3500a9fca431e8752b2aefe9ce9a0 SHA512 51034084b5a508763653e16512298c3ad57c07022327cf42c9e12728ac30e102c69dc43d6569cb39ee4a63cb81a98947b72201373d3a909b3f1b2f6f59aaa433

diff --git a/media-libs/libavif/libavif-0.8.2.ebuild b/media-libs/libavif/libavif-0.8.2.ebuild
new file mode 100644
index 00000000000..3af174f791a
--- /dev/null
+++ b/media-libs/libavif/libavif-0.8.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
+
+DEPEND="media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	aom? ( >=media-libs/libaom-2.0.0 )
+	dav1d? ( media-libs/dav1d )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	if ! use aom && ! use rav1e ; then
+		ewarn "aom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-10 17:27 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-10 17:27 UTC (permalink / raw
  To: gentoo-commits

commit:     34cf8dbf138dfa8e447095d9964f2f6bb432484c
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 17:26:43 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 17:27:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34cf8dbf

media-libs/libavif: remove old 0.8.2

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 -
 media-libs/libavif/libavif-0.8.2.ebuild | 75 ---------------------------------
 2 files changed, 76 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 4ffd6d4e343..5191a1181b6 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,2 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
-DIST libavif-0.8.2.tar.gz 2940396 BLAKE2B b22a6fdd0f3fd3bbe46e3d51164958e71551c68f47f5d2677e37f1d137c86bdf1fa035a507f13e6d561fb070e35a4e093af3500a9fca431e8752b2aefe9ce9a0 SHA512 51034084b5a508763653e16512298c3ad57c07022327cf42c9e12728ac30e102c69dc43d6569cb39ee4a63cb81a98947b72201373d3a909b3f1b2f6f59aaa433
 DIST libavif-0.8.3.tar.gz 2948213 BLAKE2B 985c18c86eb7d2049bac21111ba861b141806504b38d2fe0828745f6112c254633dc27fc7257fab5dadb866991085776bd9beeaceca15f33d216eb9337db42e9 SHA512 d8624cd63489f7c17dbafe1a91d01dca21143be073295f2bed9491d5e7899ec0163881e16f3331e5653cdf447e7fb56fb52b9260264cdd7c7ad0e3aaf5695b6c

diff --git a/media-libs/libavif/libavif-0.8.2.ebuild b/media-libs/libavif/libavif-0.8.2.ebuild
deleted file mode 100644
index 3af174f791a..00000000000
--- a/media-libs/libavif/libavif-0.8.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
-
-DEPEND="media-libs/libpng
-	sys-libs/zlib
-	virtual/jpeg
-	aom? ( >=media-libs/libaom-2.0.0 )
-	dav1d? ( media-libs/dav1d )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
-	rav1e? ( media-video/rav1e[capi] )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	cmake_src_configure
-}
-
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
-pkg_postinst() {
-	if ! use aom && ! use rav1e ; then
-		ewarn "aom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
-	fi
-
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}
-
-pkg_postrm() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-10 17:27 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-10 17:27 UTC (permalink / raw
  To: gentoo-commits

commit:     635e3ee7be9f7849b26423f8ed45de90562510c6
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Tue Nov 10 13:01:51 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 17:27:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635e3ee7

media-libs/libavif: version bump to 0.8.3

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18213
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.8.3.ebuild | 75 +++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 6ed24fe7def..4ffd6d4e343 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
 DIST libavif-0.8.2.tar.gz 2940396 BLAKE2B b22a6fdd0f3fd3bbe46e3d51164958e71551c68f47f5d2677e37f1d137c86bdf1fa035a507f13e6d561fb070e35a4e093af3500a9fca431e8752b2aefe9ce9a0 SHA512 51034084b5a508763653e16512298c3ad57c07022327cf42c9e12728ac30e102c69dc43d6569cb39ee4a63cb81a98947b72201373d3a909b3f1b2f6f59aaa433
+DIST libavif-0.8.3.tar.gz 2948213 BLAKE2B 985c18c86eb7d2049bac21111ba861b141806504b38d2fe0828745f6112c254633dc27fc7257fab5dadb866991085776bd9beeaceca15f33d216eb9337db42e9 SHA512 d8624cd63489f7c17dbafe1a91d01dca21143be073295f2bed9491d5e7899ec0163881e16f3331e5653cdf447e7fb56fb52b9260264cdd7c7ad0e3aaf5695b6c

diff --git a/media-libs/libavif/libavif-0.8.3.ebuild b/media-libs/libavif/libavif-0.8.3.ebuild
new file mode 100644
index 00000000000..3af174f791a
--- /dev/null
+++ b/media-libs/libavif/libavif-0.8.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
+
+DEPEND="media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	aom? ( >=media-libs/libaom-2.0.0 )
+	dav1d? ( media-libs/dav1d )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	if ! use aom && ! use rav1e ; then
+		ewarn "aom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-12  7:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-12  7:28 UTC (permalink / raw
  To: gentoo-commits

commit:     4248f9f1ea0049baef47f6fc5433f5869dfc0a7e
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 12 07:25:08 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 12 07:27:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4248f9f1

media-libs/libavif: stabilize 0.8.1 on amd64

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index 51b5a16e119..08a52350062 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-12  7:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-12  7:28 UTC (permalink / raw
  To: gentoo-commits

commit:     fbe5529811056de6889afdf125679b299d37a421
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 12 07:04:25 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 12 07:27:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe55298

media-libs/libavif: stabilize 0.8.1 on x86

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
index 812b8fa1255..51b5a16e119 100644
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-25 11:29 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-25 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     98727f40ac87c8ce371a303ed2d93318b7793cbc
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Nov 25 10:17:47 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 11:29:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98727f40

media-libs/libavif: 0.8.4 version bump

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18397
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.8.4.ebuild | 75 +++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 5191a1181b6..39804718120 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
 DIST libavif-0.8.3.tar.gz 2948213 BLAKE2B 985c18c86eb7d2049bac21111ba861b141806504b38d2fe0828745f6112c254633dc27fc7257fab5dadb866991085776bd9beeaceca15f33d216eb9337db42e9 SHA512 d8624cd63489f7c17dbafe1a91d01dca21143be073295f2bed9491d5e7899ec0163881e16f3331e5653cdf447e7fb56fb52b9260264cdd7c7ad0e3aaf5695b6c
+DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba

diff --git a/media-libs/libavif/libavif-0.8.4.ebuild b/media-libs/libavif/libavif-0.8.4.ebuild
new file mode 100644
index 00000000000..3af174f791a
--- /dev/null
+++ b/media-libs/libavif/libavif-0.8.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
+
+DEPEND="media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	aom? ( >=media-libs/libaom-2.0.0 )
+	dav1d? ( media-libs/dav1d )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	if ! use aom && ! use rav1e ; then
+		ewarn "aom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2020-11-26  7:53 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2020-11-26  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     fd3306b5db2a3e1fadd11d0f5592a353e9351977
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 07:52:46 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 07:52:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3306b5

media-libs/libavif: remove myself as maintainer

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
index 31ef145a4ce..2df8acaf869 100644
--- a/media-libs/libavif/metadata.xml
+++ b/media-libs/libavif/metadata.xml
@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>juippis@gentoo.org</email>
-    <name>Joonas Niilola</name>
-  </maintainer>
   <maintainer type="person">
     <email>dnovomesky@gmail.com</email>
     <name>Daniel Novomesky</name>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-01-15  8:44 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2021-01-15  8:44 UTC (permalink / raw
  To: gentoo-commits

commit:     97a982cf9391ab9857b3c2e797ef1a86b7e03ca1
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Mon Jan 11 08:56:58 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19027
Signed-off-by: Joonas Niilola <juippis <AT> 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 @@
     <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>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-02-03  3:12 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-02-03  3:12 UTC (permalink / raw
  To: gentoo-commits

commit:     ca4ee106d33f5e263db9d33356d8eb6d9df4d3ba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  3 03:12:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  3 03:12:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4ee106

media-libs/libavif: Stabilize 0.8.4 amd64, #768393

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libavif/libavif-0.8.4.ebuild b/media-libs/libavif/libavif-0.8.4.ebuild
index 3af174f791a..77a2d6bc3d8 100644
--- a/media-libs/libavif/libavif-0.8.4.ebuild
+++ b/media-libs/libavif/libavif-0.8.4.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
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-02-04  8:12 Agostino Sarubbo
  0 siblings, 0 replies; 73+ messages in thread
From: Agostino Sarubbo @ 2021-02-04  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     a8e9e6151820989c5f8548d62f4f683cc396c8f4
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  4 08:12:32 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Feb  4 08:12:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e9e615

media-libs/libavif: x86 stable wrt bug #768393

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.4.ebuild b/media-libs/libavif/libavif-0.8.4.ebuild
index 77a2d6bc3d8..ce1a11a44f4 100644
--- a/media-libs/libavif/libavif-0.8.4.ebuild
+++ b/media-libs/libavif/libavif-0.8.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-02-12 16:20 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-02-12 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     8206fdcfc2f40828b96a779d5133af678204cb37
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Feb  3 10:51:19 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 16:20:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8206fdcf

media-libs/libavif: drop 0.8.3 version

Newer 0.8.4 is already stable on amd64.
We have to keep 0.8.1 because it has different API,
needed by dev-libs/efl-1.25.1-r10 for example.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19313
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 -
 media-libs/libavif/libavif-0.8.3.ebuild | 75 ---------------------------------
 2 files changed, 76 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 39804718120..5eaaea68309 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,2 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
-DIST libavif-0.8.3.tar.gz 2948213 BLAKE2B 985c18c86eb7d2049bac21111ba861b141806504b38d2fe0828745f6112c254633dc27fc7257fab5dadb866991085776bd9beeaceca15f33d216eb9337db42e9 SHA512 d8624cd63489f7c17dbafe1a91d01dca21143be073295f2bed9491d5e7899ec0163881e16f3331e5653cdf447e7fb56fb52b9260264cdd7c7ad0e3aaf5695b6c
 DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba

diff --git a/media-libs/libavif/libavif-0.8.3.ebuild b/media-libs/libavif/libavif-0.8.3.ebuild
deleted file mode 100644
index 3af174f791a..00000000000
--- a/media-libs/libavif/libavif-0.8.3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
-
-DEPEND="media-libs/libpng
-	sys-libs/zlib
-	virtual/jpeg
-	aom? ( >=media-libs/libaom-2.0.0 )
-	dav1d? ( media-libs/dav1d )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
-	rav1e? ( media-video/rav1e[capi] )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	cmake_src_configure
-}
-
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
-pkg_postinst() {
-	if ! use aom && ! use rav1e ; then
-		ewarn "aom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
-	fi
-
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}
-
-pkg_postrm() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-02-15  6:05 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-02-15  6:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b4c899e6de52b45084029c918ad212d1a603ca1f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 06:04:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 06:04:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c899e6

media-libs/libavif: Stabilize 0.8.4 arm64, #768393

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.8.4.ebuild b/media-libs/libavif/libavif-0.8.4.ebuild
index ce1a11a44f4..156e8afb6ac 100644
--- a/media-libs/libavif/libavif-0.8.4.ebuild
+++ b/media-libs/libavif/libavif-0.8.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 
 DEPEND="media-libs/libpng


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-02-28 10:56 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2021-02-28 10:56 UTC (permalink / raw
  To: gentoo-commits

commit:     37ec916e29dd778e446cd7b2e29bdd032f215154
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 10:31:55 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 10:56:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ec916e

media-libs/libavif: 0.9.0 version bump

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.9.0.ebuild | 77 +++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 5eaaea68309..b898b268076 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
 DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba
+DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179

diff --git a/media-libs/libavif/libavif-0.9.0.ebuild b/media-libs/libavif/libavif-0.9.0.ebuild
new file mode 100644
index 00000000000..c00246430f4
--- /dev/null
+++ b/media-libs/libavif/libavif-0.9.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+
+DEPEND="media-libs/libpng
+	sys-libs/zlib
+	virtual/jpeg
+	aom? ( >=media-libs/libaom-2.0.0 )
+	dav1d? ( media-libs/dav1d )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+	rav1e? ( media-video/rav1e[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-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
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-03-05  5:38 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2021-03-05  5:38 UTC (permalink / raw
  To: gentoo-commits

commit:     2c97f901d62da20b8b33bc122349c0ede428d4e6
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  5 05:35:21 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar  5 05:35:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c97f901

media-libs/libavif: remove old 0.8.1

Bug: https://bugs.gentoo.org/744616
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |  1 -
 media-libs/libavif/libavif-0.8.1.ebuild | 73 ---------------------------------
 2 files changed, 74 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index b898b268076..0a11932c7f2 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,2 @@
-DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
 DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba
 DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179

diff --git a/media-libs/libavif/libavif-0.8.1.ebuild b/media-libs/libavif/libavif-0.8.1.ebuild
deleted file mode 100644
index 08a52350062..00000000000
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
-
-DEPEND="media-libs/libpng
-	sys-libs/zlib
-	virtual/jpeg
-	aom? ( >=media-libs/libaom-2.0.0 )
-	dav1d? ( media-libs/dav1d )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
-	rav1e? ( media-video/rav1e[capi] )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-	)
-
-	cmake_src_configure
-}
-
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
-pkg_postinst() {
-	if ! use aom && ! use rav1e ; then
-		ewarn "aom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable aom or rav1e flag if you want to save .AVIF files."
-	fi
-
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}
-
-pkg_postrm() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
-	fi
-}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-03-11  8:52 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2021-03-11  8:52 UTC (permalink / raw
  To: gentoo-commits

commit:     73fef036a2f9c0f3f5b957cdd03176f5701f8e91
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Tue Mar  9 13:08:11 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 08:52:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fef036

media-libs/libavif: multilib support for -9999

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19843
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-9999.ebuild | 59 +++++++++++++++++++++++++---------
 1 file changed, 43 insertions(+), 16 deletions(-)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index f4756e02803..511e58cb03d 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-inherit cmake git-r3 gnome2-utils
+CMAKE_ECLASS=cmake
+inherit cmake-multilib git-r3 gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
@@ -14,12 +15,12 @@ SLOT="0"
 KEYWORDS=""
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
-DEPEND="media-libs/libpng
-	sys-libs/zlib
-	virtual/jpeg
-	aom? ( >=media-libs/libaom-2.0.0 )
-	dav1d? ( media-libs/dav1d )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	virtual/jpeg[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
 RDEPEND="${DEPEND}"
@@ -27,26 +28,48 @@ BDEPEND="virtual/pkgconfig"
 
 REQUIRED_USE="|| ( aom dav1d )"
 
-src_configure() {
+multilib_src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
 		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
 		-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
 		-DAVIF_LOCAL_JPEG=OFF
 
-		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-
 		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on $MULTILIB_ABI_FLAG will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on $MULTILIB_ABI_FLAG"
+				ewarn "Enable aom flag for full support on $MULTILIB_ABI_FLAG"
+			fi
+		fi
+	fi
+
 	cmake_src_configure
 }
 
@@ -64,12 +87,16 @@ pkg_postinst() {
 	fi
 
 	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
 	fi
 }
 
 pkg_postrm() {
 	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
 	fi
 }


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-03-11 17:26 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-03-11 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     958317d35f6a0b38db5132e9b73095a0cf934217
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Mar 11 15:55:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 17:25:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=958317d3

media-libs/libavif: revbump to 0.9.0-r2 with multilib support

Closes: https://bugs.gentoo.org/774537
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19881
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...vif-0.9.0-r1.ebuild => libavif-0.9.0-r2.ebuild} | 59 ++++++++++++++++------
 media-libs/libavif/libavif-9999.ebuild             |  6 +--
 2 files changed, 46 insertions(+), 19 deletions(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r1.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
similarity index 50%
rename from media-libs/libavif/libavif-0.9.0-r1.ebuild
rename to media-libs/libavif/libavif-0.9.0-r2.ebuild
index f2801c49a9c..87d63556573 100644
--- a/media-libs/libavif/libavif-0.9.0-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-inherit cmake gnome2-utils
+CMAKE_ECLASS=cmake
+inherit cmake-multilib gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
@@ -14,12 +15,12 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
-DEPEND="media-libs/libpng
-	sys-libs/zlib
-	virtual/jpeg
-	aom? ( >=media-libs/libaom-2.0.0 )
-	dav1d? ( media-libs/dav1d )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	virtual/jpeg[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
 RDEPEND="${DEPEND}"
@@ -31,28 +32,50 @@ PATCHES=(
 	"${FILESDIR}/${P}-pkg-config.patch"
 )
 
-src_configure() {
+multilib_src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
 		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
 		-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
 		-DAVIF_LOCAL_JPEG=OFF
 
-		-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-		-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-		-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-
 		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 
 		-DAVIF_ENABLE_WERROR=OFF
 	)
 
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
 	cmake_src_configure
 }
 
@@ -70,12 +93,16 @@ pkg_postinst() {
 	fi
 
 	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
 	fi
 }
 
 pkg_postrm() {
 	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_update
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
 	fi
 }

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 511e58cb03d..1cb15d73dc4 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -63,9 +63,9 @@ multilib_src_configure() {
 
 		if ! use aom ; then
 			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on $MULTILIB_ABI_FLAG will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on $MULTILIB_ABI_FLAG"
-				ewarn "Enable aom flag for full support on $MULTILIB_ABI_FLAG"
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
 			fi
 		fi
 	fi


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-04-25  9:31 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-04-25  9:31 UTC (permalink / raw
  To: gentoo-commits

commit:     c48d1a2c2970dfefa4583e173c5907ca5241d807
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 09:27:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 09:31:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48d1a2c

media-libs/libavif: Stabilize 0.9.0-r2 arm, #783555

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
index 87d63556573..5599acf2941 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-05-16 20:00 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-05-16 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     87bb1e4cf32ffc19d5dcd03cc7eba123d6e7fdfe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 19:59:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 16 19:59:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87bb1e4c

media-libs/libavif: Stabilize 0.9.0-r2 amd64, #783555

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
index 5599acf2941..74044b58909 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-05-23 12:12 Andreas Sturmlechner
  0 siblings, 0 replies; 73+ messages in thread
From: Andreas Sturmlechner @ 2021-05-23 12:12 UTC (permalink / raw
  To: gentoo-commits

commit:     60a51349a883b41146d28ab2728f9da146000edf
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu May 20 14:14:13 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 23 12:12:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a51349

media-libs/libavif: 0.9.1 version bump

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20898
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-0.9.1.ebuild | 104 ++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 0a11932c7f2..df3667821a9 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba
 DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179
+DIST libavif-0.9.1.tar.gz 1985366 BLAKE2B b498f00c56fe3058cf11f10cc629aad618ad297b625155ec8012f88493f8ae076933e4a4ebc7d97249019a64f01b68db34ab7ff5f9c35db0b1b74dd9048bd191 SHA512 15fa857ee40aeae2ee077d244c6e11a34193f2348e922b5dfa8579a91fa6ceff05c7146e85f9222ebaa6ef2d76e876ea050e8056990cad80850fb4d9581de9a5

diff --git a/media-libs/libavif/libavif-0.9.1.ebuild b/media-libs/libavif/libavif-0.9.1.ebuild
new file mode 100644
index 00000000000..5deb7882783
--- /dev/null
+++ b/media-libs/libavif/libavif-0.9.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	virtual/jpeg[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	rav1e? ( media-video/rav1e[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-05-23 23:07 Thomas Deutschmann
  0 siblings, 0 replies; 73+ messages in thread
From: Thomas Deutschmann @ 2021-05-23 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e1f604cd0969fc55d69fbd9b80e93f2f9c94d3fb
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 23:03:59 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun May 23 23:06:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f604cd

media-libs/libavif: x86 stable (bug #783555)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
index 74044b58909..f86be4665d6 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-06-30  6:53 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2021-06-30  6:53 UTC (permalink / raw
  To: gentoo-commits

commit:     69ce988d4206c59ed607b27b8d8ff200e2968a6d
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Tue Jun 29 12:56:05 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun 30 06:52:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ce988d

media-libs/libavif: version bump to 0.9.2

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21472
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-0.9.2.ebuild | 104 ++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index df3667821a9..830b394f870 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,4 @@
 DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d9f82e1b7ca5876cb9859b96ac5b60ad86c2345654f85e97cb6d920f286b683d0bb588ce7db04f50322b158678c SHA512 92c5df26da70ca113ff3b217a4a09e3dea0b7c4737e0924bd2b232502cfda0c79f4f0785bc7992c973491af7660338cda481bae7b999632815142564bf3275ba
 DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179
 DIST libavif-0.9.1.tar.gz 1985366 BLAKE2B b498f00c56fe3058cf11f10cc629aad618ad297b625155ec8012f88493f8ae076933e4a4ebc7d97249019a64f01b68db34ab7ff5f9c35db0b1b74dd9048bd191 SHA512 15fa857ee40aeae2ee077d244c6e11a34193f2348e922b5dfa8579a91fa6ceff05c7146e85f9222ebaa6ef2d76e876ea050e8056990cad80850fb4d9581de9a5
+DIST libavif-0.9.2.tar.gz 1987058 BLAKE2B a734014945498d29121d64e54f34b367582688bd230f16b58635c363a9722b36ccd58ae0a95918c0322c0cb38b3e29b68bdc344bb99f61adc1397969db39f480 SHA512 04400ae76214d2f0361a14897d6ee97be675375865bb96c8d237e9a4a1152ac1a966db903c11df82da71b0bc68599a5857e038cc90d63c5d3bc77b13169a3e75

diff --git a/media-libs/libavif/libavif-0.9.2.ebuild b/media-libs/libavif/libavif-0.9.2.ebuild
new file mode 100644
index 00000000000..1aae436f27e
--- /dev/null
+++ b/media-libs/libavif/libavif-0.9.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	virtual/jpeg[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	rav1e? ( media-video/rav1e[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-08-02 16:42 Marek Szuba
  0 siblings, 0 replies; 73+ messages in thread
From: Marek Szuba @ 2021-08-02 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     ee6080248b61626ac92793a9e414b3f35c5f6564
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  2 15:17:59 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 16:42:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee608024

media-libs/libavif: keyword 0.9.2 for ~riscv

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.2.ebuild b/media-libs/libavif/libavif-0.9.2.ebuild
index 1aae436f27e..4a9f25f041f 100644
--- a/media-libs/libavif/libavif-0.9.2.ebuild
+++ b/media-libs/libavif/libavif-0.9.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-09-07  3:03 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-09-07  3:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0a0cc09c6780694fad120660be7e5b9729917fa9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 03:02:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 03:02:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0cc09c

media-libs/libavif: Stabilize 0.9.0-r2 arm64, #783555

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
index f86be4665d6..0882619fdcd 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-09-07  3:05 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-09-07  3:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b2b2ee328a2eaed0307ad22ae5d01df1d80a1dcd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 03:05:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 03:05:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b2ee32

media-libs/libavif: Stabilize 0.9.0-r2 ppc64, #783555

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r2.ebuild
index 0882619fdcd..34901837734 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm arm64 ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-10-24  4:06 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-10-24  4:06 UTC (permalink / raw
  To: gentoo-commits

commit:     9ec488a5afe60e800e4f4b4132be14b2e54abc56
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Fri Oct 22 14:54:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:06:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec488a5

media-libs/libavif: Bump to 0.9.3

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22671
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-0.9.3.ebuild | 104 ++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 830b394f870..686b39d3ebd 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -2,3 +2,4 @@ DIST libavif-0.8.4.tar.gz 2952844 BLAKE2B b5cd46d668212aab23c8146ebfcb793214873d
 DIST libavif-0.9.0.tar.gz 2961252 BLAKE2B 75a3d9c0f9ada1934fdafb8208571c6a863ffe04210d84b26207952028280d4e5c4efe42a6d4bc1fe417e3bbc06e8b93c416472c79ccd08d760ab65a663e16d9 SHA512 220ef27edf716af4ffc5b035c63f84e2848f165a3fe9c1b74dc0ba29f0de65147610fd4266f1b2419f60cfbb72159368da840fcb574c7a07364a60548d3db179
 DIST libavif-0.9.1.tar.gz 1985366 BLAKE2B b498f00c56fe3058cf11f10cc629aad618ad297b625155ec8012f88493f8ae076933e4a4ebc7d97249019a64f01b68db34ab7ff5f9c35db0b1b74dd9048bd191 SHA512 15fa857ee40aeae2ee077d244c6e11a34193f2348e922b5dfa8579a91fa6ceff05c7146e85f9222ebaa6ef2d76e876ea050e8056990cad80850fb4d9581de9a5
 DIST libavif-0.9.2.tar.gz 1987058 BLAKE2B a734014945498d29121d64e54f34b367582688bd230f16b58635c363a9722b36ccd58ae0a95918c0322c0cb38b3e29b68bdc344bb99f61adc1397969db39f480 SHA512 04400ae76214d2f0361a14897d6ee97be675375865bb96c8d237e9a4a1152ac1a966db903c11df82da71b0bc68599a5857e038cc90d63c5d3bc77b13169a3e75
+DIST libavif-0.9.3.tar.gz 2000521 BLAKE2B b9dbaf01e58058a1ab9191081242a0f669b714d319075b6330963bc8ae31f576fb77b108de4745125eb42d39682e74a3174d062a029ccb765b3030f4092a96b8 SHA512 8e95666c784d1badc7e18d27a7c21cae3b8ef3b8da9a762eb8f7216d77fba29b9ca309c01d13bcf4890e03c6bc335ba4baf3f5877396bd0584be9ea60018daa7

diff --git a/media-libs/libavif/libavif-0.9.3.ebuild b/media-libs/libavif/libavif-0.9.3.ebuild
new file mode 100644
index 00000000000..fa6ad1dca62
--- /dev/null
+++ b/media-libs/libavif/libavif-0.9.3.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	virtual/jpeg[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	rav1e? ( media-video/rav1e[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-10-24  4:06 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-10-24  4:06 UTC (permalink / raw
  To: gentoo-commits

commit:     aea51db57baf3f3f50a44f122d5cb0c7f2a632fb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 04:01:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:06:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea51db5

media-libs/libavif: sync live ebuild

See: https://github.com/gentoo/gentoo/pull/22671
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 1cb15d73dc4..1be688c4b5e 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -15,10 +15,12 @@ SLOT="0"
 KEYWORDS=""
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
+REQUIRED_USE="|| ( aom dav1d )"
+
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	virtual/jpeg[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-2.0.0[${MULTILIB_USEDEP}] )
+	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
 	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e[capi] )
@@ -26,8 +28,6 @@ DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-REQUIRED_USE="|| ( aom dav1d )"
-
 multilib_src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
@@ -40,6 +40,8 @@ multilib_src_configure() {
 		-DAVIF_LOCAL_JPEG=OFF
 
 		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
 	)
 
 	if multilib_is_native_abi; then


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2021-11-07 23:08 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2021-11-07 23:08 UTC (permalink / raw
  To: gentoo-commits

commit:     99e6986a58807e3fee767ee8db4107cfd7fea3cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 22:54:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 23:07:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e6986a

media-libs/libavif: define subslot ((very) unstable ABI)

Closes: https://bugs.gentoo.org/822336
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/{libavif-0.8.4.ebuild => libavif-0.8.4-r1.ebuild}   | 3 ++-
 .../libavif/{libavif-0.9.0-r2.ebuild => libavif-0.9.0-r3.ebuild}       | 3 ++-
 media-libs/libavif/{libavif-0.9.1.ebuild => libavif-0.9.1-r1.ebuild}   | 3 ++-
 media-libs/libavif/{libavif-0.9.2.ebuild => libavif-0.9.2-r1.ebuild}   | 3 ++-
 media-libs/libavif/{libavif-0.9.3.ebuild => libavif-0.9.3-r1.ebuild}   | 3 ++-
 media-libs/libavif/libavif-9999.ebuild                                 | 3 ++-
 6 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/media-libs/libavif/libavif-0.8.4.ebuild b/media-libs/libavif/libavif-0.8.4-r1.ebuild
similarity index 97%
rename from media-libs/libavif/libavif-0.8.4.ebuild
rename to media-libs/libavif/libavif-0.8.4-r1.ebuild
index 156e8afb6ac..a1703c043d3 100644
--- a/media-libs/libavif/libavif-0.8.4.ebuild
+++ b/media-libs/libavif/libavif-0.8.4-r1.ebuild
@@ -10,7 +10,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e"
 

diff --git a/media-libs/libavif/libavif-0.9.0-r2.ebuild b/media-libs/libavif/libavif-0.9.0-r3.ebuild
similarity index 98%
rename from media-libs/libavif/libavif-0.9.0-r2.ebuild
rename to media-libs/libavif/libavif-0.9.0-r3.ebuild
index 34901837734..b4846ff1d5c 100644
--- a/media-libs/libavif/libavif-0.9.0-r2.ebuild
+++ b/media-libs/libavif/libavif-0.9.0-r3.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS="amd64 arm arm64 ppc64 x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 

diff --git a/media-libs/libavif/libavif-0.9.1.ebuild b/media-libs/libavif/libavif-0.9.1-r1.ebuild
similarity index 98%
rename from media-libs/libavif/libavif-0.9.1.ebuild
rename to media-libs/libavif/libavif-0.9.1-r1.ebuild
index 5deb7882783..d06dd645a54 100644
--- a/media-libs/libavif/libavif-0.9.1.ebuild
+++ b/media-libs/libavif/libavif-0.9.1-r1.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 

diff --git a/media-libs/libavif/libavif-0.9.2.ebuild b/media-libs/libavif/libavif-0.9.2-r1.ebuild
similarity index 98%
rename from media-libs/libavif/libavif-0.9.2.ebuild
rename to media-libs/libavif/libavif-0.9.2-r1.ebuild
index 4a9f25f041f..bf857c5b280 100644
--- a/media-libs/libavif/libavif-0.9.2.ebuild
+++ b/media-libs/libavif/libavif-0.9.2-r1.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 

diff --git a/media-libs/libavif/libavif-0.9.3.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
similarity index 98%
rename from media-libs/libavif/libavif-0.9.3.ebuild
rename to media-libs/libavif/libavif-0.9.3-r1.ebuild
index fa6ad1dca62..ee304de7b30 100644
--- a/media-libs/libavif/libavif-0.9.3.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 1be688c4b5e..3b89a6e5324 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 
 LICENSE="BSD-2"
-SLOT="0"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
 KEYWORDS=""
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-01-02 22:50 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-01-02 22:50 UTC (permalink / raw
  To: gentoo-commits

commit:     442b1b2c058d950859a582d38562b940fe93e748
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 22:50:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 22:50:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442b1b2c

media-libs/libavif: Stabilize 0.9.3-r1 amd64, #827896

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
index ee304de7b302..0226281d1715 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-01-02 22:51 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-01-02 22:51 UTC (permalink / raw
  To: gentoo-commits

commit:     26857ae000a7d0c42c30880fb99ad787a3b6fda4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 22:50:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 22:50:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26857ae0

media-libs/libavif: Stabilize 0.9.3-r1 x86, #827896

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
index 0226281d1715..03d85bdc08fd 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-01-03  9:19 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-01-03  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     7ca5ba01739f50c60edfbcdf0ab6f38a363f2e2d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  3 09:19:21 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  3 09:19:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca5ba01

media-libs/libavif: Stabilize 0.9.3-r1 arm64, #827896

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
index 03d85bdc08fd..83775e13762d 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-01-03  9:20 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-01-03  9:20 UTC (permalink / raw
  To: gentoo-commits

commit:     0506981c02065db6bb656c9959c8ae9041e6bb73
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  3 09:20:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  3 09:20:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0506981c

media-libs/libavif: Stabilize 0.9.3-r1 arm, #827896

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
index 83775e13762d..bcf2e84bf548 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-01-05 17:34 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2022-01-05 17:34 UTC (permalink / raw
  To: gentoo-commits

commit:     b09768fc89c375b4f94068ec85cc692bbcff8856
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 17:34:30 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 17:34:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09768fc

media-libs/libavif: Stabilize 0.9.3-r1 ppc64, #827896

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-0.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r1.ebuild
index bcf2e84bf548..fcbde27db210 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-03-22 17:02 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-03-22 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     8ccd5089eac93bf16aae8552b5bf75d7723eb58f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 16:57:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 17:02:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccd5089

media-libs/libavif: add subslot dep on dav1d

We need to be rebuilt when dav1d changes ABI.

Closes: https://bugs.gentoo.org/834262
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../libavif/{libavif-0.9.3-r1.ebuild => libavif-0.9.3-r2.ebuild}      | 2 +-
 media-libs/libavif/libavif-9999.ebuild                                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/libavif/libavif-0.9.3-r1.ebuild b/media-libs/libavif/libavif-0.9.3-r2.ebuild
similarity index 98%
rename from media-libs/libavif/libavif-0.9.3-r1.ebuild
rename to media-libs/libavif/libavif-0.9.3-r2.ebuild
index fcbde27db210..672f5e5b162d 100644
--- a/media-libs/libavif/libavif-0.9.3-r1.ebuild
+++ b/media-libs/libavif/libavif-0.9.3-r2.ebuild
@@ -22,7 +22,7 @@ DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	virtual/jpeg[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
-	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 3b89a6e53244..80ef7d093431 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	virtual/jpeg[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
-	dav1d? ( media-libs/dav1d[${MULTILIB_USEDEP}] )
+	dav1d? ( media-libs/dav1d:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-04-18  7:27 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2022-04-18  7:27 UTC (permalink / raw
  To: gentoo-commits

commit:     6d9b6438b8cb01f712976abf2e551e25f59bd0d2
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Tue Apr 12 07:33:24 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 07:27:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9b6438

media-libs/libavif: Bump to 0.10.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25005
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest                             |  1 +
 .../{libavif-9999.ebuild => libavif-0.10.1.ebuild}      | 17 ++++++++---------
 media-libs/libavif/libavif-9999.ebuild                  |  8 ++++----
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 343db8559ca7..d5266f05d564 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1 +1,2 @@
+DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
 DIST libavif-0.9.3.tar.gz 2000521 BLAKE2B b9dbaf01e58058a1ab9191081242a0f669b714d319075b6330963bc8ae31f576fb77b108de4745125eb42d39682e74a3174d062a029ccb765b3030f4092a96b8 SHA512 8e95666c784d1badc7e18d27a7c21cae3b8ef3b8da9a762eb8f7216d77fba29b9ca309c01d13bcf4890e03c6bc335ba4baf3f5877396bd0584be9ea60018daa7

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
similarity index 85%
copy from media-libs/libavif/libavif-9999.ebuild
copy to media-libs/libavif/libavif-0.10.1.ebuild
index 80ef7d093431..0b126b8eea65 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -1,19 +1,18 @@
 # Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-CMAKE_ECLASS=cmake
-inherit cmake-multilib git-r3 gnome2-utils
+inherit cmake-multilib gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"
@@ -21,11 +20,11 @@ REQUIRED_USE="|| ( aom dav1d )"
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	virtual/jpeg[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
-	dav1d? ( media-libs/dav1d:=[${MULTILIB_USEDEP}] )
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( media-video/rav1e[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 80ef7d093431..1caa84d6e040 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -21,11 +21,11 @@ REQUIRED_USE="|| ( aom dav1d )"
 DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	virtual/jpeg[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.1.2:=[${MULTILIB_USEDEP}] )
-	dav1d? ( media-libs/dav1d:=[${MULTILIB_USEDEP}] )
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( media-video/rav1e[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.8.6 )"
+	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-05-17 11:54 WANG Xuerui
  0 siblings, 0 replies; 73+ messages in thread
From: WANG Xuerui @ 2022-05-17 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1ebe80447caafab77ccbd10cab83d163cd87a3fa
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 10:36:47 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue May 17 11:53:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ebe8044

media-libs/libavif: keyword 0.10.1 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 0b126b8eea65..d905f73295fc 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-08-04  8:03 Agostino Sarubbo
  0 siblings, 0 replies; 73+ messages in thread
From: Agostino Sarubbo @ 2022-08-04  8:03 UTC (permalink / raw
  To: gentoo-commits

commit:     fb48c57112195888b01ebbd5bf4482faf0d8ba5b
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 08:02:48 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 08:02:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb48c571

media-libs/libavif: amd64 stable wrt bug #861797

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index d905f73295fc..15a0ecfcdd88 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-08-05  7:16 Agostino Sarubbo
  0 siblings, 0 replies; 73+ messages in thread
From: Agostino Sarubbo @ 2022-08-05  7:16 UTC (permalink / raw
  To: gentoo-commits

commit:     787e3344d97ecfe9472139e9ed6c6e609ca2e3df
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 07:15:47 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 07:15:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787e3344

media-libs/libavif: x86 stable wrt bug #861797

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 15a0ecfcdd88..ae5019ca36fb 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-10-17 17:26 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2022-10-17 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     93f2dd62640a01b1d2a2643b66a188d5417f9ce9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 17:26:46 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 17:26:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f2dd62

media-libs/libavif: Stabilize 0.10.1 arm, #877291

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index ae5019ca36fb..54f68796bb86 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-10-18  5:42 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2022-10-18  5:42 UTC (permalink / raw
  To: gentoo-commits

commit:     605499870dbe4c4a9ff595079997f6beb8eca9e4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 05:42:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 05:42:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60549987

media-libs/libavif: Stabilize 0.10.1 arm64, #877291

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 54f68796bb86..6488c7ad6601 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-10-18 10:23 Agostino Sarubbo
  0 siblings, 0 replies; 73+ messages in thread
From: Agostino Sarubbo @ 2022-10-18 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     c6cfb4ad452987786c79e26a5ff0501ba5ec1f89
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 10:23:28 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 10:23:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6cfb4ad

media-libs/libavif: Stabilize 0.10.1 ppc64, #877291

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 6488c7ad6601..60053b48b365 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2022-11-12  7:00 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2022-11-12  7:00 UTC (permalink / raw
  To: gentoo-commits

commit:     9562f5929275f34bdc2de2c64b4aca44fbb85eff
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Oct 27 10:19:32 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 07:00:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9562f592

media-libs/libavif: add 0.11.1

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27974
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest                               |  1 +
 .../{libavif-9999.ebuild => libavif-0.11.1.ebuild}        | 15 +++++++++------
 media-libs/libavif/libavif-9999.ebuild                    |  9 ++++++---
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 167b45f8a027..4655da5c028f 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1 +1,2 @@
 DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
+DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
similarity index 86%
copy from media-libs/libavif/libavif-9999.ebuild
copy to media-libs/libavif/libavif-0.11.1.ebuild
index 4dab63b81130..fa2b62da179c 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-0.11.1.ebuild
@@ -1,27 +1,28 @@
 # Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit cmake-multilib git-r3 gnome2-utils
+inherit cmake-multilib gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"
 
-DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+	media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
-	virtual/jpeg[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? ( dev-cpp/gtest )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
@@ -52,6 +53,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
 			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
 		)
 	else
 		mycmakeargs+=(
@@ -61,6 +63,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_EXAMPLES=OFF
 			-DAVIF_BUILD_APPS=OFF
 			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
 		)
 
 		if ! use aom ; then

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 4dab63b81130..23f729dccf74 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake-multilib git-r3 gnome2-utils
 
@@ -17,11 +17,12 @@ IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"
 
-DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
+DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+	media-libs/libpng[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
-	virtual/jpeg[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? ( dev-cpp/gtest )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
@@ -52,6 +53,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
 			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
 		)
 	else
 		mycmakeargs+=(
@@ -61,6 +63,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_EXAMPLES=OFF
 			-DAVIF_BUILD_APPS=OFF
 			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
 		)
 
 		if ! use aom ; then


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-10-06  8:29 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2023-10-06  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     890be6efde5b1591507e1f19914d776b3c76a96c
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Aug 30 13:21:16 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 08:29:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890be6ef

media-libs/libavif: add 1.0.1

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32530
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-1.0.1.ebuild | 107 ++++++++++++++++++++++++++++++++
 media-libs/libavif/metadata.xml         |   3 +
 3 files changed, 111 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 4655da5c028f..fa107dccd15b 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
+DIST libavif-1.0.1.tar.gz 10569767 BLAKE2B a50ade5ac9a05c987f8f10806d2f749af89a5fb5cb5ef01648a398bcd5a2f568abe4fa646b2a8f33aa2b5b0a718f80f140d9f1f87c524c805d970d5517ec667c SHA512 f7c35e40f9214314afeae69d5da6ab345e6dbd025e737a920ea4270452cdf7ff7010d7af5cc18d27e93b217114eb6b613cd349703d0e1bb7814dbeb84a9fd70f

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
new file mode 100644
index 000000000000..66db654c8a23
--- /dev/null
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+# See bug #822336 re subslot
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+	media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? ( dev-cpp/gtest )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
index d04294192b93..fa304031f6dd 100644
--- a/media-libs/libavif/metadata.xml
+++ b/media-libs/libavif/metadata.xml
@@ -17,4 +17,7 @@
     <flag name="rav1e">Enable support for the rav1e codec encoding</flag>
     <flag name="svt-av1">Enable support for the SVT-AV1 encoder</flag>
   </use>
+  <upstream>
+    <remote-id type="github">AOMediaCodec/libavif</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-10-06  8:29 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2023-10-06  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6108a16a456b6782b375a2ed6cd2901015d0edbc
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 08:27:51 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 08:29:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6108a16a

media-libs/libavif: use library's SONAME as subslot value in 1.0.1

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index 66db654c8a23..4cc92725456d 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 
 LICENSE="BSD-2"
 # See bug #822336 re subslot
-SLOT="0/${PV}"
+SLOT="0/16"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-11-22 17:13 Florian Schmaus
  0 siblings, 0 replies; 73+ messages in thread
From: Florian Schmaus @ 2023-11-22 17:13 UTC (permalink / raw
  To: gentoo-commits

commit:     809c4082a233b80740cf9a39cefa06250ebe5cac
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Nov 10 18:27:50 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 17:13:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809c4082

media-libs/libavif: wire up tests

Bug: https://bugs.gentoo.org/917058
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/33758
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.1.ebuild |  9 +++++----
 media-libs/libavif/libavif-9999.ebuild  | 11 ++++++-----
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index 4cc92725456d..f95ce9d238e2 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -13,7 +13,8 @@ LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
+RESTRICT="!test? ( test )"
 
 REQUIRED_USE="|| ( aom dav1d )"
 
@@ -22,7 +23,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( dev-cpp/gtest )
+	extras? ( test? ( dev-cpp/gtest ) )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
@@ -52,8 +53,8 @@ multilib_src_configure() {
 
 			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
 		)
 	else
 		mycmakeargs+=(

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 23f729dccf74..4ed7849d9266 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,8 @@ LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
 KEYWORDS=""
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
+RESTRICT="!test? ( test )"
 
 REQUIRED_USE="|| ( aom dav1d )"
 
@@ -22,7 +23,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	sys-libs/zlib[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( dev-cpp/gtest )
+	extras? ( test? ( dev-cpp/gtest ) )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
@@ -52,8 +53,8 @@ multilib_src_configure() {
 
 			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
 		)
 	else
 		mycmakeargs+=(


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-11-23 17:12 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2023-11-23 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     16773e16dd38b7473993210b986f62cfe30150f4
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Wed Nov 22 19:44:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 23 17:10:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16773e16

media-libs/libavif: Keyword 1.0.1 alpha, #917058

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index f95ce9d238e2..12040f56607f 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-12-12  6:30 Viorel Munteanu
  0 siblings, 0 replies; 73+ messages in thread
From: Viorel Munteanu @ 2023-12-12  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     740dbdf1bcf833a483f1267d9b21c9dfa6b21f0a
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Tue Dec 12 01:45:32 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 06:26:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740dbdf1

media-libs/libavif: Keyword 1.0.1 hppa, #916134

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index c8be0f8ee877..945986fece0e 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2023-12-25 17:26 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2023-12-25 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     df7f4899df58cc874410b6fa2c42aae28b050d8b
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Dec 20 06:03:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 17:25:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7f4899

media-libs/libavif: keyword 1.0.1 for sparc, bug #916134

Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index 945986fece0e..1a07a2cd1ad9 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-01-09 14:38 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-01-09 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     71854d9c1d3d744c2fc8170ff83400fc2ef20035
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Sat Dec  2 17:28:01 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jan  9 14:38:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71854d9c

media-libs/libavif: add 1.0.3

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34094
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-1.0.3.ebuild | 108 ++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index fa107dccd15b..5acefc8ee30d 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,4 @@
 DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
 DIST libavif-1.0.1.tar.gz 10569767 BLAKE2B a50ade5ac9a05c987f8f10806d2f749af89a5fb5cb5ef01648a398bcd5a2f568abe4fa646b2a8f33aa2b5b0a718f80f140d9f1f87c524c805d970d5517ec667c SHA512 f7c35e40f9214314afeae69d5da6ab345e6dbd025e737a920ea4270452cdf7ff7010d7af5cc18d27e93b217114eb6b613cd349703d0e1bb7814dbeb84a9fd70f
+DIST libavif-1.0.3.tar.gz 10573846 BLAKE2B 220f5ebfcae82e521cb13231dca478f480987b8eb80451edb9f9769ac1561ee18ebaaaa7f552fe9cb9094d141815ac6cdba1f544ebfbcc932f60b8f1233d58c6 SHA512 b713f35fd3e54e105e16f46012becdada86f522b4ed8ab7097a93fd437524b4f2c997c42d6f06828f93b53253b1d90302417afdb0bd8e09d176f64f19c7a0faa

diff --git a/media-libs/libavif/libavif-1.0.3.ebuild b/media-libs/libavif/libavif-1.0.3.ebuild
new file mode 100644
index 000000000000..ed9f541557a2
--- /dev/null
+++ b/media-libs/libavif/libavif-1.0.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+# See bug #822336 re subslot
+SLOT="0/16"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
+	media-libs/libpng[${MULTILIB_USEDEP}]
+	sys-libs/zlib[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? ( test? ( dev-cpp/gtest ) )
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-01-09 14:38 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-01-09 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     4b6dea779275858048b4fb1ce907f105317d25c7
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  9 14:37:53 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jan  9 14:38:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6dea77

media-libs/libavif: sync ~sparc to 1.0.3

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.0.3.ebuild b/media-libs/libavif/libavif-1.0.3.ebuild
index ed9f541557a2..615d283cb6dc 100644
--- a/media-libs/libavif/libavif-1.0.3.ebuild
+++ b/media-libs/libavif/libavif-1.0.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-01-23  5:07 Ionen Wolkens
  0 siblings, 0 replies; 73+ messages in thread
From: Ionen Wolkens @ 2024-01-23  5:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1ef0fb0bea61827b301b4265ff8d21787baa0209
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Tue Jan 23 00:35:18 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 05:05:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef0fb0b

media-libs/libavif: Stabilize 0.10.1 sparc, #920978

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 60053b48b365..cad2e8014919 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv sparc x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
 
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-02-02 17:11 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-02-02 17:11 UTC (permalink / raw
  To: gentoo-commits

commit:     c66c6a34c0e2916772e34a2e022fe147a12c376b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 17:09:03 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 17:11:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66c6a34

media-libs/libavif: Add := dep on media-video/rav1e

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 media-libs/libavif/libavif-0.11.1.ebuild | 4 ++--
 media-libs/libavif/libavif-1.0.1.ebuild  | 4 ++--
 media-libs/libavif/libavif-1.0.3.ebuild  | 2 +-
 media-libs/libavif/libavif-9999.ebuild   | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index cad2e8014919..9732d265e825 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -23,7 +23,7 @@ DEPEND="media-libs/libpng[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
index fa2b62da179c..985b09144c69 100644
--- a/media-libs/libavif/libavif-0.11.1.ebuild
+++ b/media-libs/libavif/libavif-0.11.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,7 +24,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	extras? ( dev-cpp/gtest )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index 1a07a2cd1ad9..acc0c3af8103 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	extras? ( test? ( dev-cpp/gtest ) )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/libavif/libavif-1.0.3.ebuild b/media-libs/libavif/libavif-1.0.3.ebuild
index 615d283cb6dc..acc0c3af8103 100644
--- a/media-libs/libavif/libavif-1.0.3.ebuild
+++ b/media-libs/libavif/libavif-1.0.3.ebuild
@@ -25,7 +25,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	extras? ( test? ( dev-cpp/gtest ) )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 4ed7849d9266..b93c30cb3804 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	extras? ( test? ( dev-cpp/gtest ) )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1[capi] )
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
 	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-02-06 11:02 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-02-06 11:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0b1326b82302b24277f5491c9495e8ea4c24407c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 10:13:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 11:02:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1326b8

media-libs/libavif: Remove obsolete gnome2_gdk_pixbuf_savelist call

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 6 ------
 media-libs/libavif/libavif-0.11.1.ebuild | 6 ------
 media-libs/libavif/libavif-1.0.1.ebuild  | 6 ------
 media-libs/libavif/libavif-1.0.3.ebuild  | 6 ------
 media-libs/libavif/libavif-9999.ebuild   | 6 ------
 5 files changed, 30 deletions(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index 9732d265e825..7046bbe5fc0b 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -75,12 +75,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
 pkg_postinst() {
 	if ! use aom && ! use rav1e && ! use svt-av1 ; then
 		ewarn "No AV1 encoder is set,"

diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
index 985b09144c69..5db185050183 100644
--- a/media-libs/libavif/libavif-0.11.1.ebuild
+++ b/media-libs/libavif/libavif-0.11.1.ebuild
@@ -78,12 +78,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
 pkg_postinst() {
 	if ! use aom && ! use rav1e && ! use svt-av1 ; then
 		ewarn "No AV1 encoder is set,"

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
index acc0c3af8103..b59f71fb5377 100644
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ b/media-libs/libavif/libavif-1.0.1.ebuild
@@ -79,12 +79,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
 pkg_postinst() {
 	if ! use aom && ! use rav1e && ! use svt-av1 ; then
 		ewarn "No AV1 encoder is set,"

diff --git a/media-libs/libavif/libavif-1.0.3.ebuild b/media-libs/libavif/libavif-1.0.3.ebuild
index acc0c3af8103..b59f71fb5377 100644
--- a/media-libs/libavif/libavif-1.0.3.ebuild
+++ b/media-libs/libavif/libavif-1.0.3.ebuild
@@ -79,12 +79,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
 pkg_postinst() {
 	if ! use aom && ! use rav1e && ! use svt-av1 ; then
 		ewarn "No AV1 encoder is set,"

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index b93c30cb3804..968df8e917da 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -79,12 +79,6 @@ multilib_src_configure() {
 	cmake_src_configure
 }
 
-pkg_preinst() {
-	if use gdk-pixbuf ; then
-		gnome2_gdk_pixbuf_savelist
-	fi
-}
-
 pkg_postinst() {
 	if ! use aom && ! use rav1e && ! use svt-av1 ; then
 		ewarn "No AV1 encoder is set,"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-03-23  5:40 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-03-23  5:40 UTC (permalink / raw
  To: gentoo-commits

commit:     bdeba3b62a87871a651e26800cbf51518fb6b282
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Mar  7 19:18:45 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 05:39:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdeba3b6

media-libs/libavif: add 1.0.4

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-1.0.4.ebuild | 112 ++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 5acefc8ee30d..a704bccb7b97 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -2,3 +2,4 @@ DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053
 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
 DIST libavif-1.0.1.tar.gz 10569767 BLAKE2B a50ade5ac9a05c987f8f10806d2f749af89a5fb5cb5ef01648a398bcd5a2f568abe4fa646b2a8f33aa2b5b0a718f80f140d9f1f87c524c805d970d5517ec667c SHA512 f7c35e40f9214314afeae69d5da6ab345e6dbd025e737a920ea4270452cdf7ff7010d7af5cc18d27e93b217114eb6b613cd349703d0e1bb7814dbeb84a9fd70f
 DIST libavif-1.0.3.tar.gz 10573846 BLAKE2B 220f5ebfcae82e521cb13231dca478f480987b8eb80451edb9f9769ac1561ee18ebaaaa7f552fe9cb9094d141815ac6cdba1f544ebfbcc932f60b8f1233d58c6 SHA512 b713f35fd3e54e105e16f46012becdada86f522b4ed8ab7097a93fd437524b4f2c997c42d6f06828f93b53253b1d90302417afdb0bd8e09d176f64f19c7a0faa
+DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0

diff --git a/media-libs/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild
new file mode 100644
index 000000000000..e9f32be578ca
--- /dev/null
+++ b/media-libs/libavif/libavif-1.0.4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="
+	https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+# See bug #822336 re subslot
+SLOT="0/16"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="
+	media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+	media-libs/libpng:=[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? ( test? ( dev-cpp/gtest ) )
+	gdk-pixbuf? (
+		dev-libs/glib:2[${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+	)
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# Use system libraries.
+		-DAVIF_LOCAL_ZLIBPNG=OFF
+		-DAVIF_LOCAL_JPEG=OFF
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}
+
+pkg_postrm() {
+	if use gdk-pixbuf ; then
+		# causes segfault if set, see bug 375615
+		unset __GL_NO_DSO_FINALIZER
+		multilib_foreach_abi gnome2_gdk_pixbuf_update
+	fi
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-03-23  5:40 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-03-23  5:40 UTC (permalink / raw
  To: gentoo-commits

commit:     00e4259537c3195f33de192228a1ca07665ff1ed
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Mar  7 19:20:59 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 05:39:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e42595

media-libs/libavif: update live ebuild

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35356
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/libavif-9999.ebuild | 37 ++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 15 deletions(-)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 968df8e917da..55658a6a3fec 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -12,34 +12,41 @@ EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/${PV}"
-KEYWORDS=""
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
-
 REQUIRED_USE="|| ( aom dav1d )"
 
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
-	media-libs/libpng[${MULTILIB_USEDEP}]
-	sys-libs/zlib[${MULTILIB_USEDEP}]
+DEPEND="
+	media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+	media-libs/libpng:=[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	extras? ( test? ( dev-cpp/gtest ) )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
+	gdk-pixbuf? (
+		dev-libs/glib:2[${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+	)
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	virtual/pkgconfig
+"
 
 multilib_src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF)
 		-DAVIF_CODEC_LIBGAV1=OFF
+		-DAVIF_LIBYUV=OFF
 
 		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
+		-DAVIF_ZLIBPNG=SYSTEM
+		-DAVIF_JPEG=SYSTEM
 
 		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 
@@ -48,8 +55,8 @@ multilib_src_configure() {
 
 	if multilib_is_native_abi; then
 		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
+			-DAVIF_CODEC_RAV1E=$(usex rav1e SYSTEM OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 SYSTEM OFF)
 
 			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-04-03 17:44 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-04-03 17:44 UTC (permalink / raw
  To: gentoo-commits

commit:     6b9eaf6e7188cdb664aa600e6641faa1c30be031
Author:     Aliaksei Urbanski <aliaksei.urbanski <AT> gmail <DOT> com>
AuthorDate: Wed Apr  3 14:15:59 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr  3 17:44:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9eaf6e

media-libs/libavif: drop 1.0.1 and 1.0.3

libavif 1.0.1 and 1.0.3 contain known issues,
so it's worth removing them in favor of 1.0.4.

Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/Manifest             |   2 -
 media-libs/libavif/libavif-1.0.1.ebuild | 102 --------------------------------
 media-libs/libavif/libavif-1.0.3.ebuild | 102 --------------------------------
 3 files changed, 206 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index a704bccb7b97..c9fcc7153734 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,5 +1,3 @@
 DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
-DIST libavif-1.0.1.tar.gz 10569767 BLAKE2B a50ade5ac9a05c987f8f10806d2f749af89a5fb5cb5ef01648a398bcd5a2f568abe4fa646b2a8f33aa2b5b0a718f80f140d9f1f87c524c805d970d5517ec667c SHA512 f7c35e40f9214314afeae69d5da6ab345e6dbd025e737a920ea4270452cdf7ff7010d7af5cc18d27e93b217114eb6b613cd349703d0e1bb7814dbeb84a9fd70f
-DIST libavif-1.0.3.tar.gz 10573846 BLAKE2B 220f5ebfcae82e521cb13231dca478f480987b8eb80451edb9f9769ac1561ee18ebaaaa7f552fe9cb9094d141815ac6cdba1f544ebfbcc932f60b8f1233d58c6 SHA512 b713f35fd3e54e105e16f46012becdada86f522b4ed8ab7097a93fd437524b4f2c997c42d6f06828f93b53253b1d90302417afdb0bd8e09d176f64f19c7a0faa
 DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0

diff --git a/media-libs/libavif/libavif-1.0.1.ebuild b/media-libs/libavif/libavif-1.0.1.ebuild
deleted file mode 100644
index b59f71fb5377..000000000000
--- a/media-libs/libavif/libavif-1.0.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
-	media-libs/libpng[${MULTILIB_USEDEP}]
-	sys-libs/zlib[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
-	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( test? ( dev-cpp/gtest ) )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	if multilib_is_native_abi; then
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
-			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
-		)
-	else
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=OFF
-			-DAVIF_CODEC_SVT=OFF
-
-			-DAVIF_BUILD_EXAMPLES=OFF
-			-DAVIF_BUILD_APPS=OFF
-			-DAVIF_BUILD_TESTS=OFF
-			-DAVIF_ENABLE_GTEST=OFF
-		)
-
-		if ! use aom ; then
-			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
-				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
-			fi
-		fi
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	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, rav1e or svt-av1 flag if you want to save .AVIF files."
-	fi
-
-	if use gdk-pixbuf ; then
-		# causes segfault if set, see bug 375615
-		unset __GL_NO_DSO_FINALIZER
-		multilib_foreach_abi gnome2_gdk_pixbuf_update
-	fi
-}
-
-pkg_postrm() {
-	if use gdk-pixbuf ; then
-		# causes segfault if set, see bug 375615
-		unset __GL_NO_DSO_FINALIZER
-		multilib_foreach_abi gnome2_gdk_pixbuf_update
-	fi
-}

diff --git a/media-libs/libavif/libavif-1.0.3.ebuild b/media-libs/libavif/libavif-1.0.3.ebuild
deleted file mode 100644
index b59f71fb5377..000000000000
--- a/media-libs/libavif/libavif-1.0.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
-	media-libs/libpng[${MULTILIB_USEDEP}]
-	sys-libs/zlib[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
-	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( test? ( dev-cpp/gtest ) )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	if multilib_is_native_abi; then
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
-			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
-		)
-	else
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=OFF
-			-DAVIF_CODEC_SVT=OFF
-
-			-DAVIF_BUILD_EXAMPLES=OFF
-			-DAVIF_BUILD_APPS=OFF
-			-DAVIF_BUILD_TESTS=OFF
-			-DAVIF_ENABLE_GTEST=OFF
-		)
-
-		if ! use aom ; then
-			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
-				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
-			fi
-		fi
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	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, rav1e or svt-av1 flag if you want to save .AVIF files."
-	fi
-
-	if use gdk-pixbuf ; then
-		# causes segfault if set, see bug 375615
-		unset __GL_NO_DSO_FINALIZER
-		multilib_foreach_abi gnome2_gdk_pixbuf_update
-	fi
-}
-
-pkg_postrm() {
-	if use gdk-pixbuf ; then
-		# causes segfault if set, see bug 375615
-		unset __GL_NO_DSO_FINALIZER
-		multilib_foreach_abi gnome2_gdk_pixbuf_update
-	fi
-}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-08-01  6:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-08-01  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     db2e6b894b5b6168eeb56cc8a3c2f6f4e349a964
Author:     Aliaksei Urbanski <aliaksei.urbanski <AT> gmail <DOT> com>
AuthorDate: Wed Jul 31 07:56:27 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 06:28:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db2e6b89

media-libs/libavif: fix 9999

These changes fix:
  - configuration options
  - missing media-gfx/imagemagick[lcms]
    for the test_cmd_icc_profile test

Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37667
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-9999.ebuild | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 0f5d4d481176..d13f567ad6dd 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -21,7 +21,12 @@ DEPEND="
 	media-libs/libpng:=[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( test? ( dev-cpp/gtest ) )
+	extras? (
+		test? (
+			dev-cpp/gtest
+			media-gfx/imagemagick[lcms]
+		)
+	)
 	gdk-pixbuf? (
 		dev-libs/glib:2[${MULTILIB_USEDEP}]
 		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
@@ -39,12 +44,14 @@ BDEPEND="
 multilib_src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF)
 		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# bug 916948
 		-DAVIF_LIBYUV=OFF
 
 		# Use system libraries.
+		-DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF)
 		-DAVIF_ZLIBPNG=SYSTEM
 		-DAVIF_JPEG=SYSTEM
 
@@ -62,6 +69,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
 			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
 			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
+			-DAVIF_GTEST=$(usex extras $(usex test SYSTEM OFF) OFF)
 		)
 	else
 		mycmakeargs+=(
@@ -72,6 +80,7 @@ multilib_src_configure() {
 			-DAVIF_BUILD_APPS=OFF
 			-DAVIF_BUILD_TESTS=OFF
 			-DAVIF_ENABLE_GTEST=OFF
+			-DAVIF_GTEST=OFF
 		)
 
 		if ! use aom ; then


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-08-01  6:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-08-01  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     b75c48430a07373513416b54ec7eae97e4ac4ddf
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 06:27:47 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 06:28:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75c4843

media-libs/libavif: bump subslot SONAME in 1.1.1

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index b006a30e0f7d..7c3cf825e032 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 # See bug #822336 re subslot
-SLOT="0/16"
+SLOT="0/16.1.1"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-08-01  6:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-08-01  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     7813f7b676ffb609a1863d3186cbc157500be3f5
Author:     Aliaksei Urbanski <aliaksei.urbanski <AT> gmail <DOT> com>
AuthorDate: Wed Jul 31 07:55:34 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 06:28:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7813f7b6

media-libs/libavif: add 1.1.1

Release:
  - https://github.com/AOMediaCodec/libavif/releases/tag/v1.1.1

Changes in comparison to 1.0.4:
  - update configuration options
  - fix missing media-gfx/imagemagick[lcms]
    for the test_cmd_icc_profile test

Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/Manifest             |   1 +
 media-libs/libavif/libavif-1.1.1.ebuild | 114 ++++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index c9fcc7153734..e67535829618 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,4 @@
 DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
 DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0
+DIST libavif-1.1.1.tar.gz 13644189 BLAKE2B c0a473b172206ea32358c28e7b94d8038b24030e4845611341076518cd82fd2bea78eb8e22e5481062b893ffb70789619ce4f85129a94a0db70a667c000f4fd0 SHA512 ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
new file mode 100644
index 000000000000..b006a30e0f7d
--- /dev/null
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib gnome2-utils
+
+DESCRIPTION="Library for encoding and decoding .avif files"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+SRC_URI="
+	https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+# See bug #822336 re subslot
+SLOT="0/16"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="|| ( aom dav1d )"
+
+DEPEND="
+	media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+	media-libs/libpng:=[${MULTILIB_USEDEP}]
+	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
+	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
+	extras? (
+		test? (
+			dev-cpp/gtest
+			media-gfx/imagemagick[lcms]
+		)
+	)
+	gdk-pixbuf? (
+		dev-libs/glib:2[${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+	)
+	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+"
+RDEPEND="
+	${DEPEND}
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_CODEC_LIBGAV1=OFF
+
+		# bug 916948
+		-DAVIF_LIBYUV=OFF
+
+		# Use system libraries.
+		-DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF)
+		-DAVIF_ZLIBPNG=SYSTEM
+		-DAVIF_JPEG=SYSTEM
+
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
+
+		-DAVIF_ENABLE_WERROR=OFF
+	)
+
+	if multilib_is_native_abi; then
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=$(usex rav1e SYSTEM OFF)
+			-DAVIF_CODEC_SVT=$(usex svt-av1 SYSTEM OFF)
+
+			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
+			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
+			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
+			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
+			-DAVIF_GTEST=$(usex extras $(usex test SYSTEM OFF) OFF)
+		)
+	else
+		mycmakeargs+=(
+			-DAVIF_CODEC_RAV1E=OFF
+			-DAVIF_CODEC_SVT=OFF
+
+			-DAVIF_BUILD_EXAMPLES=OFF
+			-DAVIF_BUILD_APPS=OFF
+			-DAVIF_BUILD_TESTS=OFF
+			-DAVIF_ENABLE_GTEST=OFF
+			-DAVIF_GTEST=OFF
+		)
+
+		if ! use aom ; then
+			if use rav1e || use svt-av1 ; then
+				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
+				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
+				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
+			fi
+		fi
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	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, rav1e or svt-av1 flag if you want to save .AVIF files."
+	fi
+
+	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
+}
+
+pkg_postrm() {
+	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
+}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-08-01  6:28 Joonas Niilola
  0 siblings, 0 replies; 73+ messages in thread
From: Joonas Niilola @ 2024-08-01  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     98ae21f743a37427c054160141bb0a8ad599418c
Author:     Aliaksei Urbanski <aliaksei.urbanski <AT> gmail <DOT> com>
AuthorDate: Mon Jul 22 04:43:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 06:28:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ae21f7

media-libs/libavif: add bugs-to to metadata.xml

Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libavif/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
index fa304031f6dd..fc327ca39df8 100644
--- a/media-libs/libavif/metadata.xml
+++ b/media-libs/libavif/metadata.xml
@@ -18,6 +18,7 @@
     <flag name="svt-av1">Enable support for the SVT-AV1 encoder</flag>
   </use>
   <upstream>
+    <bugs-to>https://github.com/AOMediaCodec/libavif/issues</bugs-to>
     <remote-id type="github">AOMediaCodec/libavif</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-08-13  4:55 Michał Górny
  0 siblings, 0 replies; 73+ messages in thread
From: Michał Górny @ 2024-08-13  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bc604309d546b2f281331ae8fd592ac40e292e7d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 04:43:04 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 04:54:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc604309

media-libs/libavif: Add := to media-libs/svt-av1 dep

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/libavif/libavif-0.10.1.ebuild | 2 +-
 media-libs/libavif/libavif-0.11.1.ebuild | 2 +-
 media-libs/libavif/libavif-1.0.4.ebuild  | 2 +-
 media-libs/libavif/libavif-1.1.1.ebuild  | 2 +-
 media-libs/libavif/libavif-9999.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
index c5d6d137e153..ac23f8d54513 100644
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ b/media-libs/libavif/libavif-0.10.1.ebuild
@@ -24,7 +24,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
+	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 

diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
index fb3932ae0321..17f6d6812852 100644
--- a/media-libs/libavif/libavif-0.11.1.ebuild
+++ b/media-libs/libavif/libavif-0.11.1.ebuild
@@ -25,7 +25,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
 	extras? ( dev-cpp/gtest )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )"
+	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 

diff --git a/media-libs/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild
index 8b80e9991a0a..17fec0a0b096 100644
--- a/media-libs/libavif/libavif-1.0.4.ebuild
+++ b/media-libs/libavif/libavif-1.0.4.ebuild
@@ -31,7 +31,7 @@ DEPEND="
 		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
 	)
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )
 "
 RDEPEND="
 	${DEPEND}

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 7c3cf825e032..63f35e51b469 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -36,7 +36,7 @@ DEPEND="
 		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
 	)
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )
 "
 RDEPEND="
 	${DEPEND}

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index d13f567ad6dd..1b5831110d64 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -32,7 +32,7 @@ DEPEND="
 		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
 	)
 	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1 )
+	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )
 "
 RDEPEND="
 	${DEPEND}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-23  5:56 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2024-09-23  5:56 UTC (permalink / raw
  To: gentoo-commits

commit:     78ec2bdb72be4f04ac6df5e99653631cb3552c5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 05:55:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 05:55:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ec2bdb

media-libs/libavif: Stabilize 1.1.1 ppc64, #940077

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 6cba38dd2c3c..33c1c861f1f8 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-23  7:13 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2024-09-23  7:13 UTC (permalink / raw
  To: gentoo-commits

commit:     87425e1179e7eddfff0c2f346b3e2e3bea31891a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:13:10 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 07:13:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87425e11

media-libs/libavif: Stabilize 1.1.1 arm64, #940077

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 51e2105f2de2..c2a4befcd185 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-23  7:13 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2024-09-23  7:13 UTC (permalink / raw
  To: gentoo-commits

commit:     dabd3124ad695a3110e42e33d165209f129915b4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:13:09 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 07:13:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabd3124

media-libs/libavif: Stabilize 1.1.1 arm, #940077

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 33c1c861f1f8..51e2105f2de2 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-23  7:32 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2024-09-23  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     5201dfa2f90e6c22357c2495376c559e42feaee1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:32:18 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 07:32:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5201dfa2

media-libs/libavif: Stabilize 1.1.1 x86, #940077

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index c2a4befcd185..11d08b0d3702 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-23  7:32 Arthur Zamarin
  0 siblings, 0 replies; 73+ messages in thread
From: Arthur Zamarin @ 2024-09-23  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     01f688af38d0b5c58ab7e3a940e012bd7aeb5e34
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 07:32:19 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 07:32:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f688af

media-libs/libavif: Stabilize 1.1.1 amd64, #940077

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 11d08b0d3702..0b60aef909d1 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-09-24 15:22 Sam James
  0 siblings, 0 replies; 73+ messages in thread
From: Sam James @ 2024-09-24 15:22 UTC (permalink / raw
  To: gentoo-commits

commit:     83f8e92300a2db92c6bbbf18f2a7d8625fe0ec5f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 15:21:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 15:21:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f8e923

media-libs/libavif: Stabilize 1.1.1 sparc, #940077

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libavif/libavif-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild
index 0b60aef909d1..df8fabdd6a60 100644
--- a/media-libs/libavif/libavif-1.1.1.ebuild
+++ b/media-libs/libavif/libavif-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 LICENSE="BSD-2"
 # See bug #822336 re subslot
 SLOT="0/16.1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv sparc x86"
 IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( aom dav1d )"


^ permalink raw reply related	[flat|nested] 73+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/
@ 2024-10-04 17:37 Andreas Sturmlechner
  0 siblings, 0 replies; 73+ messages in thread
From: Andreas Sturmlechner @ 2024-10-04 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     939bb28c626a4fcb64aadf78dff053f4decae2e8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 11:59:34 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 17:36:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939bb28c

media-libs/libavif: drop 0.10.1, 0.11.1, 1.0.4

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libavif/Manifest              |   3 -
 media-libs/libavif/libavif-0.10.1.ebuild |  90 --------------------------
 media-libs/libavif/libavif-0.11.1.ebuild |  93 ---------------------------
 media-libs/libavif/libavif-1.0.4.ebuild  | 104 -------------------------------
 4 files changed, 290 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index e67535829618..2d98518572be 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,4 +1 @@
-DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b
-DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c
-DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0
 DIST libavif-1.1.1.tar.gz 13644189 BLAKE2B c0a473b172206ea32358c28e7b94d8038b24030e4845611341076518cd82fd2bea78eb8e22e5481062b893ffb70789619ce4f85129a94a0db70a667c000f4fd0 SHA512 ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21

diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild
deleted file mode 100644
index ac23f8d54513..000000000000
--- a/media-libs/libavif/libavif-0.10.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc64 ~riscv sparc x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
-	media-libs/libpng[${MULTILIB_USEDEP}]
-	sys-libs/zlib[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
-	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	if multilib_is_native_abi; then
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
-			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-		)
-	else
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=OFF
-			-DAVIF_CODEC_SVT=OFF
-
-			-DAVIF_BUILD_EXAMPLES=OFF
-			-DAVIF_BUILD_APPS=OFF
-			-DAVIF_BUILD_TESTS=OFF
-		)
-
-		if ! use aom ; then
-			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
-				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
-			fi
-		fi
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	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, rav1e or svt-av1 flag if you want to save .AVIF files."
-	fi
-
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}

diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild
deleted file mode 100644
index 17f6d6812852..000000000000
--- a/media-libs/libavif/libavif-0.11.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1"
-
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
-	media-libs/libpng[${MULTILIB_USEDEP}]
-	sys-libs/zlib[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
-	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( dev-cpp/gtest )
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] )
-	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	if multilib_is_native_abi; then
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
-			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex extras ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras ON OFF)
-		)
-	else
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=OFF
-			-DAVIF_CODEC_SVT=OFF
-
-			-DAVIF_BUILD_EXAMPLES=OFF
-			-DAVIF_BUILD_APPS=OFF
-			-DAVIF_BUILD_TESTS=OFF
-			-DAVIF_ENABLE_GTEST=OFF
-		)
-
-		if ! use aom ; then
-			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
-				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
-			fi
-		fi
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	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, rav1e or svt-av1 flag if you want to save .AVIF files."
-	fi
-
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}

diff --git a/media-libs/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild
deleted file mode 100644
index 31c90384ef3f..000000000000
--- a/media-libs/libavif/libavif-1.0.4.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib gnome2-utils
-
-DESCRIPTION="Library for encoding and decoding .avif files"
-HOMEPAGE="https://github.com/AOMediaCodec/libavif"
-SRC_URI="
-	https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz
-		-> ${P}.tar.gz
-"
-
-LICENSE="BSD-2"
-# See bug #822336 re subslot
-SLOT="0/16"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
-IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( aom dav1d )"
-
-DEPEND="
-	media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-	media-libs/libpng:=[${MULTILIB_USEDEP}]
-	aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] )
-	dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] )
-	extras? ( test? ( dev-cpp/gtest ) )
-	gdk-pixbuf? (
-		dev-libs/glib:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-	)
-	rav1e? ( >=media-video/rav1e-0.5.1:=[capi] )
-	svt-av1? ( >=media-libs/svt-av1-0.9.1:= )
-"
-RDEPEND="
-	${DEPEND}
-"
-BDEPEND="
-	virtual/pkgconfig
-"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_CODEC_AOM=$(usex aom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_LIBGAV1=OFF
-
-		# Use system libraries.
-		-DAVIF_LOCAL_ZLIBPNG=OFF
-		-DAVIF_LOCAL_JPEG=OFF
-
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
-
-		-DAVIF_ENABLE_WERROR=OFF
-	)
-
-	if multilib_is_native_abi; then
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-			-DAVIF_CODEC_SVT=$(usex svt-av1 ON OFF)
-
-			-DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF)
-			-DAVIF_BUILD_APPS=$(usex extras ON OFF)
-			-DAVIF_BUILD_TESTS=$(usex test ON OFF)
-			-DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF)
-		)
-	else
-		mycmakeargs+=(
-			-DAVIF_CODEC_RAV1E=OFF
-			-DAVIF_CODEC_SVT=OFF
-
-			-DAVIF_BUILD_EXAMPLES=OFF
-			-DAVIF_BUILD_APPS=OFF
-			-DAVIF_BUILD_TESTS=OFF
-			-DAVIF_ENABLE_GTEST=OFF
-		)
-
-		if ! use aom ; then
-			if use rav1e || use svt-av1 ; then
-				ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode."
-				ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}"
-				ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}"
-			fi
-		fi
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	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, rav1e or svt-av1 flag if you want to save .AVIF files."
-	fi
-
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
-	use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update
-}


^ permalink raw reply related	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2024-10-04 17:37 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-07  3:05 [gentoo-commits] repo/gentoo:master commit in: media-libs/libavif/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-10-04 17:37 Andreas Sturmlechner
2024-09-24 15:22 Sam James
2024-09-23  7:32 Arthur Zamarin
2024-09-23  7:32 Arthur Zamarin
2024-09-23  7:13 Arthur Zamarin
2024-09-23  7:13 Arthur Zamarin
2024-09-23  5:56 Sam James
2024-08-13  4:55 Michał Górny
2024-08-01  6:28 Joonas Niilola
2024-08-01  6:28 Joonas Niilola
2024-08-01  6:28 Joonas Niilola
2024-08-01  6:28 Joonas Niilola
2024-04-03 17:44 Michał Górny
2024-03-23  5:40 Michał Górny
2024-03-23  5:40 Michał Górny
2024-02-06 11:02 Michał Górny
2024-02-02 17:11 Michał Górny
2024-01-23  5:07 Ionen Wolkens
2024-01-09 14:38 Joonas Niilola
2024-01-09 14:38 Joonas Niilola
2023-12-25 17:26 Sam James
2023-12-12  6:30 Viorel Munteanu
2023-11-23 17:12 Sam James
2023-11-22 17:13 Florian Schmaus
2023-10-06  8:29 Joonas Niilola
2023-10-06  8:29 Joonas Niilola
2022-11-12  7:00 Joonas Niilola
2022-10-18 10:23 Agostino Sarubbo
2022-10-18  5:42 Sam James
2022-10-17 17:26 Arthur Zamarin
2022-08-05  7:16 Agostino Sarubbo
2022-08-04  8:03 Agostino Sarubbo
2022-05-17 11:54 WANG Xuerui
2022-04-18  7:27 Joonas Niilola
2022-03-22 17:02 Sam James
2022-01-05 17:34 Arthur Zamarin
2022-01-03  9:20 Sam James
2022-01-03  9:19 Sam James
2022-01-02 22:51 Sam James
2022-01-02 22:50 Sam James
2021-11-07 23:08 Sam James
2021-10-24  4:06 Sam James
2021-10-24  4:06 Sam James
2021-09-07  3:03 Sam James
2021-08-02 16:42 Marek Szuba
2021-06-30  6:53 Joonas Niilola
2021-05-23 23:07 Thomas Deutschmann
2021-05-23 12:12 Andreas Sturmlechner
2021-05-16 20:00 Sam James
2021-04-25  9:31 Sam James
2021-03-11 17:26 Sam James
2021-03-11  8:52 Joonas Niilola
2021-03-05  5:38 Joonas Niilola
2021-02-28 10:56 Joonas Niilola
2021-02-15  6:05 Sam James
2021-02-12 16:20 Sam James
2021-02-04  8:12 Agostino Sarubbo
2021-02-03  3:12 Sam James
2021-01-15  8:44 Joonas Niilola
2020-11-26  7:53 Joonas Niilola
2020-11-25 11:29 Joonas Niilola
2020-11-12  7:28 Joonas Niilola
2020-11-12  7:28 Joonas Niilola
2020-11-10 17:27 Joonas Niilola
2020-11-10 17:27 Joonas Niilola
2020-10-17 16:46 Joonas Niilola
2020-10-01 22:29 Sergei Trofimovich
2020-09-29 11:40 Sam James
2020-09-27 19:28 Sam James
2020-09-27 10:27 Joonas Niilola
2020-09-25 13:49 Joonas Niilola
2020-09-25  9:34 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox