aboutsummaryrefslogtreecommitdiff
blob: a80dc6aac733413f613c5d8f441f57b5bb482896 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit desktop qmake-utils xdg

DESCRIPTION="Visual cross-platform gemini browser"
HOMEPAGE="https://github.com/MasterQ32/kristall"
SRC_URI="https://github.com/MasterQ32/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-qt/qtmultimedia[widgets]"
DEPEND="${RDEPEND}"

src_prepare() {
	default
	sed -Ei 's|(target\.path) = .+|\1 = /usr/bin|' src/kristall.pro || die
}

src_configure() {
	eqmake5 src/kristall.pro
}

src_install() {
	emake install INSTALL_ROOT="${D}"
	einstalldocs

	doicon src/icons/kristall.svg
	domenu Kristall.desktop
}