9 |
9 |
DESCRIPTION="A lightweight GTK image viewer forked from GQview"
|
10 |
10 |
HOMEPAGE="http://www.geeqie.org"
|
11 |
11 |
SRC_URI="https://github.com/BestImageViewer/${PN}/releases/download/v${PV}/${P}.tar.xz
|
12 |
|
https://dev.gentoo.org/~voyageur/distfiles/${P}-ChangeLog.tar.gz"
|
|
12 |
https://dev.gentoo.org/~voyageur/distfiles/${P}-docs.tar.xz"
|
13 |
13 |
|
14 |
14 |
LICENSE="GPL-2"
|
15 |
15 |
SLOT="0"
|
16 |
|
KEYWORDS="amd64 ~ppc x86"
|
|
16 |
KEYWORDS="amd64 ~arm64 ~ppc x86"
|
17 |
17 |
IUSE="debug djvu exif ffmpegthumbnailer heif jpeg jpeg2k jpegxl lcms lua map pdf raw spell tiff webp xmp zip"
|
18 |
18 |
|
19 |
19 |
RDEPEND="gnome-extra/zenity
|
... | ... | |
34 |
34 |
raw? ( >=media-libs/libraw-0.20:= )
|
35 |
35 |
spell? ( app-text/gspell )
|
36 |
36 |
tiff? ( media-libs/tiff:= )
|
37 |
|
webp? ( >=media-libs/libwebp-0.6.1:= )
|
|
37 |
webp? ( gui-libs/gdk-pixbuf-loader-webp:= )
|
38 |
38 |
zip? ( >=app-arch/libarchive-3.4.0 )"
|
39 |
39 |
DEPEND="${RDEPEND}"
|
40 |
40 |
BDEPEND="
|
... | ... | |
46 |
46 |
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
47 |
47 |
|
48 |
48 |
PATCHES=(
|
49 |
|
"${FILESDIR}"/${P}-allow_xxdi.patch
|
50 |
|
"${FILESDIR}"/${P}-doc_option.patch
|
|
49 |
"${FILESDIR}"/${P}-lua_hpp.patch
|
51 |
50 |
)
|
52 |
51 |
|
53 |
52 |
pkg_setup() {
|
... | ... | |
60 |
59 |
|
61 |
60 |
# Disable doc build - not useful most of the time per upstream
|
62 |
61 |
sed -e "/subdir('doc')/d" -i meson.build || die
|
63 |
|
|
64 |
|
# Lua version
|
65 |
|
sed -e "s/lua5.[0-9]/${LUA_SINGLE_TARGET/-/.}/" -i meson.build || die
|
66 |
62 |
}
|
67 |
63 |
|
68 |
64 |
src_configure() {
|
... | ... | |
84 |
80 |
$(meson_feature raw libraw)
|
85 |
81 |
$(meson_feature spell)
|
86 |
82 |
$(meson_feature tiff)
|
87 |
|
$(meson_feature webp)
|
88 |
83 |
$(meson_feature zip archive)
|
89 |
84 |
)
|
90 |
85 |
|
... | ... | |
95 |
90 |
meson_src_install
|
96 |
91 |
|
97 |
92 |
# Manually generated ChangeLog
|
98 |
|
dodoc "${WORKDIR}"/${P}-ChangeLog/*
|
|
93 |
dodoc "${WORKDIR}"/${P}-docs/*
|
99 |
94 |
|
100 |
95 |
# The application needs access to some uncompressed doc files.
|
101 |
96 |
docompress -x /usr/share/doc/${PF}/AUTHORS
|