ebuild-repository/kde-misc/corectrl/corectrl-1.1.3.ebuild

49 lines
860 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit ecm
DESCRIPTION="Core control application."
HOMEPAGE="https://gitlab.com/corectrl/corectrl"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git"
inherit git-r3
else
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0/9999"
IUSE=""
REQUIRED_USE=""
DEPEND="
dev-qt/qtcore:5
dev-qt/qtcharts:5[qml]
dev-qt/qtdbus:5
dev-qt/qtnetwork:5
dev-qt/qtquickcontrols2:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/linguist-tools:5[qml]
kde-frameworks/kauth
kde-frameworks/karchive
dev-libs/botan:2
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
"
S=${WORKDIR}/${PN}-v${PV}
PATCHES=(
"${FILESDIR}/${PN}-install.patch"
)