media-libs/libheif: Add USE=gdk-pixbuf

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Closes: https://bugs.gentoo.org/704746
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2020-08-16 20:14:46 +02:00
parent 8b565d4b9e
commit e49fe8d27c
3 changed files with 8 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif"
LICENSE="GPL-3"
SLOT="0/1.6"
IUSE="go static-libs test +threads"
IUSE="gdk-pixbuf go static-libs test +threads"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-lang/go )"
@@ -28,6 +28,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
gdk-pixbuf? ( x11-libs/gdk-pixbuf )
go? ( dev-lang/go )
"
RDEPEND="${DEPEND}"
@@ -49,6 +50,7 @@ src_prepare() {
multilib_src_configure() {
local econf_args=(
$(multilib_is_native_abi && use_enable go || echo --disable-go)
$(use_enable gdk-pixbuf)
$(use_enable static-libs static)
$(use_enable threads multithreading)
)

View File

@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/strukturag/libheif"
LICENSE="GPL-3"
SLOT="0/1.6"
IUSE="go static-libs test +threads"
IUSE="gdk-pixbuf go static-libs test +threads"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-lang/go )"
@@ -28,6 +28,7 @@ DEPEND="
media-libs/x265:=[${MULTILIB_USEDEP}]
sys-libs/zlib:=[${MULTILIB_USEDEP}]
virtual/jpeg:0=[${MULTILIB_USEDEP}]
gdk-pixbuf? ( x11-libs/gdk-pixbuf )
go? ( dev-lang/go )
"
RDEPEND="${DEPEND}"
@@ -46,6 +47,7 @@ src_prepare() {
multilib_src_configure() {
local econf_args=(
$(multilib_is_native_abi && use_enable go || echo --disable-go)
$(use_enable gdk-pixbuf)
$(use_enable static-libs static)
$(use_enable threads multithreading)
)

View File

@@ -3,7 +3,8 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name='go'>Add support for <pkg>dev-lang/go</pkg></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>
</use>
<upstream>
<bugs-to>https://github.com/strukturag/libheif/issues</bugs-to>