-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kostadin Shishmanov <[email protected]>
- Loading branch information
1 parent
a56550c
commit 3fbddac
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST corectrl-v1.4.1.tar.bz2 261136 BLAKE2B acf8589ba5e98156b07ccc9903b6bebd334bc1b8c85ab33d24152fee6d491fe8d4157c3322c25c5ec6a1c93e003de59951947b3d559c3ee8530b144ac7b2353d SHA512 09c58c82b16ea86feafbed98dbfc27e828b342bfdb8eaaee15cd4fcb4ebe9e1cc8e7a55661b1f65b33cb568f83e37e732cada2f2c387a36501d65b3ded6d9914 | ||
DIST corectrl-v1.4.2.tar.bz2 262647 BLAKE2B 38e923f9d6b6967d91dff6c5c11fdbf5f4dc5d2c0f98a5e00bfa1742f78b97cc45837fdc2017a1e5a705a93d18cce945345d7daeda6302cc38ab7d594a7c3848 SHA512 9fc528e800185a38aa93843ce384d533efde2bc7b6201718f544bba7d0e3635ad2a5d03f6a5678cba4caf7b60b82a3cd72d443d574e4cc035009b70912719a54 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# 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 )" | ||
|
||
COMMON_DEPEND=" | ||
dev-libs/botan:= | ||
dev-libs/pugixml | ||
dev-libs/spdlog:= | ||
>=dev-libs/quazip-1.3:=[qt5] | ||
dev-qt/qtcharts:5[qml] | ||
dev-qt/qtdbus:5 | ||
dev-qt/qtdeclarative:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtnetwork:5 | ||
dev-qt/qtwidgets:5 | ||
sys-auth/polkit[introspection] | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
dev-cpp/units | ||
dev-qt/linguist-tools:5 | ||
dev-qt/qtsvg:5 | ||
x11-libs/libdrm[video_cards_amdgpu] | ||
test? ( | ||
>=dev-cpp/catch-3.5.2 | ||
dev-cpp/trompeloeil | ||
) | ||
" | ||
|
||
RDEPEND="${COMMON_DEPEND} | ||
dev-libs/glib | ||
dev-libs/libfmt:= | ||
dev-qt/qtquickcontrols2 | ||
" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DBUILD_TESTING=$(usex test ON OFF) | ||
) | ||
cmake_src_configure | ||
} |