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 @@
DIST cpp-utilities-5.31.0.tar.gz 213089 BLAKE2B 3b35ed559ae8e15ec9a92719bdbdb0affb6d7b4bd01b9558042f51e2e5dce757fb819d08ae5ae7b38783a6461c08da249c9bc0daecd393da84d8a598f6df380e SHA512 1d1b294e9df060fa2332f877378d8865e8f84467901783f0e3839ae37578426c71a00ebcd42b9b628e38c46dbb20a99f04d9c3304a8f0cb627264a479a9b22e7

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
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>esteve.varela@gmail.com</email>
<name>Esteve Varela Colominas</name>
</maintainer>
<upstream>
<remote-id type="github">Martchus/cpp-utilities</remote-id>
</upstream>
</pkgmetadata>