summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <sebastian@blender.org>2024-07-15 12:01:25 +0200
committerSam James <sam@gentoo.org>2024-07-16 08:04:01 +0100
commitcea470d6267050d1e21af5070c7c67e5a7e17f5f (patch)
tree441e5acdcfb189921af3a220fc066f6262eced52 /dev-libs
parentapp-accessibility/accerciser: stabilize 3.42.0-r1 for ALLARCHES (diff)
downloadgentoo-cea470d6267050d1e21af5070c7c67e5a7e17f5f.tar.gz
gentoo-cea470d6267050d1e21af5070c7c67e5a7e17f5f.tar.bz2
gentoo-cea470d6267050d1e21af5070c7c67e5a7e17f5f.zip
dev-libs/zug: Add missing boost dependency, fix Werror added per default
Closes: https://bugs.gentoo.org/936026 Closes: https://bugs.gentoo.org/936027 Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/zug/zug-0.1.1-r1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/zug/zug-0.1.1-r1.ebuild b/dev-libs/zug/zug-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..6cccaf41364f
--- /dev/null
+++ b/dev-libs/zug/zug-0.1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Transducers for C++"
+HOMEPAGE="https://sinusoid.es/zug/"
+SRC_URI="https://github.com/arximboldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/boost:="
+
+BDEPEND="
+ test? ( <dev-cpp/catch-3:0 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCCACHE=no
+ -DDISABLE_WERROR=yes
+ -Dzug_BUILD_DOCS=no # Recheck if documentation is in a better state when bumping
+ -Dzug_BUILD_EXAMPLES=no
+ -Dzug_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use test; then
+ cmake_build tests
+ fi
+
+}