diff options
Diffstat (limited to 'net-misc/kristall/kristall-0.3.ebuild')
-rw-r--r-- | net-misc/kristall/kristall-0.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/kristall/kristall-0.3.ebuild b/net-misc/kristall/kristall-0.3.ebuild new file mode 100644 index 000000000..a575f1a12 --- /dev/null +++ b/net-misc/kristall/kristall-0.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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:5[widgets]" +DEPEND="${RDEPEND}" + +src_prepare() { + xdg_src_prepare + sed -Ei 's|(target\.path) = .+|\1 = /usr/bin|' src/kristall.pro || die +} + +src_configure() { + # qmake overwrites Makefile but it is needed for installing. + mv Makefile{,.tmp} || die + eqmake5 src/kristall.pro +} + +src_install() { + mv Makefile{.tmp,} || die + INSTALL="install -D" PREFIX="${EPREFIX}/usr" default +} |