blob: 70235bde75dca15d0c2c9d1ea6cd5a502e02a963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools optfeature xdg
DESCRIPTION="Lightweight image viewer"
HOMEPAGE="https://github.com/lxde/gpicview"
SRC_URI="https://github.com/lxde/gpicview/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ppc ~riscv x86"
RDEPEND="
dev-libs/glib:2
media-libs/libjpeg-turbo:=
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3[X]
x11-libs/libX11
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/intltool-0.40
sys-devel/gettext
virtual/pkgconfig
"
# Changelog is not up-to-date
# NEWS is empty
DOCS=( AUTHORS )
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --enable-gtk3
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "GIF support" gui-libs/gdk-pixbuf[gif]
optfeature "JPEG support" gui-libs/gdk-pixbuf[jpeg]
optfeature "TIFF support" gui-libs/gdk-pixbuf[tiff]
optfeature "WebP support" gui-libs/gdk-pixbuf-loader-webp
}
|