public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/
Date: Sun, 19 Sep 2021 08:06:09 +0000 (UTC)	[thread overview]
Message-ID: <1632038575.947ba1da0999c9c613d32c92cbeb59579aa466d6.jsmolic@gentoo> (raw)

commit:     947ba1da0999c9c613d32c92cbeb59579aa466d6
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 08:01:31 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 08:02:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947ba1da

media-libs/libheif: Enable libde265 unconditionally

- Since libheif can't decode HEIF file without it it's not a good idea
  to disable libde265 support, so let's just enable it unconditionally

Closes: https://bugs.gentoo.org/813669
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../{libheif-1.12.0.ebuild => libheif-1.12.0-r1.ebuild}        |  8 ++++----
 media-libs/libheif/libheif-9999.ebuild                         | 10 +++++-----
 media-libs/libheif/metadata.xml                                |  1 -
 3 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/media-libs/libheif/libheif-1.12.0.ebuild b/media-libs/libheif/libheif-1.12.0-r1.ebuild
similarity index 90%
rename from media-libs/libheif/libheif-1.12.0.ebuild
rename to media-libs/libheif/libheif-1.12.0-r1.ebuild
index 6dc4980f1f2..f90f0e7b6cc 100644
--- a/media-libs/libheif/libheif-1.12.0.ebuild
+++ b/media-libs/libheif/libheif-1.12.0-r1.ebuild
@@ -18,20 +18,20 @@ HOMEPAGE="https://github.com/strukturag/libheif"
 
 LICENSE="GPL-3"
 SLOT="0/1.12"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
+IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
+REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
 DEPEND="
 	media-libs/dav1d:=[${MULTILIB_USEDEP}]
+	media-libs/libde265:=[${MULTILIB_USEDEP}]
 	media-libs/libpng:0=[${MULTILIB_USEDEP}]
 	sys-libs/zlib:=[${MULTILIB_USEDEP}]
 	virtual/jpeg:0=[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
 	go? ( dev-lang/go )
-	libde265? ( media-libs/libde265:=[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e:= )
 	x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}"
@@ -50,10 +50,10 @@ src_prepare() {
 multilib_src_configure() {
 	export GO111MODULE=auto
 	local econf_args=(
+		--enable-libde265
 		--disable-static
 		$(multilib_is_native_abi && use go || echo --disable-go)
 		$(use_enable aom)
-		$(use_enable libde265)
 		$(use_enable gdk-pixbuf)
 		$(use_enable rav1e)
 		$(use_enable threads multithreading)

diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild
index 05d7c5f68ed..a1837ad0964 100644
--- a/media-libs/libheif/libheif-9999.ebuild
+++ b/media-libs/libheif/libheif-9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
@@ -18,20 +18,20 @@ HOMEPAGE="https://github.com/strukturag/libheif"
 
 LICENSE="GPL-3"
 SLOT="0/1.12"
-IUSE="+aom gdk-pixbuf go libde265 rav1e test +threads x265"
-REQUIRED_USE="test? ( go libde265 )"
+IUSE="+aom gdk-pixbuf go rav1e test +threads x265"
+REQUIRED_USE="test? ( go )"
 RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-lang/go )"
 DEPEND="
 	media-libs/dav1d:=[${MULTILIB_USEDEP}]
+	media-libs/libde265:=[${MULTILIB_USEDEP}]
 	media-libs/libpng:0=[${MULTILIB_USEDEP}]
 	sys-libs/zlib:=[${MULTILIB_USEDEP}]
 	virtual/jpeg:0=[${MULTILIB_USEDEP}]
 	aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] )
 	gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] )
 	go? ( dev-lang/go )
-	libde265? ( media-libs/libde265:=[${MULTILIB_USEDEP}] )
 	rav1e? ( media-video/rav1e:= )
 	x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}"
@@ -50,10 +50,10 @@ src_prepare() {
 multilib_src_configure() {
 	export GO111MODULE=auto
 	local econf_args=(
+		--enable-libde265
 		--disable-static
 		$(multilib_is_native_abi && use go || echo --disable-go)
 		$(use_enable aom)
-		$(use_enable libde265)
 		$(use_enable gdk-pixbuf)
 		$(use_enable rav1e)
 		$(use_enable threads multithreading)

diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml
index c8f0f34e809..2d2f28772dd 100644
--- a/media-libs/libheif/metadata.xml
+++ b/media-libs/libheif/metadata.xml
@@ -9,7 +9,6 @@
 	<flag name="aom">Use <pkg>media-libs/libaom</pkg> for AVIF encoding/decoding</flag>
 	<flag name="gdk-pixbuf">Enable <pkg>x11-libs/gdk-pixbuf</pkg> plugin</flag>
 	<flag name="go">Enable building <pkg>dev-lang/go</pkg> code/examples</flag>
-	<flag name="libde265">Use <pkg>media-libs/libde265</pkg> for HEIF decoding</flag>
 	<flag name="rav1e">Use <pkg>media-video/rav1e</pkg> for AVIF encoding</flag>
 	<flag name="x265">Use <pkg> media-libs/x265</pkg> for HEIF encoding</flag>
 	</use>


             reply	other threads:[~2021-09-19  8:06 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19  8:06 Jakov Smolić [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-27  7:00 [gentoo-commits] repo/gentoo:master commit in: media-libs/libheif/ Joonas Niilola
2024-08-27  7:00 Joonas Niilola
2024-08-13  4:55 Michał Górny
2024-07-29  9:35 Pacho Ramos
2024-07-21  8:10 Pacho Ramos
2024-07-21  8:10 Pacho Ramos
2024-07-21  8:10 Pacho Ramos
2024-06-18 18:55 Jakov Smolić
2024-06-18 18:55 Jakov Smolić
2024-01-06  1:21 Jakov Smolić
2024-01-06  1:18 Jakov Smolić
2024-01-06  1:18 Jakov Smolić
2023-06-09 16:50 Arthur Zamarin
2023-04-10  2:54 Sam James
2022-11-24  7:03 Jakov Smolić
2022-10-20 10:56 Jakov Smolić
2022-10-20 10:52 Jakov Smolić
2022-10-16  8:55 Agostino Sarubbo
2022-10-16  8:55 Agostino Sarubbo
2022-10-16  8:54 Agostino Sarubbo
2022-09-21 12:26 Agostino Sarubbo
2022-09-18  8:05 Agostino Sarubbo
2022-09-18  8:05 Agostino Sarubbo
2022-09-18  0:19 Sam James
2022-09-18  0:19 Sam James
2022-09-13 10:57 Jakov Smolić
2022-08-16  1:39 Sam James
2022-08-16  1:26 Sam James
2022-08-16  1:10 Sam James
2022-08-16  1:08 Sam James
2022-08-16  0:39 Sam James
2022-08-11 15:26 WANG Xuerui
2022-08-11 15:26 WANG Xuerui
2022-08-01 17:41 Joonas Niilola
2022-08-01 17:41 Joonas Niilola
2022-07-28 10:27 Jakov Smolić
2022-07-28  9:15 Jakov Smolić
2021-09-07  3:05 Sam James
2021-08-12 19:59 David Seifert
2021-08-12 15:31 Sam James
2021-08-03 23:37 Sam James
2021-07-28 16:14 Sam James
2021-06-06 13:01 Sam James
2021-05-06 14:29 David Seifert
2021-05-06 14:29 David Seifert
2021-04-25  9:31 Sam James
2021-04-14  6:26 Joonas Niilola
2021-04-11 12:22 Mikle Kolyada
2021-04-01 12:11 Thomas Deutschmann
2021-03-02 14:17 Thomas Deutschmann
2021-03-02 11:51 Thomas Deutschmann
2021-03-02 11:51 Thomas Deutschmann
2021-03-02 11:51 Thomas Deutschmann
2021-03-02 11:51 Thomas Deutschmann
2021-01-23 10:43 David Seifert
2021-01-23 10:43 David Seifert
2020-11-13 20:57 Aaron Bauman
2020-11-12 15:17 Sam James
2020-11-12  6:51 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-10-12  9:06 Joonas Niilola
2020-09-20 20:21 Agostino Sarubbo
2020-09-07  0:50 Thomas Deutschmann
2020-09-06 21:43 Sam James
2020-08-30 22:17 Thomas Deutschmann
2020-08-30 22:17 Thomas Deutschmann
2020-08-30 22:17 Thomas Deutschmann
2020-08-16 18:15 Jeroen Roovers
2020-08-16 18:01 Jeroen Roovers
2020-08-16  6:18 Sam James
2020-08-16  6:18 Sam James
2020-07-30  4:01 Sam James
2020-07-27 15:09 Craig Andrews
2020-03-08 20:32 Andreas Sturmlechner
2020-01-23 23:05 Thomas Deutschmann
2019-12-26 12:56 Georgy Yakovlev
2019-12-26 12:56 Georgy Yakovlev
2019-11-24 17:13 Andreas Sturmlechner
2019-10-07  3:11 Aaron Bauman
2019-10-06 21:18 Thomas Deutschmann
2019-10-05  1:36 Thomas Deutschmann
2019-10-05  1:26 Thomas Deutschmann
2019-10-05  1:26 Thomas Deutschmann
2019-07-24 23:09 Aaron Bauman
2019-06-10 19:50 Thomas Deutschmann
2018-10-31 13:45 Thomas Deutschmann
2018-09-09 14:41 Thomas Deutschmann
2018-09-09  0:16 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632038575.947ba1da0999c9c613d32c92cbeb59579aa466d6.jsmolic@gentoo \
    --to=jsmolic@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox