dev-cpp/cpp-utilities: New package

Required in dependency chain for syncthingtray

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
Esteve Varela Colominas
2025-11-02 19:24:03 +01:00
parent 9879b7bf3f
commit acc62ef1cf
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Useful C++ classes and routines"
HOMEPAGE="https://github.com/Martchus/cpp-utilities"
SRC_URI="https://github.com/Martchus/cpp-utilities/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DEXCLUDE_TESTS_FROM_ALL=$(usex !test)
)
cmake_src_configure
}