mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
54 lines
915 B
Bash
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
|
|
}
|