Files
guru/gui-apps/corestuff/corestuff-4.1.0.ebuild
Andrew Ammerlaan 7c90a3e564 gui-apps/corestuff: add missing dep
Closes: https://bugs.gentoo.org/784374
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-04-20 12:41:54 +02:00

55 lines
938 B
Bash

# Copyright 1999-2021 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/qtconcurrent:5
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
}