1 |
commit: e49fe8d27cc68e57ba75cb55d0c6dbcf47ccf1d7 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 18:14:46 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 18:15:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49fe8d2 |
7 |
|
8 |
media-libs/libheif: Add USE=gdk-pixbuf |
9 |
|
10 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
11 |
Closes: https://bugs.gentoo.org/704746 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
media-libs/libheif/libheif-1.7.0.ebuild | 4 +++- |
15 |
media-libs/libheif/libheif-9999.ebuild | 4 +++- |
16 |
media-libs/libheif/metadata.xml | 3 ++- |
17 |
3 files changed, 8 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/libheif/libheif-1.7.0.ebuild b/media-libs/libheif/libheif-1.7.0.ebuild |
20 |
index c7406ee8a8e..3bba1148615 100644 |
21 |
--- a/media-libs/libheif/libheif-1.7.0.ebuild |
22 |
+++ b/media-libs/libheif/libheif-1.7.0.ebuild |
23 |
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif" |
24 |
|
25 |
LICENSE="GPL-3" |
26 |
SLOT="0/1.6" |
27 |
-IUSE="go static-libs test +threads" |
28 |
+IUSE="gdk-pixbuf go static-libs test +threads" |
29 |
RESTRICT="!test? ( test )" |
30 |
|
31 |
BDEPEND="test? ( dev-lang/go )" |
32 |
@@ -28,6 +28,7 @@ DEPEND=" |
33 |
media-libs/x265:=[${MULTILIB_USEDEP}] |
34 |
sys-libs/zlib:=[${MULTILIB_USEDEP}] |
35 |
virtual/jpeg:0=[${MULTILIB_USEDEP}] |
36 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf ) |
37 |
go? ( dev-lang/go ) |
38 |
" |
39 |
RDEPEND="${DEPEND}" |
40 |
@@ -49,6 +50,7 @@ src_prepare() { |
41 |
multilib_src_configure() { |
42 |
local econf_args=( |
43 |
$(multilib_is_native_abi && use_enable go || echo --disable-go) |
44 |
+ $(use_enable gdk-pixbuf) |
45 |
$(use_enable static-libs static) |
46 |
$(use_enable threads multithreading) |
47 |
) |
48 |
|
49 |
diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild |
50 |
index 85e13a9e4cf..3e1aacd0ed3 100644 |
51 |
--- a/media-libs/libheif/libheif-9999.ebuild |
52 |
+++ b/media-libs/libheif/libheif-9999.ebuild |
53 |
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif" |
54 |
|
55 |
LICENSE="GPL-3" |
56 |
SLOT="0/1.6" |
57 |
-IUSE="go static-libs test +threads" |
58 |
+IUSE="gdk-pixbuf go static-libs test +threads" |
59 |
RESTRICT="!test? ( test )" |
60 |
|
61 |
BDEPEND="test? ( dev-lang/go )" |
62 |
@@ -28,6 +28,7 @@ DEPEND=" |
63 |
media-libs/x265:=[${MULTILIB_USEDEP}] |
64 |
sys-libs/zlib:=[${MULTILIB_USEDEP}] |
65 |
virtual/jpeg:0=[${MULTILIB_USEDEP}] |
66 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf ) |
67 |
go? ( dev-lang/go ) |
68 |
" |
69 |
RDEPEND="${DEPEND}" |
70 |
@@ -46,6 +47,7 @@ src_prepare() { |
71 |
multilib_src_configure() { |
72 |
local econf_args=( |
73 |
$(multilib_is_native_abi && use_enable go || echo --disable-go) |
74 |
+ $(use_enable gdk-pixbuf) |
75 |
$(use_enable static-libs static) |
76 |
$(use_enable threads multithreading) |
77 |
) |
78 |
|
79 |
diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml |
80 |
index 481879a1442..f92d3bad5e8 100644 |
81 |
--- a/media-libs/libheif/metadata.xml |
82 |
+++ b/media-libs/libheif/metadata.xml |
83 |
@@ -3,7 +3,8 @@ |
84 |
<pkgmetadata> |
85 |
<!-- maintainer-needed --> |
86 |
<use> |
87 |
- <flag name='go'>Add support for <pkg>dev-lang/go</pkg></flag> |
88 |
+ <flag name='gdk-pixbuf'>Enable <pkg>x11-libs/gdk-pixbuf</pkg> plugin</flag> |
89 |
+ <flag name='go'>Enable building <pkg>dev-lang/go</pkg> code/examples</flag> |
90 |
</use> |
91 |
<upstream> |
92 |
<bugs-to>https://github.com/strukturag/libheif/issues</bugs-to> |