public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-21 10:44 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-04-21 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     48a8702e1a3b681a1f2c51aba003d26b3206a168
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Tue Apr 21 10:39:17 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Tue Apr 21 10:41:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48a8702e

media-libs/libavif: new package

libavif is a library to work with .AVIF files.
In order to save AVIF file you need one
of the following live ebuilds:
media-libs/libaom-9999
media-video/rav1e-9999

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --force
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.6.4.ebuild | 56 +++++++++++++++++++++++++++++++++
 media-libs/libavif/metadata.xml         | 14 +++++++++
 3 files changed, 71 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
new file mode 100644
index 0000000..5e2026e
--- /dev/null
+++ b/media-libs/libavif/Manifest
@@ -0,0 +1 @@
+DIST libavif-0.6.4.tar.gz 2880753 BLAKE2B d42e106a67aa82e4e9cd28488e6393e100e78bf381f8db6f9563c8563eec8c8afe64dedd4b3cdcadc296f15472995cee979469230085aa27a19a48f2d01f5e6a SHA512 ccd9ef462b9a235914f08a75f7acefc1592037e14967089bbc118838ba3603aa527f20b842c658b357f159de28dede15ab80e27f08a19ad3456247970c0ad822

diff --git a/media-libs/libavif/libavif-0.6.4.ebuild b/media-libs/libavif/libavif-0.6.4.ebuild
new file mode 100644
index 0000000..9abaef9
--- /dev/null
+++ b/media-libs/libavif/libavif-0.6.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-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-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dav1d +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-1.1 )
+	rav1e? ( media-video/rav1e[capi] )
+	media-libs/libpng
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_BUILD_APPS=ON
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if ! use libaom && ! use rav1e ; then
+		ewarn "libaom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use libaom ; then
+		elog "When you upgrade libaom in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF import/export functions."
+	fi
+
+	if use rav1e ; then
+		elog "When you upgrade rav1e in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF export function."
+	fi
+}

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
new file mode 100644
index 0000000..4bfda36
--- /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>dnovomesky@gmail.com</email>
+		<name>Daniel Novomesky</name>
+		<description>Library for encoding and decoding .avif files</description>
+	</maintainer>
+	<use>
+		<flag name="dav1d">Enable faster decoding via dav1d</flag>
+		<flag name="libaom">Use encoding/decoding via libaom</flag>
+		<flag name="rav1e">Allow encoding via rav1e</flag>
+	</use>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-23 12:59 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-04-23 12:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1e42a247d4f56a54a80d76a77dfe3797967554f1
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Apr 23 12:58:05 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Thu Apr 23 12:58:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e42a247

media-libs/libavif: add live build

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --force
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/libavif-9999.ebuild | 63 ++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
new file mode 100644
index 0000000..8239377
--- /dev/null
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-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"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+else
+	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="dav1d +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-1.1 )
+	rav1e? ( media-video/rav1e[capi] )
+	media-libs/libpng
+	virtual/jpeg
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_BUILD_APPS=ON
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if ! use libaom && ! use rav1e ; then
+		ewarn "libaom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use libaom ; then
+		elog "When you upgrade libaom in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF import/export functions."
+	fi
+
+	if use rav1e ; then
+		elog "When you upgrade rav1e in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF export function."
+	fi
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-25  7:58 Alessandro Barbieri
  0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2020-04-25  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     094e9ff0f6145433341db8e61303b61ed4ced919
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 07:57:00 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 07:57:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=094e9ff0

media-libs/libavif: fixes for super bad package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/libavif/libavif-0.6.4.ebuild | 47 ++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 21 deletions(-)

diff --git a/media-libs/libavif/libavif-0.6.4.ebuild b/media-libs/libavif/libavif-0.6.4.ebuild
index 9abaef9..009206a 100644
--- a/media-libs/libavif/libavif-0.6.4.ebuild
+++ b/media-libs/libavif/libavif-0.6.4.ebuild
@@ -12,23 +12,26 @@ SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="dav1d +libaom rav1e"
+#IUSE="dav1d +libaom rav1e"
+IUSE="dav1d"
 
-REQUIRED_USE="|| ( dav1d libaom )"
+#REQUIRED_USE="|| ( dav1d libaom )"
 
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1 )
-	rav1e? ( media-video/rav1e[capi] )
+#unavailable
+#	libaom? ( >=media-libs/libaom-1.1 )
+#	rav1e? ( media-video/rav1e[capi] )
+DEPEND="
+	dav1d? ( media-libs/dav1d )
 	media-libs/libpng
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 src_configure() {
+#		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+#		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 	local mycmakeargs=(
 		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
 		-DAVIF_BUILD_APPS=ON
 	)
@@ -36,21 +39,23 @@ src_configure() {
 }
 
 pkg_postinst() {
-	if ! use libaom && ! use rav1e ; then
+#	if ! use libaom && ! use rav1e ; then
 		ewarn "libaom and rav1e flags are not set,"
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-	fi
-
-	if use libaom ; then
-		elog "When you upgrade libaom in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF import/export functions."
-	fi
-
-	if use rav1e ; then
-		elog "When you upgrade rav1e in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF export function."
-	fi
+#	fi
+
+#instead of writing this below, use the := dependency
+
+#	if use libaom ; then
+#		elog "When you upgrade libaom in the future,"
+#		elog " you may need to re-emerge libavif again"
+#		elog " to ensure correct AVIF import/export functions."
+#	fi
+
+#	if use rav1e ; then
+#		elog "When you upgrade rav1e in the future,"
+#		elog " you may need to re-emerge libavif again"
+#		elog " to ensure correct AVIF export function."
+#	fi
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-25 12:25 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-04-25 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     298e7c44e65c2315468e871b1e5a63c039a52e9b
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 12:22:01 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 12:22:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=298e7c44

media-libs/libavif: version bump to 0.7.2

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --force
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.7.2.ebuild | 63 +++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index 5e2026e..f8b5a71 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1 +1,2 @@
 DIST libavif-0.6.4.tar.gz 2880753 BLAKE2B d42e106a67aa82e4e9cd28488e6393e100e78bf381f8db6f9563c8563eec8c8afe64dedd4b3cdcadc296f15472995cee979469230085aa27a19a48f2d01f5e6a SHA512 ccd9ef462b9a235914f08a75f7acefc1592037e14967089bbc118838ba3603aa527f20b842c658b357f159de28dede15ab80e27f08a19ad3456247970c0ad822
+DIST libavif-0.7.2.tar.gz 2892316 BLAKE2B 24f2a25744fda5f6847506ab4c7a326635fe417dd4385960322f8302b1b60c1ef96ed9ebf453fddb8eba6e7f58506e15ec6934eca76b33ccd803f324432c0340 SHA512 543aae3dde2ed19a8d2d22425260d09f577fbddbd5bc293cc9ec97e427f3854e7a957b4975130b1129a0c73847398ce88ab22de48bec500b83bc56fde671e6b7

diff --git a/media-libs/libavif/libavif-0.7.2.ebuild b/media-libs/libavif/libavif-0.7.2.ebuild
new file mode 100644
index 0000000..8239377
--- /dev/null
+++ b/media-libs/libavif/libavif-0.7.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-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"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+else
+	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="dav1d +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-1.1 )
+	rav1e? ( media-video/rav1e[capi] )
+	media-libs/libpng
+	virtual/jpeg
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_BUILD_APPS=ON
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if ! use libaom && ! use rav1e ; then
+		ewarn "libaom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
+	fi
+
+	if use libaom ; then
+		elog "When you upgrade libaom in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF import/export functions."
+	fi
+
+	if use rav1e ; then
+		elog "When you upgrade rav1e in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF export function."
+	fi
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-25 12:53 Alessandro Barbieri
  0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2020-04-25 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     f48d677520897bf7b8310078b06ef6495939c4dd
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 12:29:52 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 12:53:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f48d6775

media-libs/libavif: add required dep

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-libs/libavif/libavif-0.6.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-0.6.4.ebuild b/media-libs/libavif/libavif-0.6.4.ebuild
index 009206a..89a658c 100644
--- a/media-libs/libavif/libavif-0.6.4.ebuild
+++ b/media-libs/libavif/libavif-0.6.4.ebuild
@@ -16,8 +16,9 @@ KEYWORDS="~amd64"
 IUSE="dav1d"
 
 #REQUIRED_USE="|| ( dav1d libaom )"
+REQUIRED_USE="dav1d"
 
-#unavailable
+#unavailable dependencies
 #	libaom? ( >=media-libs/libaom-1.1 )
 #	rav1e? ( media-video/rav1e[capi] )
 DEPEND="


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-25 19:45 Alessandro Barbieri
  0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2020-04-25 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     bbdd1cb1a62d923e6f59b3fa48cd381a48905419
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 14:33:07 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 14:33:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbdd1cb1

media-libs/libavif: drop keywords until all the deps are satisfied

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

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

diff --git a/media-libs/libavif/libavif-0.7.2.ebuild b/media-libs/libavif/libavif-0.7.2.ebuild
index 8239377..cc370ec 100644
--- a/media-libs/libavif/libavif-0.7.2.ebuild
+++ b/media-libs/libavif/libavif-0.7.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
 	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS=""
 fi
 
 LICENSE="BSD-2"


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-26  7:29 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-04-26  7:29 UTC (permalink / raw
  To: gentoo-commits

commit:     ded989ba8c2ef88da7f859e85533d3a7b1eb25b4
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 07:28:38 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Sun Apr 26 07:28:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ded989ba

media-libs/libavif: drop keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/libavif-0.6.4.ebuild | 62 ++++++++++++++++-----------------
 media-libs/libavif/libavif-9999.ebuild  |  2 +-
 2 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/media-libs/libavif/libavif-0.6.4.ebuild b/media-libs/libavif/libavif-0.6.4.ebuild
index 89a658c..f30ae5b 100644
--- a/media-libs/libavif/libavif-0.6.4.ebuild
+++ b/media-libs/libavif/libavif-0.6.4.ebuild
@@ -7,32 +7,34 @@ 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"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+else
+	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS=""
+fi
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~amd64"
-#IUSE="dav1d +libaom rav1e"
-IUSE="dav1d"
-
-#REQUIRED_USE="|| ( dav1d libaom )"
-REQUIRED_USE="dav1d"
-
-#unavailable dependencies
-#	libaom? ( >=media-libs/libaom-1.1 )
-#	rav1e? ( media-video/rav1e[capi] )
-DEPEND="
-	dav1d? ( media-libs/dav1d )
+IUSE="dav1d +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-1.1 )
+	rav1e? ( media-video/rav1e[capi] )
 	media-libs/libpng
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 src_configure() {
-#		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-#		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 	local mycmakeargs=(
 		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
 		-DAVIF_BUILD_APPS=ON
 	)
@@ -40,23 +42,21 @@ src_configure() {
 }
 
 pkg_postinst() {
-#	if ! use libaom && ! use rav1e ; then
+	if ! use libaom && ! use rav1e ; then
 		ewarn "libaom and rav1e flags are not set,"
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-#	fi
-
-#instead of writing this below, use the := dependency
-
-#	if use libaom ; then
-#		elog "When you upgrade libaom in the future,"
-#		elog " you may need to re-emerge libavif again"
-#		elog " to ensure correct AVIF import/export functions."
-#	fi
-
-#	if use rav1e ; then
-#		elog "When you upgrade rav1e in the future,"
-#		elog " you may need to re-emerge libavif again"
-#		elog " to ensure correct AVIF export function."
-#	fi
+	fi
+
+	if use libaom ; then
+		elog "When you upgrade libaom in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF import/export functions."
+	fi
+
+	if use rav1e ; then
+		elog "When you upgrade rav1e in the future,"
+		elog " you may need to re-emerge libavif again"
+		elog " to ensure correct AVIF export function."
+	fi
 }

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 8239377..cc370ec 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
 	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS=""
 fi
 
 LICENSE="BSD-2"


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-04-26 20:47 Alessandro Barbieri
  0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2020-04-26 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     83ff5c44ca8269d4e895ac8d79920a65fe46dcb2
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 20:47:36 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 26 20:47:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83ff5c44

media-libs/libavif: removed warning, slotting for rebuilds

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 ...ibavif-0.6.4.ebuild => libavif-0.6.4-r1.ebuild} | 24 ++++++----------------
 ...ibavif-0.7.2.ebuild => libavif-0.7.2-r1.ebuild} | 24 ++++++----------------
 media-libs/libavif/libavif-9999.ebuild             | 24 ++++++----------------
 3 files changed, 18 insertions(+), 54 deletions(-)

diff --git a/media-libs/libavif/libavif-0.6.4.ebuild b/media-libs/libavif/libavif-0.6.4-r1.ebuild
similarity index 69%
rename from media-libs/libavif/libavif-0.6.4.ebuild
rename to media-libs/libavif/libavif-0.6.4-r1.ebuild
index f30ae5b..dd6c753 100644
--- a/media-libs/libavif/libavif-0.6.4.ebuild
+++ b/media-libs/libavif/libavif-0.6.4-r1.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
 
 inherit cmake
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ "${PV}" == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
 REQUIRED_USE="|| ( dav1d libaom )"
 
 DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1 )
-	rav1e? ( media-video/rav1e[capi] )
+	libaom? ( >=media-libs/libaom-1.1:= )
+	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 "
 RDEPEND="${DEPEND}"
@@ -32,11 +32,11 @@ BDEPEND=""
 
 src_configure() {
 	local mycmakeargs=(
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_BUILD_APPS=ON
 		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_BUILD_APPS=ON
 	)
 	cmake_src_configure
 }
@@ -47,16 +47,4 @@ pkg_postinst() {
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
 	fi
-
-	if use libaom ; then
-		elog "When you upgrade libaom in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF import/export functions."
-	fi
-
-	if use rav1e ; then
-		elog "When you upgrade rav1e in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF export function."
-	fi
 }

diff --git a/media-libs/libavif/libavif-0.7.2.ebuild b/media-libs/libavif/libavif-0.7.2-r1.ebuild
similarity index 69%
rename from media-libs/libavif/libavif-0.7.2.ebuild
rename to media-libs/libavif/libavif-0.7.2-r1.ebuild
index cc370ec..15be7ff 100644
--- a/media-libs/libavif/libavif-0.7.2.ebuild
+++ b/media-libs/libavif/libavif-0.7.2-r1.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
 
 inherit cmake
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ "${PV}" == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
 REQUIRED_USE="|| ( dav1d libaom )"
 
 DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1 )
-	rav1e? ( media-video/rav1e[capi] )
+	libaom? ( >=media-libs/libaom-1.1:= )
+	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 	virtual/jpeg
 "
@@ -33,11 +33,11 @@ BDEPEND=""
 
 src_configure() {
 	local mycmakeargs=(
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_BUILD_APPS=ON
 		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_BUILD_APPS=ON
 	)
 	cmake_src_configure
 }
@@ -48,16 +48,4 @@ pkg_postinst() {
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
 	fi
-
-	if use libaom ; then
-		elog "When you upgrade libaom in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF import/export functions."
-	fi
-
-	if use rav1e ; then
-		elog "When you upgrade rav1e in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF export function."
-	fi
 }

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index cc370ec..15be7ff 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
 
 inherit cmake
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ "${PV}" == *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
 REQUIRED_USE="|| ( dav1d libaom )"
 
 DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1 )
-	rav1e? ( media-video/rav1e[capi] )
+	libaom? ( >=media-libs/libaom-1.1:= )
+	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 	virtual/jpeg
 "
@@ -33,11 +33,11 @@ BDEPEND=""
 
 src_configure() {
 	local mycmakeargs=(
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_BUILD_APPS=ON
 		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_BUILD_APPS=ON
 	)
 	cmake_src_configure
 }
@@ -48,16 +48,4 @@ pkg_postinst() {
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
 	fi
-
-	if use libaom ; then
-		elog "When you upgrade libaom in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF import/export functions."
-	fi
-
-	if use rav1e ; then
-		elog "When you upgrade rav1e in the future,"
-		elog " you may need to re-emerge libavif again"
-		elog " to ensure correct AVIF export function."
-	fi
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-05-07 20:43 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-05-07 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     36df2d690559aea8f2881e04a2a0a5ee2740e3a4
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu May  7 20:41:22 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Thu May  7 20:41:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36df2d69

media-libs/libavif: version bump to 0.7.3

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.7.3.ebuild | 51 +++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index f8b5a71..c7dddc5 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.6.4.tar.gz 2880753 BLAKE2B d42e106a67aa82e4e9cd28488e6393e100e78bf381f8db6f9563c8563eec8c8afe64dedd4b3cdcadc296f15472995cee979469230085aa27a19a48f2d01f5e6a SHA512 ccd9ef462b9a235914f08a75f7acefc1592037e14967089bbc118838ba3603aa527f20b842c658b357f159de28dede15ab80e27f08a19ad3456247970c0ad822
 DIST libavif-0.7.2.tar.gz 2892316 BLAKE2B 24f2a25744fda5f6847506ab4c7a326635fe417dd4385960322f8302b1b60c1ef96ed9ebf453fddb8eba6e7f58506e15ec6934eca76b33ccd803f324432c0340 SHA512 543aae3dde2ed19a8d2d22425260d09f577fbddbd5bc293cc9ec97e427f3854e7a957b4975130b1129a0c73847398ce88ab22de48bec500b83bc56fde671e6b7
+DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d

diff --git a/media-libs/libavif/libavif-0.7.3.ebuild b/media-libs/libavif/libavif-0.7.3.ebuild
new file mode 100644
index 0000000..7fa8ecc
--- /dev/null
+++ b/media-libs/libavif/libavif-0.7.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-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"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+else
+	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS=""
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="dav1d +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-1.0.0_p20200507:= )
+	rav1e? ( media-video/rav1e:=[capi] )
+	media-libs/libpng
+	virtual/jpeg
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DAVIF_BUILD_APPS=ON
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+		-DBUILD_SHARED_LIBS=ON
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if ! use libaom && ! use rav1e ; then
+		ewarn "libaom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
+	fi
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-07-16 15:49 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-07-16 15:49 UTC (permalink / raw
  To: gentoo-commits

commit:     513031fe522e69f041569fe1ef5614ce9232dd80
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Jul 16 15:48:36 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Thu Jul 16 15:48:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=513031fe

media-libs/libavif: version 0.8.0 bump

New use flag gdk-pixbuf
Added ~amd64 keyword

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest                                      | 1 +
 media-libs/libavif/{libavif-9999.ebuild => libavif-0.8.0.ebuild} | 8 +++++---
 media-libs/libavif/libavif-9999.ebuild                           | 8 +++++---
 media-libs/libavif/metadata.xml                                  | 2 +-
 4 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index c7dddc5..dee7b8f 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,3 +1,4 @@
 DIST libavif-0.6.4.tar.gz 2880753 BLAKE2B d42e106a67aa82e4e9cd28488e6393e100e78bf381f8db6f9563c8563eec8c8afe64dedd4b3cdcadc296f15472995cee979469230085aa27a19a48f2d01f5e6a SHA512 ccd9ef462b9a235914f08a75f7acefc1592037e14967089bbc118838ba3603aa527f20b842c658b357f159de28dede15ab80e27f08a19ad3456247970c0ad822
 DIST libavif-0.7.2.tar.gz 2892316 BLAKE2B 24f2a25744fda5f6847506ab4c7a326635fe417dd4385960322f8302b1b60c1ef96ed9ebf453fddb8eba6e7f58506e15ec6934eca76b33ccd803f324432c0340 SHA512 543aae3dde2ed19a8d2d22425260d09f577fbddbd5bc293cc9ec97e427f3854e7a957b4975130b1129a0c73847398ce88ab22de48bec500b83bc56fde671e6b7
 DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
+DIST libavif-0.8.0.tar.gz 2914015 BLAKE2B c74381ae1aa1c9b82d2fec77e6bff9ec34ea6628e6985dbdd1a01a36cfceb64ee7eddaab29611ea4dc594125d301fc1818588c706171b7d288b58f24391cfeaf SHA512 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-0.8.0.ebuild
similarity index 85%
copy from media-libs/libavif/libavif-9999.ebuild
copy to media-libs/libavif/libavif-0.8.0.ebuild
index 15be7ff..7e7a212 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-0.8.0.ebuild
@@ -13,20 +13,21 @@ if [[ "${PV}" == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
 	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS=""
+	KEYWORDS="~amd64"
 fi
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="dav1d +libaom rav1e"
+IUSE="dav1d gdk-pixbuf +libaom rav1e"
 
 REQUIRED_USE="|| ( dav1d libaom )"
 
 DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1:= )
+	libaom? ( >=media-libs/libaom-2.0.0:= )
 	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 	virtual/jpeg
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
@@ -38,6 +39,7 @@ src_configure() {
 		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 	cmake_src_configure
 }

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 15be7ff..7e7a212 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -13,20 +13,21 @@ if [[ "${PV}" == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
 else
 	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS=""
+	KEYWORDS="~amd64"
 fi
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="dav1d +libaom rav1e"
+IUSE="dav1d gdk-pixbuf +libaom rav1e"
 
 REQUIRED_USE="|| ( dav1d libaom )"
 
 DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1:= )
+	libaom? ( >=media-libs/libaom-2.0.0:= )
 	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 	virtual/jpeg
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
@@ -38,6 +39,7 @@ src_configure() {
 		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
+		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 	cmake_src_configure
 }

diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml
index 4bfda36..35997ab 100644
--- a/media-libs/libavif/metadata.xml
+++ b/media-libs/libavif/metadata.xml
@@ -4,11 +4,11 @@
 	<maintainer type="person">
 		<email>dnovomesky@gmail.com</email>
 		<name>Daniel Novomesky</name>
-		<description>Library for encoding and decoding .avif files</description>
 	</maintainer>
 	<use>
 		<flag name="dav1d">Enable faster decoding via dav1d</flag>
 		<flag name="libaom">Use encoding/decoding via libaom</flag>
 		<flag name="rav1e">Allow encoding via rav1e</flag>
+		<flag name="gdk-pixbuf">Build a gdk-pixbuf loader</flag>
 	</use>
 </pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-07-17 10:36 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-07-17 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     5e88c05e5817de9f953bf49b8c967fe82ae0fc3b
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Fri Jul 17 10:35:17 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Fri Jul 17 10:35:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e88c05e

media-libs/libavif: drop very old versions

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest                |  2 --
 media-libs/libavif/libavif-0.6.4-r1.ebuild | 50 -----------------------------
 media-libs/libavif/libavif-0.7.2-r1.ebuild | 51 ------------------------------
 3 files changed, 103 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index dee7b8f..ec3a875 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,4 +1,2 @@
-DIST libavif-0.6.4.tar.gz 2880753 BLAKE2B d42e106a67aa82e4e9cd28488e6393e100e78bf381f8db6f9563c8563eec8c8afe64dedd4b3cdcadc296f15472995cee979469230085aa27a19a48f2d01f5e6a SHA512 ccd9ef462b9a235914f08a75f7acefc1592037e14967089bbc118838ba3603aa527f20b842c658b357f159de28dede15ab80e27f08a19ad3456247970c0ad822
-DIST libavif-0.7.2.tar.gz 2892316 BLAKE2B 24f2a25744fda5f6847506ab4c7a326635fe417dd4385960322f8302b1b60c1ef96ed9ebf453fddb8eba6e7f58506e15ec6934eca76b33ccd803f324432c0340 SHA512 543aae3dde2ed19a8d2d22425260d09f577fbddbd5bc293cc9ec97e427f3854e7a957b4975130b1129a0c73847398ce88ab22de48bec500b83bc56fde671e6b7
 DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
 DIST libavif-0.8.0.tar.gz 2914015 BLAKE2B c74381ae1aa1c9b82d2fec77e6bff9ec34ea6628e6985dbdd1a01a36cfceb64ee7eddaab29611ea4dc594125d301fc1818588c706171b7d288b58f24391cfeaf SHA512 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e

diff --git a/media-libs/libavif/libavif-0.6.4-r1.ebuild b/media-libs/libavif/libavif-0.6.4-r1.ebuild
deleted file mode 100644
index dd6c753..0000000
--- a/media-libs/libavif/libavif-0.6.4-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS=""
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-	)
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if ! use libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-	fi
-}

diff --git a/media-libs/libavif/libavif-0.7.2-r1.ebuild b/media-libs/libavif/libavif-0.7.2-r1.ebuild
deleted file mode 100644
index 15be7ff..0000000
--- a/media-libs/libavif/libavif-0.7.2-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS=""
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.1:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-	virtual/jpeg
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-	)
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if ! use libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-	fi
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-07-22 15:46 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-07-22 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     a6fffaf307f7ff90d518afc6516520ff20b06bc3
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Jul 22 15:46:16 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Wed Jul 22 15:46:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6fffaf3

media-libs/libavif: removed gdk-pixbuf use flag

The gdk-pixbuf loader is causing crashes in this version

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/{libavif-0.8.0.ebuild => libavif-0.8.0-r1.ebuild} | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/libavif/libavif-0.8.0.ebuild b/media-libs/libavif/libavif-0.8.0-r1.ebuild
similarity index 90%
rename from media-libs/libavif/libavif-0.8.0.ebuild
rename to media-libs/libavif/libavif-0.8.0-r1.ebuild
index 7e7a212..aa66391 100644
--- a/media-libs/libavif/libavif-0.8.0.ebuild
+++ b/media-libs/libavif/libavif-0.8.0-r1.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="dav1d gdk-pixbuf +libaom rav1e"
+IUSE="dav1d +libaom rav1e"
 
 REQUIRED_USE="|| ( dav1d libaom )"
 
@@ -27,7 +27,6 @@ DEPEND="dav1d? ( media-libs/dav1d )
 	rav1e? ( media-video/rav1e:=[capi] )
 	media-libs/libpng
 	virtual/jpeg
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
@@ -39,7 +38,6 @@ src_configure() {
 		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
 		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
 		-DBUILD_SHARED_LIBS=ON
-		-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
 	)
 	cmake_src_configure
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-07-23 11:49 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-07-23 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     b6d4a1a85784a648e8f44f3b06efc51b7b03936d
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Jul 23 11:47:30 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Thu Jul 23 11:47:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6d4a1a8

media-libs/libavif: update gdk-pixbuf cache after install

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/libavif-9999.ebuild | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
index 7e7a212..55e2b97 100644
--- a/media-libs/libavif/libavif-9999.ebuild
+++ b/media-libs/libavif/libavif-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake
+inherit cmake gnome2-utils
 
 DESCRIPTION="Library for encoding and decoding .avif files"
 HOMEPAGE="https://github.com/AOMediaCodec/libavif"
@@ -44,10 +44,26 @@ src_configure() {
 	cmake_src_configure
 }
 
+pkg_preinst() {
+	if use gdk-pixbuf ; then
+		gnome2_gdk_pixbuf_savelist
+	fi
+}
+
 pkg_postinst() {
 	if ! use libaom && ! use rav1e ; then
 		ewarn "libaom and rav1e flags are not set,"
 		ewarn "libavif will work in read-only mode."
 		ewarn "Enable libaom 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] 15+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/
@ 2020-08-06  9:44 Daniel Novomesky
  0 siblings, 0 replies; 15+ messages in thread
From: Daniel Novomesky @ 2020-08-06  9:44 UTC (permalink / raw
  To: gentoo-commits

commit:     e26436a0b54e40dd836e2f8ca1360d0bbce0d7bc
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Aug  6 09:43:41 2020 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Thu Aug  6 09:43:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e26436a0

media-libs/libavif: version bump to 0.8.1

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/libavif/Manifest             |  1 +
 media-libs/libavif/libavif-0.8.1.ebuild | 69 +++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
index ec3a875..ffbfdb5 100644
--- a/media-libs/libavif/Manifest
+++ b/media-libs/libavif/Manifest
@@ -1,2 +1,3 @@
 DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
 DIST libavif-0.8.0.tar.gz 2914015 BLAKE2B c74381ae1aa1c9b82d2fec77e6bff9ec34ea6628e6985dbdd1a01a36cfceb64ee7eddaab29611ea4dc594125d301fc1818588c706171b7d288b58f24391cfeaf SHA512 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e
+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 0000000..55e2b97
--- /dev/null
+++ b/media-libs/libavif/libavif-0.8.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-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"
+
+if [[ "${PV}" == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
+else
+	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="dav1d gdk-pixbuf +libaom rav1e"
+
+REQUIRED_USE="|| ( dav1d libaom )"
+
+DEPEND="dav1d? ( media-libs/dav1d )
+	libaom? ( >=media-libs/libaom-2.0.0:= )
+	rav1e? ( media-video/rav1e:=[capi] )
+	media-libs/libpng
+	virtual/jpeg
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+	local mycmakeargs=(
+		-DAVIF_BUILD_APPS=ON
+		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
+		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
+		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
+		-DBUILD_SHARED_LIBS=ON
+		-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 libaom && ! use rav1e ; then
+		ewarn "libaom and rav1e flags are not set,"
+		ewarn "libavif will work in read-only mode."
+		ewarn "Enable libaom 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] 15+ messages in thread

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

commit:     370dd610fafd96f5fa9336d83d48707c07fdf034
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 13:40:55 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 13:40:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=370dd610

media-libs/libavif: remove, moved to ::gentoo

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

 media-libs/libavif/Manifest                |  3 --
 media-libs/libavif/libavif-0.7.3.ebuild    | 51 ----------------------
 media-libs/libavif/libavif-0.8.0-r1.ebuild | 51 ----------------------
 media-libs/libavif/libavif-0.8.1.ebuild    | 69 ------------------------------
 media-libs/libavif/libavif-9999.ebuild     | 69 ------------------------------
 media-libs/libavif/metadata.xml            | 14 ------
 6 files changed, 257 deletions(-)

diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest
deleted file mode 100644
index ffbfdb54..00000000
--- a/media-libs/libavif/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
-DIST libavif-0.8.0.tar.gz 2914015 BLAKE2B c74381ae1aa1c9b82d2fec77e6bff9ec34ea6628e6985dbdd1a01a36cfceb64ee7eddaab29611ea4dc594125d301fc1818588c706171b7d288b58f24391cfeaf SHA512 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e
-DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078

diff --git a/media-libs/libavif/libavif-0.7.3.ebuild b/media-libs/libavif/libavif-0.7.3.ebuild
deleted file mode 100644
index 7fa8eccd..00000000
--- a/media-libs/libavif/libavif-0.7.3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS=""
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-1.0.0_p20200507:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-	virtual/jpeg
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-	)
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if ! use libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-	fi
-}

diff --git a/media-libs/libavif/libavif-0.8.0-r1.ebuild b/media-libs/libavif/libavif-0.8.0-r1.ebuild
deleted file mode 100644
index aa66391b..00000000
--- a/media-libs/libavif/libavif-0.8.0-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-2.0.0:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-	virtual/jpeg
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-	)
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if ! use libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
-	fi
-}

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 55e2b97f..00000000
--- a/media-libs/libavif/libavif-0.8.1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d gdk-pixbuf +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-2.0.0:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-	virtual/jpeg
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-		-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 libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom 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-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild
deleted file mode 100644
index 55e2b97f..00000000
--- a/media-libs/libavif/libavif-9999.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-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"
-
-if [[ "${PV}" == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
-else
-	SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="dav1d gdk-pixbuf +libaom rav1e"
-
-REQUIRED_USE="|| ( dav1d libaom )"
-
-DEPEND="dav1d? ( media-libs/dav1d )
-	libaom? ( >=media-libs/libaom-2.0.0:= )
-	rav1e? ( media-video/rav1e:=[capi] )
-	media-libs/libpng
-	virtual/jpeg
-	gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_configure() {
-	local mycmakeargs=(
-		-DAVIF_BUILD_APPS=ON
-		-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
-		-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
-		-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
-		-DBUILD_SHARED_LIBS=ON
-		-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 libaom && ! use rav1e ; then
-		ewarn "libaom and rav1e flags are not set,"
-		ewarn "libavif will work in read-only mode."
-		ewarn "Enable libaom 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
deleted file mode 100644
index 35997ab1..00000000
--- a/media-libs/libavif/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
-<pkgmetadata>
-	<maintainer type="person">
-		<email>dnovomesky@gmail.com</email>
-		<name>Daniel Novomesky</name>
-	</maintainer>
-	<use>
-		<flag name="dav1d">Enable faster decoding via dav1d</flag>
-		<flag name="libaom">Use encoding/decoding via libaom</flag>
-		<flag name="rav1e">Allow encoding via rav1e</flag>
-		<flag name="gdk-pixbuf">Build a gdk-pixbuf loader</flag>
-	</use>
-</pkgmetadata>


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

end of thread, other threads:[~2020-09-25 13:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 12:59 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libavif/ Daniel Novomesky
  -- strict thread matches above, loose matches on Subject: below --
2020-09-25 13:42 Joonas Niilola
2020-08-06  9:44 Daniel Novomesky
2020-07-23 11:49 Daniel Novomesky
2020-07-22 15:46 Daniel Novomesky
2020-07-17 10:36 Daniel Novomesky
2020-07-16 15:49 Daniel Novomesky
2020-05-07 20:43 Daniel Novomesky
2020-04-26 20:47 Alessandro Barbieri
2020-04-26  7:29 Daniel Novomesky
2020-04-25 19:45 Alessandro Barbieri
2020-04-25 12:53 Alessandro Barbieri
2020-04-25 12:25 Daniel Novomesky
2020-04-25  7:58 Alessandro Barbieri
2020-04-21 10:44 Daniel Novomesky

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