summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/Manifest.gzbin97584 -> 97753 bytes
-rw-r--r--dev-libs/hyperscan/Manifest2
-rw-r--r--dev-libs/hyperscan/hyperscan-5.4.2.ebuild2
-rw-r--r--dev-libs/protobuf/Manifest2
-rw-r--r--dev-libs/protobuf/protobuf-21.12.ebuild2
-rw-r--r--dev-libs/vectorscan/Manifest3
-rw-r--r--dev-libs/vectorscan/metadata.xml24
-rw-r--r--dev-libs/vectorscan/vectorscan-5.4.11.ebuild74
8 files changed, 105 insertions, 4 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz
index 2193841d5552..d7961e5ccaa9 100644
--- a/dev-libs/Manifest.gz
+++ b/dev-libs/Manifest.gz
Binary files differ
diff --git a/dev-libs/hyperscan/Manifest b/dev-libs/hyperscan/Manifest
index 356f3d99a819..c95c350afd92 100644
--- a/dev-libs/hyperscan/Manifest
+++ b/dev-libs/hyperscan/Manifest
@@ -1,3 +1,3 @@
DIST hyperscan-5.4.2.tar.gz 1848851 BLAKE2B a4539df7c6a4b5f097effa67bc777c37ff02aae356953acd4ffe871f621c556f6357c37ad813db144ed50af21881838946b7cb5ef9ea345412de908b84497dac SHA512 328f21133161d16b36ebdc7f8b80a7afe7ca9e7e7433348e9bfa9acb5f3641522e8314beea1b219891f4e95f1392ff8036ebb87780fe808b8b4bd15a535e9509
-EBUILD hyperscan-5.4.2.ebuild 1568 BLAKE2B ff9065a10fd7a968702ba3cd7ca8a36a597cfdb76d27382246189f72c9b1de5b58fe5c8a436d52d942b56d7888bf16cb6ada4a5518a3abe5a75f0b41a1bdc000 SHA512 694afad9d8f5cda517b26b82a75a6718a39c4fd0af96003ab381d3542710ea3fb145e4334d0e561e5ef8604b94a43f850c79d997a3125875a1f0b968c7451c42
+EBUILD hyperscan-5.4.2.ebuild 1569 BLAKE2B 6ad306dc8dc9daa7c10519bda6a8f4f06a2d2fa4e944e3d0efc73d6d63ac9d82d6441e337a495734bc14727c0e72d8b9615a9763a41812666c03af4e0c7017db SHA512 9b5ed47e697e8422b73509ac0d222d5dd901688d019c3988be8f51b01baaa69f8ba5925af966717c7b0a93d36bd383e670ce77c145d31c48b6d8e4c1b8878004
MISC metadata.xml 471 BLAKE2B 92184c0b906267d9d424de9107bff13927827c8356d7ed398c9e43c055fab60f93cd9703cdecde00e2a054b2bfd74f0e5efd8c8eb7acb5dd988c9b877f2d30a1 SHA512 c93ebc4f4088dc33ee9f0bad4bda13fa53276fb8eeaae484f260d4694665eca36e63b4fd7427b2dd5c6ae4546ea0ba5361ed3c45865a0d3cd3421c0023d9b4d6
diff --git a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild b/dev-libs/hyperscan/hyperscan-5.4.2.ebuild
index c82f020ea277..7c6fac198c94 100644
--- a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild
+++ b/dev-libs/hyperscan/hyperscan-5.4.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake flag-o-matic python-any-r1
diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest
index 0b21a9aa5e64..8c34b01e042e 100644
--- a/dev-libs/protobuf/Manifest
+++ b/dev-libs/protobuf/Manifest
@@ -9,7 +9,7 @@ AUX protobuf-3.20.2-protoc_input_output_files.patch 10080 BLAKE2B f52ea613b1104a
DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 33500612d103afb817062486a741e8e5503f82c42c70054d47d1899e6bb79f3fdde2666cad5b8eff6e1bc539c3b0cdf9f2b125ce7e5d3a459a69e84d67ab535e SHA512 2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346
DIST protobuf-21.9.tar.gz 5110670 BLAKE2B a4f5b7f58e1c5904ca990b100a72992f6f56177b28773f8de8c99e4158391d33cfb8aa8575915887fc9ae4294faf81d4ff6b470bc07b394bfd5885a09ba0fafe SHA512 6954b42d21921e630173b7848c056ab95635627d8eddec960f3db2ddda13eedde00520a9b350722e76e2998649eb8ebe10758e1db938b6a91e38ff3295b1b7c1
DIST protobuf-23.3.tar.gz 5043803 BLAKE2B ee2edee230969555c9ef95069c7b1d6c23c3d1f8ea1b2249fb3e9f6fcf63312c6e10e9da65b80629fb08d5fb08d05a19bb9c752c25b892c1e3fd6f18b9279eb3 SHA512 646af367dbc61b42e322cf0b335f360e428b272e2b1f5361b2f17c18d3dc9dddd615e1279436028b1a42275a0beadda37c2c934fc27d6c892131cc8d526d8b3b
-EBUILD protobuf-21.12.ebuild 2505 BLAKE2B e02f35a3a509f2abf78bfb95436152072dc238cd37d588ffa50c39e708cf0c3d15f41700ba15eabb75015d765ae0f8cc11243282f4074f12acdc3efa883f60fa SHA512 6142936197b76001c7bac864d36f63b05e502d86d10f13767c6cecd2ff81c64dc0272ca75a6874fbce639f8702e1c678df7eb6ba84fb424ccd22c449651cab2c
+EBUILD protobuf-21.12.ebuild 2504 BLAKE2B b90c7eb65835f98825faf41fb70b7edcd40030c5c430be7faf13308a74cbc3576a910b83a73dcf593ebb248392900536b96152ba18d05f532b0632ad637b2ad8 SHA512 454f7104106edd5cbc9c1897cdc57fcef337fef51239d5e8832064a9a049b238bb3d4d549df88369098b26a350b4828131ecda74a65c832cf4aa9b1128445d7b
EBUILD protobuf-21.9.ebuild 4169 BLAKE2B 26d7458698701fc08d93a7fde27933b34d39975ae403531af31a7dfd8471e2ca20d9f471875ba15a88388616c353bb7b6fd29ed1a6d4b94391fccee2f448d4c5 SHA512 32699153aaf64ece98cd694826b6ba01e32af8a278143e8dacbe05a9eb23f37017a40807247eb1809a5be5e6300a922c8758f3e53be166a1d2e5d48735a63fad
EBUILD protobuf-23.3-r2.ebuild 2659 BLAKE2B 1535f90dedfe009e965f85ecb14b895172b300a81f1915493adb9f7ea73eeadf51f5b2e0615b0d5c2df877b6f915450ef0f44cb762c9ca3d7932985933c91f67 SHA512 6dbd449376734bb6e789b6771e117797e971a45b5829257324630fdedc0bbb7697a1f6e66a4f1ca9f9eb99986dae827309a81556089a7c61e10c58d642ce9147
MISC metadata.xml 595 BLAKE2B ba1b916e26b1e53f68e660f03d2e53fea8d22db04e8241ebec3ec20fbb251c2b164cf25d5fb6118423ce7721a822ae2302aab137b0748730e9a6860bf8e65668 SHA512 785e2550621b79b6350e1a6b52ed9992610769885fb29a9e92ee45a35158cc08707a3590dfcbece9ee9a5e16e1abfb614e8186132da7b942f2761b5e6ecfa827
diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild b/dev-libs/protobuf/protobuf-21.12.ebuild
index b197ed46c9b8..3672570cf101 100644
--- a/dev-libs/protobuf/protobuf-21.12.ebuild
+++ b/dev-libs/protobuf/protobuf-21.12.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == *9999 ]]; then
EGIT_SUBMODULES=()
else
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~x64-macos"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~x64-macos"
fi
DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data"
diff --git a/dev-libs/vectorscan/Manifest b/dev-libs/vectorscan/Manifest
new file mode 100644
index 000000000000..f884cd4d0257
--- /dev/null
+++ b/dev-libs/vectorscan/Manifest
@@ -0,0 +1,3 @@
+DIST vectorscan-5.4.11.tar.gz 1895332 BLAKE2B a8f5a1230af0ddf7d9fb9299769ec1736d37ac3284f6a98b1e650af461206cf459eac35d13a47beb6683786c6529539b2d082edf426e7d4890ed11804c76268b SHA512 ed74e441c1106a90b344898320d20b74726db86af338dee8c908db941a88e73355ca87c6d64e212eb860bf76a96121021ebaabd48ce359b47634caaee9df3e5e
+EBUILD vectorscan-5.4.11.ebuild 1503 BLAKE2B 97269033fddf822725689b96e6dada2e4ef1272ab1a03b12f3cd4d28e22d1e6d5f26fda9b4168bb7238384e89a640b63aba336380d7b76f428a82753eb6e751d SHA512 aec3518eaf45e5b1d74390682650d979a823a5dee72ce5045b62e98a4ca24d1264e22a96bfb0610364de4da5eff9251fe0e4b51b52d1097f5432a6309c1966e8
+MISC metadata.xml 880 BLAKE2B 65aa39b8d66af4673461921cea8749918b0239d41984035e65c7f45d6caa3ed9f31b5ccabd5cf78db2926431f707334068be4c7ff9535cad4977d818b473afbe SHA512 889bf54d032723022c484019502a2f93c5bd55b52ef8399bb7ad8cafe842de42871994b446982c9f098f7955df43f094ad7700aee557132ac250a4af4ad95ec9
diff --git a/dev-libs/vectorscan/metadata.xml b/dev-libs/vectorscan/metadata.xml
new file mode 100644
index 000000000000..45e25fefd6d7
--- /dev/null
+++ b/dev-libs/vectorscan/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arkamar@gentoo.org</email>
+ <name>Petr Vaněk</name>
+ </maintainer>
+ <longdescription>
+ A fork of Intel's Hyperscan, modified to run on more platforms.
+ Currently ARM NEON/ASIMD is 100% functional, and Power VSX are in
+ development. ARM SVE2 support is in ongoing with access to hardware now.
+ More platforms will follow in the future.
+
+ Vectorscan follows Intel's API and internal algorithms where
+ possible, but will not hesitate to make code changes where it is thought
+ of giving better performance or better portability.
+ </longdescription>
+ <slots>
+ <subslots>libhs soname version</subslots>
+ </slots>
+ <upstream>
+ <remote-id type="github">VectorCamp/vectorscan</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild
new file mode 100644
index 000000000000..b047e39dd69f
--- /dev/null
+++ b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo flag-o-matic
+
+DESCRIPTION="A portable fork of the high-performance regular expression matching library"
+HOMEPAGE="
+ https://www.vectorcamp.gr/vectorscan/
+ https://github.com/VectorCamp/vectorscan
+"
+SRC_URI="
+ https://github.com/VectorCamp/vectorscan/archive/refs/tags/${PN}/${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0/5"
+KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse4_2"
+
+DEPEND="
+ dev-libs/boost:=
+"
+RDEPEND="
+ ${DEPEND}
+ !dev-libs/hyperscan
+"
+BDEPEND="
+ dev-util/ragel
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="
+ x86? ( cpu_flags_x86_sse4_2 )
+ amd64? ( cpu_flags_x86_sse4_2 )
+"
+
+src_prepare() {
+ local sedargs=(
+ # Respect user -m flags (march/mtune)
+ -e '/set(ARCH_CX*_FLAG/d'
+ # Respect user -O flags
+ -e '/set(OPT_CX*_FLAG/d'
+ )
+ sed -i "${sedargs[@]}" CMakeLists.txt cmake/cflags-x86.cmake || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ use cpu_flags_x86_avx2 && append-flags -mavx2
+ use cpu_flags_x86_sse4_2 && append-flags -msse4.2
+
+ local mycmakeargs=(
+ -DBUILD_BENCHMARKS=OFF
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_SHARED_LIBS=ON
+
+ -DBUILD_AVX2=$(usex cpu_flags_x86_avx2)
+
+ -DUSE_CPU_NATIVE=OFF
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ # The unit target cannot be used currently due to a bug in it,
+ # see https://github.com/VectorCamp/vectorscan/issues/202
+ #cmake_build unit
+ edo "${BUILD_DIR}/bin/unit-hyperscan"
+}