mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
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>
This commit is contained in:
committed by
Sam James
parent
2b40948c38
commit
e9360ad16d
1
dev-cpp/simdutf/Manifest
Normal file
1
dev-cpp/simdutf/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST simdutf-7.3.4.tar.gz 2206868 BLAKE2B ed7c915e5ef7fe774403b87b66df3301b75b1bfac6d0254ff7d91e7eaddb5c9d3415e7d2e0bec260bb904da5601c81d05373f857e732b7f3735a5a8308465138 SHA512 920737f4d2ad5dd4802098b7ad48c47cc477fbeb63ed7b847edb6c71e95b83a54a6db0c38614ad99b403241dd561ff0f4bbc81f10d35e7432aac4280aec370c7
|
||||
11
dev-cpp/simdutf/metadata.xml
Normal file
11
dev-cpp/simdutf/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">simdutf/simdutf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
51
dev-cpp/simdutf/simdutf-7.3.4.ebuild
Normal file
51
dev-cpp/simdutf/simdutf-7.3.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user