mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
app-misc/corectrl: add 1.4.0, fix catch dependency for 9999
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
54
app-misc/corectrl/corectrl-1.4.0.ebuild
Normal file
54
app-misc/corectrl/corectrl-1.4.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit ecm
|
||||
|
||||
DESCRIPTION="Core control application"
|
||||
HOMEPAGE="https://gitlab.com/corectrl/corectrl"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/corectrl/corectrl.git"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/corectrl/corectrl/-/archive/v${PV}/corectrl-v${PV}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtcharts:5[qml]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtquickcontrols2:5
|
||||
dev-libs/quazip
|
||||
dev-libs/botan
|
||||
sys-auth/polkit
|
||||
x11-libs/libdrm[video_cards_amdgpu]
|
||||
dev-libs/libfmt
|
||||
dev-libs/pugixml
|
||||
dev-libs/spdlog
|
||||
dev-cpp/units
|
||||
test? (
|
||||
>=dev-cpp/catch-3.5.2
|
||||
dev-cpp/trompeloeil
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user