mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user