diff options
Diffstat (limited to 'dev-cpp/simdutf')
| -rw-r--r-- | dev-cpp/simdutf/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/simdutf/simdutf-7.7.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-cpp/simdutf/Manifest b/dev-cpp/simdutf/Manifest index c8b508203d05..c775720e0e5d 100644 --- a/dev-cpp/simdutf/Manifest +++ b/dev-cpp/simdutf/Manifest @@ -1 +1,2 @@ DIST simdutf-7.3.4.tar.gz 2206868 BLAKE2B ed7c915e5ef7fe774403b87b66df3301b75b1bfac6d0254ff7d91e7eaddb5c9d3415e7d2e0bec260bb904da5601c81d05373f857e732b7f3735a5a8308465138 SHA512 920737f4d2ad5dd4802098b7ad48c47cc477fbeb63ed7b847edb6c71e95b83a54a6db0c38614ad99b403241dd561ff0f4bbc81f10d35e7432aac4280aec370c7 +DIST simdutf-7.7.0.tar.gz 2231692 BLAKE2B b85af288b72557834389690be2afa304ff1033a66187b1d9e0b389f3dec2ccef435bc8efb5c0242028a81a2406552f697a61e440682db09eff5c61d2e5bebe72 SHA512 9af2121d235e5b13589f64a9a9e2a2c83d287fbb1ebe1d5dee500bb229bf856efbb80ac2af1d8b764ca1f9d822a3c1b5b3aac0da958d661b1c84fc0f9a757a5b diff --git a/dev-cpp/simdutf/simdutf-7.7.0.ebuild b/dev-cpp/simdutf/simdutf-7.7.0.ebuild new file mode 100644 index 000000000000..e51ff9ccb906 --- /dev/null +++ b/dev-cpp/simdutf/simdutf-7.7.0.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 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +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 +} |
