blob: c552c99c816be8da993d4a3e0e96e979c2a9488e (
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
52
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit desktop qmake-utils xdg-utils
MY_P="${P/p/P}-src"
DESCRIPTION="OpenGL-based panoramic image viewer"
HOMEPAGE="https://github.com/lazarus-pkgs/panini"
SRC_URI="https://github.com/lazarus-pkgs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtopengl:5
dev-qt/qtwidgets:5
sys-libs/zlib
virtual/glu
"
DEPEND="${RDEPEND}
app-arch/unzip
"
DOCS=( NEWS {BUILD,README,USAGE}.md )
src_prepare() {
default
eqmake5 ${PN}.pro
}
src_install() {
einstalldocs
dobin panini
domenu "${FILESDIR}"/${PN}.desktop
newicon ui/panini-icon-blue.jpg ${PN}.jpg
}
pkg_postinst() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
}
|