*/*: add pkgs from gitlab.com/xgqt/core-overlay as wished by CuboCore

Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-11-12 04:01:27 +01:00
parent 87c16dc2a8
commit 6e7ec6a781
87 changed files with 2501 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils 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="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
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
}