summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-08-02 13:12:21 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-08-02 13:13:56 +0300
commit48c9cdacf049a7af3a8ead57312188e813b47108 (patch)
treeb767d8be7a576c77bbd7510ddf9bdc2d48fa7e76
parentdev-perl/Lab-Measurement: Add missing dependencies (diff)
downloadgentoo-48c9cdacf049a7af3a8ead57312188e813b47108.tar.gz
gentoo-48c9cdacf049a7af3a8ead57312188e813b47108.tar.bz2
gentoo-48c9cdacf049a7af3a8ead57312188e813b47108.zip
media-gfx/zbar: fix configure logic for imagemagick<->graphicsmagick
- tested on stable amd64. Closes: https://bugs.gentoo.org/784362 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--media-gfx/zbar/zbar-0.23.90.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-gfx/zbar/zbar-0.23.90.ebuild b/media-gfx/zbar/zbar-0.23.90.ebuild
index 46b85c382176..3389a83eaacd 100644
--- a/media-gfx/zbar/zbar-0.23.90.ebuild
+++ b/media-gfx/zbar/zbar-0.23.90.ebuild
@@ -72,6 +72,7 @@ DEPEND="${COMMON_DEPEND}
BDEPEND="
app-text/xmlto
+ sys-devel/gettext
virtual/pkgconfig
gtk? ( dev-util/glib-utils )
nls? (
@@ -146,12 +147,12 @@ multilib_src_configure() {
if multilib_is_native_abi; then
# both must be enabled to use GraphicsMagick
- if use graphicsmagick; then
+ if use imagemagick && use graphicsmagick; then
myeconfargs+=(
--with-graphicsmagick
--without-imagemagick
)
- elif use imagemagick; then
+ elif ! use graphicsmagick && use imagemagick; then
myeconfargs+=(
--with-imagemagick
--without-graphicsmagick