mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
net-misc/kristall: Add a live ebuild
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -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]
|
||||
|
||||
35
net-misc/kristall/kristall-9999.ebuild
Normal file
35
net-misc/kristall/kristall-9999.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user