summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-01-24 15:02:59 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-01-24 15:03:25 +0100
commit0ad537e99690027d0f2c80609e968ff42b0e0778 (patch)
treed10e279bf6841ad104c128fe0af62b127507138e /media-gfx/geeqie/geeqie-9999.ebuild
parentx11-misc/obmenu-generator: bump to 0.87 & make Gtk2/Gtk3 optional (diff)
downloadgentoo-0ad537e99690027d0f2c80609e968ff42b0e0778.tar.gz
gentoo-0ad537e99690027d0f2c80609e968ff42b0e0778.tar.bz2
gentoo-0ad537e99690027d0f2c80609e968ff42b0e0778.zip
media-gfx/geeqie: fix build with -fno-common/gcc10, thanks slyfox
Also sync stable and live ebuilds Closes: https://bugs.gentoo.org/706132 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-gfx/geeqie/geeqie-9999.ebuild')
-rw-r--r--media-gfx/geeqie/geeqie-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/media-gfx/geeqie/geeqie-9999.ebuild b/media-gfx/geeqie/geeqie-9999.ebuild
index f40ac89c824a..a0e3b2f1b761 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/BestImageViewer/geeqie.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="debug doc exif ffmpegthumbnailer gpu-accel +gtk3 jpeg lcms lirc lua map tiff xmp"
+IUSE="debug doc exif ffmpegthumbnailer gpu-accel +gtk3 jpeg lcms lirc lua map nls pdf tiff xmp"
RDEPEND="
virtual/libintl
@@ -28,6 +28,7 @@ RDEPEND="
lirc? ( app-misc/lirc )
lua? ( >=dev-lang/lua-5.1:= )
map? ( media-libs/libchamplain:0.12 )
+ pdf? ( >=app-text/poppler-0.62[cairo] )
tiff? ( media-libs/tiff:0 )
xmp? ( >=media-gfx/exiv2-0.17:=[xmp] )
!xmp? ( exif? ( >=media-gfx/exiv2-0.17:= ) )"
@@ -35,8 +36,8 @@ DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
REQUIRED_USE="gpu-accel? ( gtk3 )
map? ( gpu-accel )"
@@ -63,6 +64,8 @@ src_configure() {
$(use_enable lua)
$(use_enable lirc)
$(use_enable map)
+ $(use_enable nls)
+ $(use_enable pdf)
$(use_enable tiff)
)