guru/gui-apps/corestuff/corestuff-9999.ebuild
Maciej Barć b073196b9e
gui-apps/core*: remove mirror restriction
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-12-06 00:24:20 +01:00

54 lines
915 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils xdg
DESCRIPTION="An activity viewer for C Suite"
HOMEPAGE="https://gitlab.com/cubocore/coreapps/corestuff"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/${PN}.git"
else
SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-v${PV}"
fi
RESTRICT="test"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-qt/qtx11extras:5
gui-libs/libcprime
gui-libs/libcsys
kde-frameworks/kglobalaccel:5
x11-libs/libXcomposite
"
RDEPEND="
${DEPEND}
"
src_prepare() {
default
sed -i 's/CSuite/X-CSuite/' "${PN}.desktop" || die
}
src_configure() {
eqmake5
}
src_compile() {
emake
}
src_install() {
einstalldocs
emake INSTALL_ROOT="${D}" install
}