guru/gui-apps/corestuff/corestuff-9999.ebuild
Maciej Barć 2d85215993
gui-apps/core*: use cmake for live versions
Signed-off-by: Maciej Barć <xgqt@riseup.net>
2021-04-03 21:47:51 +02:00

40 lines
788 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake 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() {
cmake_src_prepare
sed -i 's/CSuite/X-CSuite/' *.desktop || die
}