summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-11-23 09:51:10 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-11-23 09:51:10 +0100
commitf7e6c2c119d24e8709d518e382bf0891b4fc85d0 (patch)
tree2054b60ff960c564a72e3aab64f3125382632200 /media-gfx/geeqie/geeqie-9999.ebuild
parentdev-db/pg_activity: version bump to 1.6.2 (diff)
downloadgentoo-f7e6c2c119d24e8709d518e382bf0891b4fc85d0.tar.gz
gentoo-f7e6c2c119d24e8709d518e382bf0891b4fc85d0.tar.bz2
gentoo-f7e6c2c119d24e8709d518e382bf0891b4fc85d0.zip
media-gfx/geeqie: migrate to lua-single eclass
Closes: https://bugs.gentoo.org/752744 Package-Manager: Portage-3.0.10, Repoman-3.0.2 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.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-gfx/geeqie/geeqie-9999.ebuild b/media-gfx/geeqie/geeqie-9999.ebuild
index aef56eaf8ba..b9db7c038a2 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+LUA_COMPAT=( lua5-{1..3} )
-inherit autotools git-r3 xdg
+inherit autotools git-r3 lua-single xdg
DESCRIPTION="A lightweight GTK image viewer forked from GQview"
HOMEPAGE="http://www.geeqie.org"
@@ -26,7 +27,7 @@ RDEPEND="
jpeg? ( virtual/jpeg:0 )
lcms? ( media-libs/lcms:2 )
lirc? ( app-misc/lirc )
- lua? ( >=dev-lang/lua-5.1:= )
+ lua? ( ${LUA_DEPS} )
map? ( media-libs/libchamplain:0.12 )
pdf? ( >=app-text/poppler-0.62[cairo] )
tiff? ( media-libs/tiff:0 )
@@ -39,7 +40,8 @@ BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )"
-REQUIRED_USE="gpu-accel? ( gtk3 )
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
+ gpu-accel? ( gtk3 )
map? ( gpu-accel )"
src_prepare() {