Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-05-05 12:05:10 +00:00
7 changed files with 145 additions and 0 deletions

View File

@@ -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()

View File

@@ -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>

View File

@@ -0,0 +1,34 @@
# 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=""
IUSE="test texconv wavconv"
RESTRICT="!test? ( test )"
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
}

View File

@@ -0,0 +1 @@
DIST vectorwrapper-1.1.1.tar.gz 1016401 BLAKE2B bb329e27800dc19537dca009d367b1ab0123c47cb59664bffc7bb4dedaf50a651e6254716bf4113cf7d957c9b10fad461806d2c4a945ac73772964f46de3ac26 SHA512 45ac836a8e0c7e08cd5213926a1711fec8f6d43fa2eb3ac1e9596fdd9c67ad5da96599e982f3acc2ea2e015d493b8454febe5e28a6b491caff35762eab2ed0f8

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>m.santullo@posteo.net</email>
<name>Michele Santullo</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,36 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A template vector wrapper class for C++"
HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="http://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper.git"
inherit git-r3
else
SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}"/"${PN}"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND=""
src_configure() {
local emesonargs=(
$(meson_use test build_testing)
)
meson_src_configure
}

View File

@@ -0,0 +1,36 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A template vector wrapper class for C++"
HOMEPAGE="https://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="http://alarmpi.no-ip.org/gitan/King_DuckZ/vectorwrapper.git"
inherit git-r3
else
SRC_URI="https://alarmpi.no-ip.org/gitan/King_DuckZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}"/"${PN}"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND=""
src_configure() {
local emesonargs=(
$(meson_use test build_testing)
)
meson_src_configure
}