* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/sprout/files/, dev-cpp/sprout/
@ 2020-05-05 11:51 Andrew Ammerlaan
0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2020-05-05 11:51 UTC (permalink / raw
To: gentoo-commits
commit: fb1fd29f00d2c0cf79d3d74f25e747577c9d064a
Author: Michele Santullo <m.santullo <AT> posteo <DOT> net>
AuthorDate: Tue May 5 10:47:16 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 5 10:47:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb1fd29f
dev-cpp/sprout: adding package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michele Santullo <m.santullo <AT> posteo.net>
dev-cpp/sprout/files/optional_binaries.patch | 12 +++++++++++
dev-cpp/sprout/metadata.xml | 18 ++++++++++++++++
dev-cpp/sprout/sprout-9999.ebuild | 32 ++++++++++++++++++++++++++++
3 files changed, 62 insertions(+)
diff --git a/dev-cpp/sprout/files/optional_binaries.patch b/dev-cpp/sprout/files/optional_binaries.patch
new file mode 100644
index 0000000..df6641f
--- /dev/null
+++ b/dev-cpp/sprout/files/optional_binaries.patch
@@ -0,0 +1,12 @@
+diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
+index a68233bf..ef38b570 100644
+--- a/tools/CMakeLists.txt
++++ b/tools/CMakeLists.txt
+@@ -1 +1,6 @@
+-subdirs( compost darkroom )
++if (WITH_WAVCONV)
++ subdirs( compost )
++endif()
++if (WITH_TEXCONV)
++ subdirs( darkroom )
++endif()
diff --git a/dev-cpp/sprout/metadata.xml b/dev-cpp/sprout/metadata.xml
new file mode 100644
index 0000000..01cb49e
--- /dev/null
+++ b/dev-cpp/sprout/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+C++11/14 constexpr based Containers, Algorithms, Random numbers, Parsing, Ray tracing, Synthesizer, and others.
+ </longdescription>
+ <maintainer type="person">
+ <email>m.santullo@posteo.net</email>
+ <name>Michele Santullo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bolero-MURAKAMI/Sprout</remote-id>
+ </upstream>
+ <use>
+ <flag name="texconv">Install texconv from subproject compost</flag>
+ <flag name="wavconv">Install texconv from subproject darkroom</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-cpp/sprout/sprout-9999.ebuild b/dev-cpp/sprout/sprout-9999.ebuild
new file mode 100644
index 0000000..068f836
--- /dev/null
+++ b/dev-cpp/sprout/sprout-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake git-r3
+
+DESCRIPTION="C++11/14 constexpr based Containers, Algorithms, Random numbers and others"
+HOMEPAGE="http://bolero-murakami.github.io/Sprout/"
+EGIT_REPO_URI="https://github.com/bolero-MURAKAMI/Sprout.git"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test texconv wavconv"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=(
+ "${FILESDIR}"/optional_binaries.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test ON OFF)
+ -DWITH_TEXCONV=$(usex texconv ON OFF)
+ -DWITH_WAVCONV=$(usex wavconv ON OFF)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-05 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-05 11:51 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/sprout/files/, dev-cpp/sprout/ Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox