diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 20:41:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 20:41:49 +0100 |
commit | 12795ed0561fe52503d6aa3a1c60888553a03bd2 (patch) | |
tree | bebc6554f117bd11f5e1c3503ed66966afcb5f3f /dev-libs | |
parent | 7e8f2c69a019131eaeb989242d022260ea5a84ff (diff) |
gentoo auto-resync : 26:10:2023 - 20:41:49
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97879 -> 97878 bytes | |||
-rw-r--r-- | dev-libs/apache-arrow/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/apache-arrow/apache-arrow-12.0.1-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/libdex/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libdex/libdex-0.4.1.ebuild | 60 | ||||
-rw-r--r-- | dev-libs/libsodium/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.19-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/simdjson/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/simdjson/simdjson-3.4.0.ebuild | 102 |
9 files changed, 185 insertions, 18 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 9dcdd6d4921f..c2987388004b 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/apache-arrow/Manifest b/dev-libs/apache-arrow/Manifest index 4f2559a9a597..c3ccd4f55195 100644 --- a/dev-libs/apache-arrow/Manifest +++ b/dev-libs/apache-arrow/Manifest @@ -10,5 +10,5 @@ DIST apache-arrow-parquet-data-12.0.0.tar.gz 1013835 BLAKE2B cb4e544b6588ddad503 DIST apache-arrow-parquet-data-12.0.1.tar.gz 1013835 BLAKE2B cb4e544b6588ddad503f9692ee2eee5d4f1e931f10654b7253e11ffd2feb4c957dec047a1b1644c1f1538a3bf7ea726e5a9ae9b7d0c3bb0d55d27f088b5c5be3 SHA512 d4c2af20d6a88c1beb44770982f4aa324ea4ee375e8f556339074875af15c48f4398d972c1eec35eba5d209e9e62df4bdbf73ebc8148a7bb05ffa2d69c97df61 EBUILD apache-arrow-11.0.0-r2.ebuild 2769 BLAKE2B 5980db7dea23555b53bf6ba67114fce657286aece4a9fa88a5c4a2d54a6ce63849442ee77c37ec80f65abd55557676e0d7f6c5162627c681c8887c0c733ffacd SHA512 dad0f7bc837131e3380577e05cb33d4eb19754378ed6174ff5105061028a47dc87ee3c1646b0356283b0564a0d0a137babcdcf6cb1a8faba2ee0924b9a8467cf EBUILD apache-arrow-12.0.0.ebuild 2811 BLAKE2B 0904addeae5d3e83b646f68441cf07a79b40cfdda7e4d66f346a65979bab86d44a0b1f998d00399341bb8c5b315e0cd0786821dc6219693a48cf13df580e4890 SHA512 4b670550310209b3380bebaaaf45a43a1c3180ffbb1ab989fc8856059011a2f3999efa39e186ed4510e66d86a7939fc60c062c15a1b28f7164cbaf1019458799 -EBUILD apache-arrow-12.0.1-r1.ebuild 2813 BLAKE2B ea1c50edcd0d431a3f2694aa177eb65c0bf83efccb7e201abfb6b1b443627f7b9bf474acbf4f86dd96ab9634a9f2a6d9efa8c5641ed7e1e41279e9e2c370db01 SHA512 9bad7ffd7a19d90bbaf08ff2f66c5e615cf4889764fbeb4bf74f7103f6076e25bef6f68b95cef00c59b54b912fde388d0226937dbc2f8c37bbbfea93e6908823 +EBUILD apache-arrow-12.0.1-r1.ebuild 2837 BLAKE2B 5e7ccb388584bb789abc9e8ef805439eea8df300f68b837a5ad1cbdc7fe8994745612e2988759bf07a4903eb719ce94e81ea3c413b63b95dba9ba27229532ecb SHA512 a431c9534b0b732a31b762e23a528035a940342e543b348f73cb5809a6f26109c0a0462220c2819c41896ba23aa8153082e9ffcde568017ed3ac3638c7303a34 MISC metadata.xml 867 BLAKE2B 0b986de9d0ee6588aa890f0b841f5a7f8da2798b5e7049fb9914dd20a4006008b84fd13829a4681671c775ea55d5c143120a8b2f025d227513998b8b2034e5d6 SHA512 3e3c0ffe114a8eafefe6979c2f29e463f09fabca6709a4bfd106c32976090eb0f1013ef8abe922aba4120161f3057d2b6a2f6006e1a697a11f173ac5ac9deea9 diff --git a/dev-libs/apache-arrow/apache-arrow-12.0.1-r1.ebuild b/dev-libs/apache-arrow/apache-arrow-12.0.1-r1.ebuild index 34da55d1d1c5..d5fbf06edf70 100644 --- a/dev-libs/apache-arrow/apache-arrow-12.0.1-r1.ebuild +++ b/dev-libs/apache-arrow/apache-arrow-12.0.1-r1.ebuild @@ -19,6 +19,7 @@ SRC_URI=" -> ${PN}-arrow-data-${PV}.tar.gz ) " +S="${WORKDIR}/${P}/cpp" LICENSE="Apache-2.0" SLOT="0" @@ -27,22 +28,22 @@ IUSE="brotli bzip2 compute dataset +json lz4 parquet re2 snappy ssl test zlib zs RESTRICT="!test? ( test )" RDEPEND=" - brotli? ( app-arch/brotli ) - bzip2? ( app-arch/bzip2 ) - compute? ( dev-libs/libutf8proc ) + brotli? ( app-arch/brotli:= ) + bzip2? ( app-arch/bzip2:= ) + compute? ( dev-libs/libutf8proc:= ) dataset? ( - dev-libs/libutf8proc - re2? ( dev-libs/re2 ) + dev-libs/libutf8proc:= + re2? ( dev-libs/re2:= ) ) - lz4? ( app-arch/lz4 ) + lz4? ( app-arch/lz4:= ) parquet? ( - dev-libs/libutf8proc - dev-libs/thrift + dev-libs/libutf8proc:= + dev-libs/thrift:= ssl? ( dev-libs/openssl:= ) ) - snappy? ( app-arch/snappy ) - zlib? ( sys-libs/zlib ) - zstd? ( app-arch/zstd ) + snappy? ( app-arch/snappy:= ) + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) " DEPEND="${RDEPEND} dev-cpp/xsimd @@ -54,13 +55,13 @@ DEPEND="${RDEPEND} ) " -REQUIRED_USE="test? ( +REQUIRED_USE=" + test? ( json parquet? ( zstd ) ) - ssl? ( json )" - -S="${WORKDIR}/${P}/cpp" + ssl? ( json ) +" PATCHES=( "${FILESDIR}/${PN}-11.0.0-shared-lz4.patch" ) diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest index f61580b448bf..03b7ffb088c8 100644 --- a/dev-libs/libdex/Manifest +++ b/dev-libs/libdex/Manifest @@ -1,5 +1,7 @@ DIST libdex-0.2.0.tar.xz 91648 BLAKE2B 258193b29082024cce30d5e20903f1ba6a3c8e566652d341845178797126796fcc1cf628636de02ba9776cb9d8ff5d38c24f10f269fcd9acbc0cdbb1c0918d8b SHA512 db54fa974af97e59e7a21c19be73db8fec6565377ce313a3532435845d3571216d6617f9a8db500019390d85677ca6f30be3f9a36c60240c8130ae0834826a65 DIST libdex-0.4.0.tar.xz 95468 BLAKE2B d45760dd826835cb2e5bffe1a69b7fcfb4b20fcfb55c119fc3175ae80e2c9b6d34d3df5c653075ed2832183f2c76b3dcaf2509977fe9b79f1dabbb59a3301602 SHA512 806d0c6cb7fe9cd0bdf4e85cf93b9bc67ee11bce0e18ba6c5eb8b075e2a3d22359cf58374b6f07e558f8595b24093c052f4e05763104163b46bec0371efbb295 +DIST libdex-0.4.1.tar.xz 95492 BLAKE2B 73e660cd5876f41f7e02bdb35cc460888eaf40a62c7431e7fcd2337a2eb953f975a8f6719c0726672be71ab507561413257c140a31cfdcab09491d4228362796 SHA512 80a80c6fcf936da903a64339dff1d6f802f028bfd6e2815bf3b2a3ac6bd0e9fafe3f81b66dd1ee0a6bbd6303cc31fc73b528829e587142a7d269b1b98377ca25 EBUILD libdex-0.2.0.ebuild 1195 BLAKE2B 962c9225c175ad2a6e1cb278475b1016a19f6d37814d4014e47b447d12379a95edba5a4a8bb06ee01a2cc172f5b7f4dea82e5bc3082facc227bca656cf2f458d SHA512 e18f4272e5840d1e9679845d842881a99de6cbfeed1346f014447796f9d90454b895259f00a647c3c7c1b617e74b79158d37b780da72c725bc531e2d73824a7a EBUILD libdex-0.4.0.ebuild 1201 BLAKE2B ab26946f4fa3117af2754ac90bd04015fdf73897d81a2ef6dcba9b94c90788ab4db572df27daa280cdc0d8bcd6a3272272c9062c016deb7e78dc1a91c8311ab4 SHA512 813bb6700466199dd802dc7e61635f65cda16b89f575f9f7c82bbca3a0afeb955a60a15768dcef4901f7beea0bb963fe1771de58810d7f02593f363970f11c3c +EBUILD libdex-0.4.1.ebuild 1201 BLAKE2B ab26946f4fa3117af2754ac90bd04015fdf73897d81a2ef6dcba9b94c90788ab4db572df27daa280cdc0d8bcd6a3272272c9062c016deb7e78dc1a91c8311ab4 SHA512 813bb6700466199dd802dc7e61635f65cda16b89f575f9f7c82bbca3a0afeb955a60a15768dcef4901f7beea0bb963fe1771de58810d7f02593f363970f11c3c MISC metadata.xml 887 BLAKE2B 981f85ed363974888b20a6a1c7d24a22e47502af784bbe983a15359546afba333fe347e6aab5e5f5bef90a6995a4216702a8dde7ad760b9e730f5113076d38ee SHA512 eea5374f3eb48ee5770cc0d6d9133f405b058e74714d29f973c46ad912ca96282eb7f584b6b396c9aa72eae345d45461bcf8d376d93cf5370f04ac45fbab7e47 diff --git a/dev-libs/libdex/libdex-0.4.1.ebuild b/dev-libs/libdex/libdex-0.4.1.ebuild new file mode 100644 index 000000000000..71b799ea6e23 --- /dev/null +++ b/dev-libs/libdex/libdex-0.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala + +DESCRIPTION="Deferred Execution library for GNOME and GTK" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk-doc +introspection sysprof test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.68:2 + >=sys-libs/liburing-0.7:= + introspection? ( dev-libs/gobject-introspection:= ) + sysprof? ( dev-util/sysprof-capture:4 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + vala? ( $(vala_depend) ) + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc docs) + -Dexamples=false + $(meson_use vala vapi) + $(meson_feature introspection) + $(meson_use sysprof) + $(meson_use test tests) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest index 8578b0980341..99add1e16240 100644 --- a/dev-libs/libsodium/Manifest +++ b/dev-libs/libsodium/Manifest @@ -4,5 +4,5 @@ DIST libsodium-1.0.18_p20220618.tar.gz.minisig 318 BLAKE2B a2cba3c62ca5a84e78973 DIST libsodium-1.0.19.tar.gz 1945523 BLAKE2B de43520150b55760142d186404cc3e49471c6e911a7a590c7ae08bc61e928c063c459555f49cd88155238fb0008ef3924b6d7c14ba9cff2f90f1e96201e1259c SHA512 8e9b6d796f6330e00921ce37f1b43545966094250938626ae227deef5fd1279f2fc18b5cd55e23484732a27df4d919cf0d2f07b9c2f1aa0c0ef689e668b0d439 DIST libsodium-1.0.19.tar.gz.minisig 318 BLAKE2B e86e653107478d9e9281894632baafda57358229f2d56fcaf55591098e38d6be72ed2f599a7f2c16d5b9978d2cbfe8e07db4e772b053a832a61fd325fc1efae4 SHA512 8b5993bd7e541a5913ea1659c1009c4edefd9b5907e0a7c9090fa604c23d77006ad9d9a897d66243162742d63ce9bc1f2c81091d50a584f1495dd3bd87d4451e EBUILD libsodium-1.0.18_p20220618.ebuild 2008 BLAKE2B 44ad25eb4e0a7a462979126d8fe6be9f86736843433a27c3a9209a7f830b1b90e47c5a9dafe32bfd14e2c022acbe5d78d7127ee83215c6823c4d1a149010d6a2 SHA512 cca0ecfd1e1f142db1d734480ee9aa077b45daafce5b47b8fd54950bac505924e2c97c91ed4d3df48b0e4fddc66ca4b16c371babfe96c79cf1afd5e0f21445fc -EBUILD libsodium-1.0.19-r1.ebuild 2013 BLAKE2B 0e21dbbd4bbb203065ded935995aa7594c952c417e8fa503f645fc8b240dd0617ccd20c0e033719b635fe5adaa259ba002a177922d2f542190217de56d9f8816 SHA512 bda82bf7ebde0bcc312303977d202335c9b6361442f185208e08db71898d2426fb80394c535579bc82128780d30e7b5fb1e968f38e1d67bc61479999f5dce8f3 +EBUILD libsodium-1.0.19-r1.ebuild 2012 BLAKE2B 655b4483251865576beb8f97c27099efcf0a239bd8be3279ab688e8c585ed61b21bb6dd1e8513c30de4b9477491decb1ad18c019c71f6204dd7ff795d0b06c53 SHA512 bce0fc626492494b74f52843d2bf31f92546ff47d11273826b6950d60c01cb2d563d5ff47f5f1d841c7f056b74995b25c5ef5b4fba0361e006d752cb1a53e820 MISC metadata.xml 865 BLAKE2B 04e3718818b19a548afdb2b479d9c24c1b66fb117e91c417ea856cb8bc362634ac717e47dee33de2e626315e8a1c961acd3ef45cde8bbaeadfda5360fcfadc24 SHA512 75aa772e03a2b6579be1a650953766ae4ef06b1a98bc2cc1d79fecbfd0a1b3334b1762605aed7b6f859066d8f63f96ec76e233410a96f45b370519099f635483 diff --git a/dev-libs/libsodium/libsodium-1.0.19-r1.ebuild b/dev-libs/libsodium/libsodium-1.0.19-r1.ebuild index 49dc8fcb9754..3c5bda7ea9be 100644 --- a/dev-libs/libsodium/libsodium-1.0.19-r1.ebuild +++ b/dev-libs/libsodium/libsodium-1.0.19-r1.ebuild @@ -31,7 +31,7 @@ S="${WORKDIR}"/${PN}-stable LICENSE="ISC" SLOT="0/26" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="+asm minimal static-libs +urandom" CPU_USE=( cpu_flags_x86_{aes,sse4_1} ) diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest index 3c78eb785f7b..15506c087dcf 100644 --- a/dev-libs/simdjson/Manifest +++ b/dev-libs/simdjson/Manifest @@ -6,8 +6,10 @@ AUX simdjson-3.1.7-tests.patch 562 BLAKE2B f246a10e4c8af534b41314a7dd8a213f598bc DIST simdjson-3.2.0.gh.tar.gz 1653237 BLAKE2B b1745b2a96d9ff9f7187329191007e63a5f0c7051fb85a97212cf06076740ca01be035858bbb66805d10ba49ff90d05961a8b77750fc0d789e8dfe5865937f0b SHA512 02723d05fe88cfc69c1ec3eef92ae9e7da169a99645992829d4e40a00edecb98e21593dc9e04aeb2959cbcdbb8f40bb464daef9eb26cf3bd344c39271f6add2e DIST simdjson-3.2.3.gh.tar.gz 2273010 BLAKE2B 80df73db30ba898c11b143aaf0bb1c7592092306a67690b20979e7bdbbd8b039bc51b2668110d2a6dccfe6f3cce78ef107990b6f945f68ada1ca3e2f49ad121d SHA512 20436bbb7036e1cfdd4f044e767da0b646bfeb0593b22ba2bf6d76d94733cb90a97ebe88e666a5951cb0fea839601346a52fead9562eb25975510fc5ee04c791 DIST simdjson-3.3.0.gh.tar.gz 2283330 BLAKE2B 3d00aaf2693ef1b9a3d10d0336c9df6d86de9620c552749a94d66ca4ab25c922d2ce74c3bbc3de6c3b57c28501b55f130bf7dae458f21262ae7478fc52d074ba SHA512 d58d9732bd3bf06fc8c5a6f9b2abb55fe3e75a923027376afae96a75a72fd259c3a85ea9db717fbb7c36dc4e3bda56bf5790be8a13b5bc9a4536e9badf68d59b +DIST simdjson-3.4.0.gh.tar.gz 2293894 BLAKE2B ad70ea296c4cc50ae6beead471654e4e2bb666ea4f99f736f1b0e29bea7b55cf554afb417b4600a3cc5c9f8959c94f2ce1e54fb95340217ccc44422e4c619495 SHA512 2001758937299d08522aad9603bcd4a54d0cd75d25f3cc972a6bfbb903d4f6badd6dc472a05c5e2f33e496a8ad1199f8cef7a49828182a34bdb4fd99b337ab3c DIST simdjson-data-a5b13babe65c1bba7186b41b43d4cbdc20a5c470.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 EBUILD simdjson-3.2.0.ebuild 2332 BLAKE2B 6e7fe92f3094835cefdf8513a7e35a222c2eaeb6eee3f4f535fe47497e4627ffef585abd3cc73ae214374321b794248f23839687e5f3fbd12e7238dfb80ce37b SHA512 c1063de9c8158d77a04d8851461a588afb1b4f170e7372edde4483c9875071533c010a0822b8e5e1a00b98d23f6b0fdf8c8fecb19ffeab2a3bb14527e3a697d2 EBUILD simdjson-3.2.3.ebuild 2333 BLAKE2B 7f2de5f7f12127c944630873fbfabe4decfd5bcaf3283e0926b4dc9d8ac9858838bd4c752ec712fb5a8ae30e134839e028d42f15e2765c86786d58352d984087 SHA512 c460bf40afc463b9340b84bbf618fcb4cf568a16a3343f56e0d1a0ca6bc510943edcb033626f253bdfbaf4fe21b5fbfc270f4bf94d8ce81f389acd22389b03eb EBUILD simdjson-3.3.0.ebuild 2333 BLAKE2B 7f2de5f7f12127c944630873fbfabe4decfd5bcaf3283e0926b4dc9d8ac9858838bd4c752ec712fb5a8ae30e134839e028d42f15e2765c86786d58352d984087 SHA512 c460bf40afc463b9340b84bbf618fcb4cf568a16a3343f56e0d1a0ca6bc510943edcb033626f253bdfbaf4fe21b5fbfc270f4bf94d8ce81f389acd22389b03eb +EBUILD simdjson-3.4.0.ebuild 2333 BLAKE2B 3362cda87c5607bae4f331494993ec22c79ea59fd72f3a5623ae6393de288345c0355440b702567f8ab59aebd49d8820f4cc609c55dd34e9f69fe09aed816e68 SHA512 9be2bf8ba645dea8897c4a63312804425096cc713ba38bfd056c6420d915785818eeed9dc9b3214d74952bfb750baa7a3027d7e5234edd5287cf0367c01e145b MISC metadata.xml 417 BLAKE2B fa60b19f3372b1794fa5d83a0767e1eaed6569bf314cd74bb14baee7aee454c83ae0268cebd46bee877dd46472e735ee23136983f991d63d7ff3d64f0b7bb258 SHA512 a3afde0d4740ffc6e8f26c5d937d141bdec24f59082a89232962e1d75513a51cb050d1b93b439450051f05281f206e06a5052f67037d685a95ee4e28e7ece113 diff --git a/dev-libs/simdjson/simdjson-3.4.0.ebuild b/dev-libs/simdjson/simdjson-3.4.0.ebuild new file mode 100644 index 000000000000..c39197a499b8 --- /dev/null +++ b/dev-libs/simdjson/simdjson-3.4.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs cmake + +DATA_HASH="a5b13babe65c1bba7186b41b43d4cbdc20a5c470" +DESCRIPTION="SIMD accelerated C++ JSON library" +HOMEPAGE=" + https://simdjson.org/ + https://github.com/simdjson/simdjson +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + test? ( https://github.com/${PN}/${PN}-data/archive/${DATA_HASH}.tar.gz -> ${PN}-data-${DATA_HASH}.tar.gz ) +" + +LICENSE="Apache-2.0 Boost-1.0 BSD MIT" +SLOT="0/17" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="+all-impls test tools" + +BDEPEND=" + sys-apps/file + sys-apps/grep + virtual/pkgconfig +" +DEPEND=" + tools? ( <dev-libs/cxxopts-3.1:= ) +" + +REQUIRED_USE="test? ( tools )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/simdjson-1.0.0-dont-bundle-cxxopts.patch" + "${FILESDIR}/simdjson-0.9.0-tests.patch" + "${FILESDIR}/simdjson-1.0.0-dont-fetch-data-tarball.patch" + "${FILESDIR}/simdjson-1.0.0-install-tools.patch" + "${FILESDIR}/simdjson-3.1.7-tests.patch" +) + +DOCS=( + AUTHORS + CONTRIBUTING.md + CONTRIBUTORS + HACKING.md + README.md +) + +src_prepare() { + if use test; then + mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/${PN}-data" || die + fi + + sed -e 's:-Werror ::' -i cmake/developer-options.cmake || die + sed -e '/Werror/ d ; /Werror/ d ' -i tests/ondemand/compilation_failure_tests/CMakeLists.txt || die + sed -e "s:^c++ :$(tc-getCXX) :" -i singleheader/README.md || die + mv tools/{,simd}jsonpointer.cpp || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSIMDJSON_ENABLE_THREADS:BOOL=ON + ) + use test && mycmakeargs+=( + -DSIMDJSON_TESTS:BOOL=ON + ) + + if use tools; then + mycmakeargs+=( + -DSIMDJSON_DEVELOPER_MODE:BOOL=ON + -DSIMDJSON_ALLOW_DOWNLOADS:BOOL=OFF + -DSIMDJSON_GOOGLE_BENCHMARKS:BOOL=OFF + -DSIMDJSON_COMPETITION:BOOL=OFF + -DSIMDJSON_TOOLS:BOOL=ON + ) + elif ! use test; then + mycmakeargs+=( + -DSIMDJSON_DEVELOPER_MODELBOOL=OFF + ) + fi + + if use all-impls; then + local -a impls=("fallback") + if use amd64 || use x86; then + impls+=("westmere" "haswell" "icelake") + elif use arm64; then + impls+=("arm64") + elif use ppc64; then + impls+=("ppc64") + fi + + mycmakeargs+=( + -DSIMDJSON_IMPLEMENTATION:STRING=$(printf '%s;' "${impls[@]}") + ) + fi + + cmake_src_configure +} |