net-misc/kristall: Add a live ebuild

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2020-11-12 20:52:56 +01:00
parent 148609f464
commit 8b17ce9360
2 changed files with 43 additions and 2 deletions

View File

@@ -7,11 +7,17 @@ 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"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MasterQ32/kristall.git"
else
SRC_URI="https://github.com/MasterQ32/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-qt/qtmultimedia:5[widgets]

View File

@@ -0,0 +1,35 @@
# 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"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MasterQ32/kristall.git"
else
SRC_URI="https://github.com/MasterQ32/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsvg:5
dev-qt/qtnetwork:5[ssl]
"
DEPEND="${RDEPEND}"
src_compile() {
emake
}
src_install() {
emake DESTDIR="${D}" INSTALL="install -D" PREFIX="${EPREFIX}/usr" install
}