blob: d656e5c3806a51a6a4d970cbda77413a1f6e8f1d (
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
|
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils xdg
DESCRIPTION="Practical and minimal image viewer"
HOMEPAGE="https://github.com/jurplel/qView https://interversehq.com/qview/"
SRC_URI="https://github.com/jurplel/qView/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/qView-${PV}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="X"
RDEPEND="
dev-qt/qtbase:6[concurrent,gui,network,widgets]
X? ( x11-libs/libX11 )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-qt/qttools[linguist]
"
src_configure() {
local myqmakeargs=(
PREFIX="${EPREFIX}"/usr
$(usex X '' CONFIG+=NO_X11)
)
eqmake6 "${myqmakeargs[@]}"
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
}
|