diff options
| author | Lukas Schmelting <lschmelting@posteo.com> | 2025-08-14 22:11:30 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-03 05:56:35 +0100 |
| commit | e9360ad16de9fa8cd166bb01e877143fba83b44d (patch) | |
| tree | 44120604e64c02cc3864921db6cd3f0e514c456f /dev-cpp/simdutf/simdutf-7.3.4.ebuild | |
| parent | 2b40948c38a72ba65f27d5873c533010eb19bdca (diff) | |
| download | gentoo-e9360ad16de9fa8cd166bb01e877143fba83b44d.tar.gz gentoo-e9360ad16de9fa8cd166bb01e877143fba83b44d.tar.bz2 gentoo-e9360ad16de9fa8cd166bb01e877143fba83b44d.zip | |
dev-cpp/simdutf: new package; add 7.3.4
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43306
Closes: https://github.com/gentoo/gentoo/pull/43306
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/simdutf/simdutf-7.3.4.ebuild')
| -rw-r--r-- | dev-cpp/simdutf/simdutf-7.3.4.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-cpp/simdutf/simdutf-7.3.4.ebuild b/dev-cpp/simdutf/simdutf-7.3.4.ebuild new file mode 100644 index 000000000000..1065c51aab89 --- /dev/null +++ b/dev-cpp/simdutf/simdutf-7.3.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="" + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit cmake docs python-any-r1 + +DESCRIPTION="Unicode validation and transcoding at billions of characters per second" +HOMEPAGE="https://simdutf.github.io/simdutf/" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0/25" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/libiconv +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + doc? ( + app-text/doxygen + ) +" + +src_configure(){ + local mycmakeargs+=( + -DSIMDUTF_TESTS=$(usex test) + -DSIMDUTF_ATOMIC_BASE64_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && docs_compile +} + +src_install() { + cmake_src_install + use doc && einstalldocs +} |
