diff options
Diffstat (limited to 'dev-libs')
30 files changed, 331 insertions, 706 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 3527284aebb5..1c7bb12a2386 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/blake3/Manifest b/dev-libs/blake3/Manifest index d33f76db755b..463ce59eb977 100644 --- a/dev-libs/blake3/Manifest +++ b/dev-libs/blake3/Manifest @@ -1,5 +1,5 @@ DIST blake3-1.5.0.tar.gz 228053 BLAKE2B 04405b0bea5e0a5a774c84e712f36c61fd695c4cbe203a327741db7138af38fc4deda7c75a149f1850a1ca01a519897fb8e84c2cbe38f9cc084357c5ed61a1ed SHA512 eb782d48240cf2fa8cc3cddd699dce3a362eb480b3ca58a97d54cd3595a0c969e51fe14374b91136036e8e29c8f745efbd5a4d1aaed2c17f23cb89fb756645d0 DIST blake3-1.5.1.tar.gz 242161 BLAKE2B 12712bcc6413f90bd9d79ee87d73b45ee611032ccfa3f9e73b2c41b080c2a9451db028c9ff32efa546bef19b85e4aa9fc5ecd9fc6b76c34fd347cbc5fe337649 SHA512 a2ac662b0e45d1f4c4ee01a5e556a47c49ab5407a6057034033ce6fd0fc6b88f66dd428d80f5e7c4a8413356cb4b5ab655924d96138213499893e0204d7c8d24 EBUILD blake3-1.5.0.ebuild 480 BLAKE2B f0662530d0ab585a6b2edd863b7dc9c1acc6215d3c2b7f0e92cdb866d92b3ca09a77c1e3b6a522b1f7a7b7613ef5f7d0fe09cc64ec0038bccfcfb2771424b28c SHA512 8efb675b88b3cf0c9c999bda8910c3ec75e2be8bbf45261b46d9602dacc6b8c09ac08297600a1d2dde079ee8b1d70457a020ea48a6a85fb36c920e143314cba7 -EBUILD blake3-1.5.1.ebuild 454 BLAKE2B c753a56fa9dca1cbc3fd08b8284d1407c078041c33e9eb560d19569dc856b69a4b6c0250de988470fc0a1c496991b2825cf01109d09fdf5f59b6611f23d3e65a SHA512 f1115db05a294c9b65abd59a1662bc5c46e9551b726d9d62d17163b5bb6613e88454890027becda4142116832733ce1d02686486beb79feb38a071cdbb4fc11c +EBUILD blake3-1.5.1.ebuild 466 BLAKE2B 5fa41ee499f9f1917e4dc7df75959ba2be2fc71d1f3182cba9f4986034649dae31326ed26ad355d357aada17a5c291dddaf5daeb540dc189c5d8792d9d7e89e7 SHA512 50f4f45f790d331b494d12a62865d9801b9fa0e3582c94b192c38959ff3a1bb5479bbd9e9d79d4c93d3d6191cd49ab6775f12399fe7bd023a4b9df0cf08ff738 MISC metadata.xml 331 BLAKE2B 04a0d860646b72b60fbc082a4f28fa681e122d6f53dadb858777c4054b1bedb9eb33929758ba0693c72f56b69abe3ae88a69e3fc4460d4e1acc0a9c82f26239f SHA512 849d76599dcbdf00b4fbd501eb2b3cb123dc930418e36ea65701fed34e82d8353624122018b0f1e759a583c38285b14f92b6c89a615512e6646af908efb079cf diff --git a/dev-libs/blake3/blake3-1.5.1.ebuild b/dev-libs/blake3/blake3-1.5.1.ebuild index 7440aae92bc1..e24d78d4b198 100644 --- a/dev-libs/blake3/blake3-1.5.1.ebuild +++ b/dev-libs/blake3/blake3-1.5.1.ebuild @@ -12,4 +12,4 @@ S="${WORKDIR}/BLAKE3-${PV}/c" LICENSE="|| ( CC0-1.0 Apache-2.0 )" SLOT="0/0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest index 232c330d9791..f11b040b5022 100644 --- a/dev-libs/libevdev/Manifest +++ b/dev-libs/libevdev/Manifest @@ -1,4 +1,6 @@ DIST libevdev-1.13.1.tar.xz 455484 BLAKE2B 063eefeebebf5253ce23666e31d67d7268ad97e09f84e0e3a02b1024a92f68e1a4f1fc2508304abf49ab05dba4961b49463b640a18c79ea38ca0c5a9d8bf3e9c SHA512 9b75bad4bc13948854c8dff7a7a46aca6c06d1410ccb000f881bf76055ccac040595c3b24fb1a574be875b5c262eb86820b9ec3383752641bc2047135e5a412f +DIST libevdev-1.13.2.tar.xz 460456 BLAKE2B bdb71525600e2aa3aa264da322e1d7e93270790a48b62baf3df51cf23a6ddf7371cb9de157dd430e632514d1cb3d3b076f8710c43fac4f99e42e7ca503061bee SHA512 558267df0e45d8641a58dddb9fe30e2235ce247d96710189b09512d19d691afbd25189d188bb26bb5092fbbe249fbc7ca60a9e6af4fab535a946d5a3e030a21f EBUILD libevdev-1.13.1-r1.ebuild 1126 BLAKE2B 2e1a6c493160f02251164cba131b7afbb097bc892af2694120b2a3b9bae0c9642876872bff4e52235fdfcba38a2433bb12d500a37040c6849c69d59eb3efde6a SHA512 b75fe29139039ad024d3eca8f73f74bf678fffd12471ce6e93a2afc85b4b865fc22901788423e3243cc6ad187ef83e1dec6239f9d0d8598bc4c3801c9b0ea575 -EBUILD libevdev-9999.ebuild 1121 BLAKE2B 67695173eefcb0aa94a1693bd84bb16dd1eda1d95afb0acf13b61bf58fbb2ec69624eecb93c92797d7ce02b2247136bea87a2a7d495defbe3abdae6081a5798d SHA512 d288dd128b42e25741a73bdbe8dbca111a9a0bbe6cdcc6a6c5edfaf81212a8e5a1f211f02637bfcfceb9b2bf8be3dd4bca79aeb0629075824e37c998cca95ad9 +EBUILD libevdev-1.13.2.ebuild 1134 BLAKE2B f19f4d53ebaa1ad607db643decff6cff313251068f1df62393fc744baa1f6b66ca0f1db1938fe9de59d9b379c012e1464dd7880f91eba49c60f97b4dec50f672 SHA512 f3479bd8a2367f985319b292ba12dd8cb98c0a98f8e1cfef7648ba80f1703547f18f7ecb4f5a0b7a065b9f8aa5037ee50f2fbff08dbdbfff2e95640a3f72a76d +EBUILD libevdev-9999.ebuild 1121 BLAKE2B 30072b13cd2c28008cc69fb9cb33854b675d3590d33c12ae0d62823a7c355cdd13b30f544a4da8902fa7c375e992101139b49bf1db713890a171621bcdbabaf2 SHA512 06c3f99554de7ea6d767dfd08dc0a376dd4849ab7df984a7c5b11e20a1f71b0d853228aad1240095f73400c382ea2b32c049fa21093c502d2a78e14ffe8cdb2b MISC metadata.xml 339 BLAKE2B 17485a5a6202c366cf975f0c34aeb9521d5190f2ada003bdcae8c3e561740b3b43809b177baa2cab87de46e2f234b48df5bfa6c8df5dc2674f95e6206f0e4398 SHA512 26ff955c224a24cd58bf4eed14d99a0b7cf1b078e0d93bbd115a9193656180f112cb0f27bc6d35b2ff2e062a58775fc4b4310d6ffeee322b39963143f079b3b8 diff --git a/dev-libs/libevdev/libevdev-1.13.2.ebuild b/dev-libs/libevdev/libevdev-1.13.2.ebuild new file mode 100644 index 000000000000..41612867b124 --- /dev/null +++ b/dev-libs/libevdev/libevdev-1.13.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit meson-multilib python-any-r1 + +DESCRIPTION="Handler library for evdev events" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev" + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git" + inherit git-r3 +else + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" + +DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )" +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-text/doxygen ) + virtual/pkgconfig +" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local emesonargs=( + $(meson_feature doc documentation) + $(meson_feature test tests) + ) + meson_src_configure +} + +multilib_src_test() { + meson_src_test -t 100 +} + +multilib_src_install_all() { + if use doc; then + local HTML_DOCS=( doc/html/. ) + einstalldocs + fi +} diff --git a/dev-libs/libevdev/libevdev-9999.ebuild b/dev-libs/libevdev/libevdev-9999.ebuild index 5016bca432b7..c29d77531fd3 100644 --- a/dev-libs/libevdev/libevdev-9999.ebuild +++ b/dev-libs/libevdev/libevdev-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit meson-multilib python-any-r1 diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest index 7cc17dc16848..7ff444d4acbe 100644 --- a/dev-libs/libical/Manifest +++ b/dev-libs/libical/Manifest @@ -1,7 +1,4 @@ AUX libical-3.0.11-pkgconfig-libdir.patch 612 BLAKE2B 90b53adfb90684dd8c18f91a4de5d87df9cf590e097e414eef7ec92221dddbc5b0ade7b3deccd1aed6c7c61c1d9bb16663d2e1910718ced1f21a55ffeffe7a16 SHA512 bf1af662e65d62778fcc946543d41e4fd592a90bb643a8b584916c4d62ddb100c1746aaf0d4b4698c1b97de19926220f7c3c8dd03014febfdce32015571f77eb -AUX libical-3.0.4-tests.patch 747 BLAKE2B 41c72700e8a87c3665144bf12e7ea2c7f74c1786eb21c4550d12ed3dd86fe587ca26471319e8a695983529f789085a1e4ca0fae4ca48cab97b5376ed858deede SHA512 16367f68d15112b37266a794efe4a19f7c971fafe48b13c85095f15657f9d98796067bce91680986615d95740269f8fe1d03deb674ce2bb952b462de1d2ab1c9 -DIST libical-3.0.17.tar.gz 909125 BLAKE2B 002eba515280c685db49d7f6781048ca4f86a22fb44a740b459fd8ae8f7dd669cb8a623df16e87913a397fc9b242d75c999e7aea26f09254982d77f1c9f87ac2 SHA512 11fbb4aba7503a3264b0efa30ad56aa923d31ec193bdb0b87b92bc88db9019fa670c8c9ee7998caa3a870e706446a58ead475f31bd703f0d2cb7aabf0f6a3aa7 DIST libical-3.0.18.tar.gz 908948 BLAKE2B 0d3a665bce64752bbb1d28afea708643e6f52f19d5e5eae576aac40b720661e5c9593ff1e5ae48ef9a6c1b54259a7848847817ae669bbc8ef6b34bf1c7d90ee6 SHA512 53ecf6c14a68d569dd11bfdeb1a072def847a14d189c6af16eab202e004350ee7d9488c6b63e9cb67889e8c2dec90643fef46aec143a915f28270d0752eaa9d5 -EBUILD libical-3.0.17.ebuild 2435 BLAKE2B 1f73b4b43ee2d295b9b37317f7fbe65524e382689ddb84d43dfd319dd4975bdac9662f33a415b07b2af799894b20e22ecb79ded63fa50c234845b9838155d96c SHA512 d45258735ccdb8ce20e341528e578c76885f2f75f0a220da4a83ed0ac88001a840db672fccf9ca7f6cbe4f4ef1e9023e648b6fa9fa8760f722cd2c4918a0e7a4 EBUILD libical-3.0.18.ebuild 2380 BLAKE2B f6a904d034199463e57357bbec0b114c3e6fec63344de36b942d545035cdc925f866ecab425dbe7dfe7f290d52a91ab837debc5d54af514646ba2a91e5b64a91 SHA512 26a53d615564145222b6b2498610c4310d28d46a428519a743cbd19993f0e7bd1a14a0073b35f0093f2b5e7c19d38501dc5f9eaef10508fb9bb91d2daab186b5 MISC metadata.xml 426 BLAKE2B bdc616f3bedfa391b56edde0bd0f350b171c1f9afa2a8a9e0166e71ecf1177946aae064bea9f48fb9933d24cb94fd784a299bd97b12ad7236b3483641a5dd763 SHA512 663bef7814dfd66077f1046094879c0ec1eb0165d616e85c08eb0ff9cecd3557afd31e7d8dda8f1e95aca6955d94818f3253c8b763ff135195d41b1b1e871d5c diff --git a/dev-libs/libical/files/libical-3.0.4-tests.patch b/dev-libs/libical/files/libical-3.0.4-tests.patch deleted file mode 100644 index 7ecf6e1f2d76..000000000000 --- a/dev-libs/libical/files/libical-3.0.4-tests.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3066463eb407853626277442eba725ddde58b843 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Sun, 6 Jan 2019 17:41:10 +0100 -Subject: [PATCH] Try to fix test dir path - ---- - src/test/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt -index b1179c2c..af7ce3fc 100644 ---- a/src/test/CMakeLists.txt -+++ b/src/test/CMakeLists.txt -@@ -27,7 +27,7 @@ add_definitions(-DTEST_DATADIR=${TEST_DATADIR}) - macro(setprops _name) - if(UNIX) - set_tests_properties(${_name} PROPERTIES -- WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/bin" -+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/src/test" - ) - endif() - if(WIN32) --- -2.20.1 - diff --git a/dev-libs/libical/libical-3.0.17.ebuild b/dev-libs/libical/libical-3.0.17.ebuild deleted file mode 100644 index 93d55917bd08..000000000000 --- a/dev-libs/libical/libical-3.0.17.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -VALA_USE_DEPEND="vapigen" -inherit cmake python-any-r1 vala - -DESCRIPTION="Implementation of basic iCAL protocols" -HOMEPAGE="https://github.com/libical/libical" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="|| ( MPL-2.0 LGPL-2.1 )" -SLOT="0/3" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc examples +glib +introspection static-libs test vala" - -REQUIRED_USE="introspection? ( glib ) vala? ( introspection )" - -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-libs/icu:= - glib? ( dev-libs/glib:2 ) -" -DEPEND="${COMMON_DEPEND} - glib? ( dev-libs/libxml2:2 ) -" -RDEPEND="${COMMON_DEPEND} - sys-libs/timezone-data -" -BDEPEND=" - dev-lang/perl - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - glib? ( dev-util/gtk-doc ) - ) - introspection? ( dev-libs/gobject-introspection ) - test? ( - ${PYTHON_DEPS} - glib? ( $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') ) - ) - vala? ( $(vala_depend) ) -" - -DOCS=( - AUTHORS README.md ReleaseNotes.txt TEST THANKS TODO - doc/{AddingOrModifyingComponents.txt,UsingLibical.md} -) - -PATCHES=( - "${FILESDIR}/${PN}-3.0.4-tests.patch" - "${FILESDIR}/${PN}-3.0.11-pkgconfig-libdir.patch" -) - -python_check_deps() { - python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - use examples || cmake_comment_add_subdirectory examples - use vala && vala_setup -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=ON - -DICAL_BUILD_DOCS=$(usex doc) - -DICAL_GLIB=$(usex glib) - -DGOBJECT_INTROSPECTION=$(usex introspection) - -DSHARED_ONLY=$(usex !static-libs) - -DLIBICAL_BUILD_TESTING=$(usex test) - -DICAL_GLIB_VAPI=$(usex vala) - ) - if use vala; then - mycmakeargs+=( - -DVALAC="${VALAC}" - -DVAPIGEN="${VAPIGEN}" - ) - fi - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use doc; then - cmake_src_compile docs - - HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. ) - fi -} - -src_test() { - local myctestargs=( - -E "(icalrecurtest|icalrecurtest-r)" # bug 660282 - ) - - cmake_src_test -} - -src_install() { - cmake_src_install - - if use examples; then - rm examples/CMakeLists.txt || die - dodoc -r examples - fi -} diff --git a/dev-libs/libtraceevent/Manifest b/dev-libs/libtraceevent/Manifest index b0be84d68600..75a8c029032d 100644 --- a/dev-libs/libtraceevent/Manifest +++ b/dev-libs/libtraceevent/Manifest @@ -1,7 +1,5 @@ -DIST libtraceevent-1.6.3.tar.gz 140072 BLAKE2B 416fa68e2604c3cc71323171b084261e38f08f630a03afda0e2ecc4860c8b08dae10b2abaa2afae54d2b4e382720b43a6616a9ab8599759de102af918eeb24fc SHA512 8064eb18dda6fdbff020759ed92e785b87d34be9ebc30cb6085785edeb8d7252cabf8d33d8738a3ec407672a3d891884d0f0b4c551fce26c76fa8eaf61b9e2f5 -DIST libtraceevent-1.7.2.tar.gz 148242 BLAKE2B 03eae9ea7a8cdf6b015af95031d6fbe8638361f8b0db836f48e9ef47c814465fad583440f80f0103e08758712bd24f7562e1a8678ab24d4a1749a0b88efa7a85 SHA512 aa6d14e6d2e8e64c7d53ba9f93d47331d5f1b5a5a624891ec18a08b0d4e3e82f7845d29957bb3fe4360151bb5870a67c69d5cb1f758bb2956d946221f186546e DIST libtraceevent-1.7.3.tar.gz 152363 BLAKE2B dcbca01f2246045f4f2377f91118e2468bca4344686b9e0349d04270543fea5648d5c227bdaf6e716d623bab8d03cec7a869bf67d03ca6a7836014854bbe40b8 SHA512 81302cb24a3fc71e8bd6a0ba975a2699eaa629ac0e90837bf8fc8e23e04156827d19b25544cdb506b0bf76d5f08699264c9ecb979f9218bdee6b0b0e7339b1e0 -EBUILD libtraceevent-1.6.3.ebuild 1130 BLAKE2B 96e73e54f224a57aa827a06a74854398a14b87521385897fd25f59ce56b5779465559a5dfd57be19096343dbc8ef844c7148c6aa9556d8d86541fef16e02fdf0 SHA512 09e950c4c01d66df24b35502816abd6cf664f80dbcb75aa64872becf66ebfb43f9e3d1fe3feb8be2434c7631268b67c06be838d210dc6791080d4441ffa68c24 -EBUILD libtraceevent-1.7.2.ebuild 1270 BLAKE2B d099253c44efb9452004c8e7dbc5b24d0df1cdebf5aaec3e7a2529759065f2049ee215b87b1afc245d9d412105b71cec244607c1130bbec4aa50d57e3f58feb4 SHA512 c0cb01d5ddbfdc3f127acd40614c4ec80b2aaeb6a75cf01fd2363dd4ddb24b95d2239067ab4cb328092ae2493c3a82ec4c010dfc007658a5edbc3385a57c34d2 +DIST libtraceevent-1.8.2.tar.gz 155682 BLAKE2B afadd9f559bdc071b3741ce42b8bf0c320523f2b39c437bcf4180f277eb804c33b2feac447fae15a869164475fb5f019ef171b69be32c46b74e5f22a3ed3808b SHA512 52b7a23e8bf04feaa568199c99c98217fcb8df1b99d46197ef9edcea19b42e71ff9d2e6c45ebf5335ec782d636ad3d14be4acae5a9e5158650f5f62813081fa2 EBUILD libtraceevent-1.7.3.ebuild 992 BLAKE2B c6850cf2a56f944642281de7ebd1718a7469a1dc6a69459cc0acedb771813fd9f3190b3b9fed455474d82c34df6863d7c8836e02e8f38445b16de14ee8586d78 SHA512 ca7a829329fd94da83d2ea1edddb307436dcacfa8d13bc6b0ba0917d570b4a1f1ff1cbddf2a8ea050d001d1506e2287b500662daea441b265767d161d51da571 +EBUILD libtraceevent-1.8.2.ebuild 1029 BLAKE2B 7d62539d64b40ccbea1ebe56a45f701f44d808304951f2270ff5dc9e3061c7463ff86a731c59daae8ea34416f52b75ede1ae5d06d0ba27ff31a519f502202a5d SHA512 8d3765e101dc02dd06b86372b7a188b2d5c64ffd5312dc9c1a88bed3b002d7428cb87b5bca81eefc725a2c195ee90af55ddd0717db7654bf99550f72d2a05bb5 MISC metadata.xml 363 BLAKE2B e7330c25a8a87a9811793ee730e7822000fdf1cbdda003302e5d542118204d905583a4acd07a5f37a15952bbe6265ff606d44978db823905c724b5f142d5d2ae SHA512 7be0cfa3fd15ef0cfc0647c73d69a7efc5f00d8b7f9d85c6092326d638132e7f989b855fe5f3bd9ab770e860e7858f8d462f8727b9ddeee64a0c44f7e66acf9c diff --git a/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild b/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild deleted file mode 100644 index 4be481f862ec..000000000000 --- a/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Linux kernel trace event library" -HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" - -if [[ ${PV} =~ [9]{4,} ]]; then - EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" - inherit git-r3 -else - SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/${P}.tar.gz" - KEYWORDS="amd64 ~arm64 x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -RDEPEND=" - !<dev-util/trace-cmd-3.0 -" -BDEPEND=" - doc? ( app-text/xmlto app-text/asciidoc ) -" - -src_configure() { - EMAKE_FLAGS=( - "prefix=${EPREFIX}/usr" - "libdir=${EPREFIX}/usr/$(get_libdir)" - "CC=$(tc-getCC)" - "AR=$(tc-getAR)" - VERBOSE=1 - ) -} - -src_compile() { - emake "${EMAKE_FLAGS[@]}" - use doc && emake doc -} - -src_install() { - emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install - # can't prevent installation of the static lib with parameters - rm "${ED}/usr/$(get_libdir)/libtraceevent.a" || die - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install-doc -} diff --git a/dev-libs/libtraceevent/libtraceevent-1.7.2.ebuild b/dev-libs/libtraceevent/libtraceevent-1.7.2.ebuild deleted file mode 100644 index 7e83bab0bd27..000000000000 --- a/dev-libs/libtraceevent/libtraceevent-1.7.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Linux kernel trace event library" -HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" - -if [[ ${PV} =~ [9]{4,} ]]; then - EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" - inherit git-r3 -else - SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - !<dev-util/trace-cmd-3.0 -" -BDEPEND=" - doc? ( - app-text/asciidoc - app-text/xmlto - ) - test? ( dev-util/cunit ) -" - -src_configure() { - EMAKE_FLAGS=( - "prefix=${EPREFIX}/usr" - "libdir=${EPREFIX}/usr/$(get_libdir)" - "CC=$(tc-getCC)" - "AR=$(tc-getAR)" - VERBOSE=1 - ) -} - -src_compile() { - emake "${EMAKE_FLAGS[@]}" - use doc && emake "${EMAKE_FLAGS[@]}" doc -} - -src_test() { - emake "${EMAKE_FLAGS[@]}" test -} - -src_install() { - emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install - # can't prevent installation of the static lib with parameters - rm "${ED}/usr/$(get_libdir)/libtraceevent.a" || die - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install-doc -} diff --git a/dev-libs/libtraceevent/libtraceevent-1.8.2.ebuild b/dev-libs/libtraceevent/libtraceevent-1.8.2.ebuild new file mode 100644 index 000000000000..4fa3852012cb --- /dev/null +++ b/dev-libs/libtraceevent/libtraceevent-1.8.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Linux kernel trace event library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-util/trace-cmd-3.0 +" +BDEPEND=" + app-text/asciidoc + app-text/xmlto + test? ( dev-util/cunit ) +" + +src_configure() { + local emesonargs=( + -Dasciidoctor=false + -Ddoc=$(usex doc true false) + ) + + # TODO: get docs & tests optional upstream + meson_src_configure +} + +src_install() { + # TODO: get docs & tests optional upstream + meson_src_install + + find "${ED}" -type f -name '*.a' -delete || die +} diff --git a/dev-libs/libtracefs/Manifest b/dev-libs/libtracefs/Manifest index a4560f6e3439..33aaebd48070 100644 --- a/dev-libs/libtracefs/Manifest +++ b/dev-libs/libtracefs/Manifest @@ -1,9 +1,6 @@ -DIST libtracefs-1.6.1.tar.gz 193086 BLAKE2B 53f6740c7f06e1d618594e03ec7fbda273bbeb87bfda67acfad1e1670fd69670187c7267af1abcd1502c338499dc8d4ffe28a213b3ad17ff5a6e2b435c1c242f SHA512 9fa9b470869bdc0134cc72eb7a9e0131638c3416d24e403c7fc819d49a5e521ca8c852ece4ac87d6a744c32846a2567c44c1e3b8b329f77db2d89e57c9e36340 -DIST libtracefs-1.6.3.tar.gz 193859 BLAKE2B 89029e59590f4e25c5d39d5b638c381e966e8dee055bf7873492a6cdc8b1e1df90cad84a8db4e1abcacbc43fbb23c9fefbdb53123a409a19d07925e7a39efcdb SHA512 273d008644b5d205def79fa8c1db51f21327c02abee16dfc706cfa7ad421be111ac3280b2dd493a8be5f4d9f2fdcb471d7de17e6b3e56df7cb2f1a11b4e1bfaa -DIST libtracefs-1.6.4.tar.gz 193967 BLAKE2B 24ca0affbd3343429c096795ea25fca6b96c5e806fff197149db290a4b3ed4ad642738a74d395c025b2a5813d9a14ada9b36be8bc0bdbc31d110542fb49ce1ae SHA512 0db20393272ce75c9132fc189993929545f41ac00cc9b0fdbb6adcb4bcda41433f05c047d06d9774f9b00b9e3ed3cfed3879e75365e72c0bb705cf16449e06c4 +AUX libtracefs-1.8.0-mmap.patch 677 BLAKE2B 3acde3a229c9e6bc0e3b0cba91cf36fb861a7e26203c5cfe15a44bdffd3855d350f839b796b67d6553f70cfe05c1155959baca3ee4720bfb128ddf85f00af80e SHA512 8d34762df2cbfd555117daaf4a2cc7b8a9735a864b194da316d30ee32f488aa133b38dfc75b2cb3ef18fbf4db7e29ef40674e916b163821a834a870fb716bc0d DIST libtracefs-1.7.0.tar.gz 205716 BLAKE2B 7e11ed75e65ddfb6e95fa67db2d3a3000e722108b6cb9d8efe7f057bf96afa608f0452e42090dab077b59044d3cbaebf2e4361812b994943964ea611b0ec6a49 SHA512 8b95c798a9013c0278da1c68ab4625446e1cc9d437eed91a6ce16660e7787f0af04ab65ce0dba536039f2facca39c50df5e45335b1af630e7bcce70b584e2f0c -EBUILD libtracefs-1.6.1-r2.ebuild 1363 BLAKE2B 63ca275f16bb40d52273defab3eaf43f08fe73af13efa9c416ef3eb3d4698ff542ee9618fc575993ee806682b464d04d1fe0ad9e0f0834ecdc21ae29dabda159 SHA512 5cdf431afd163ff14c4234664f31e61f822da1a5f7dc2d44e404c60e7deb0b2311cc673067bf3df610ef778da3f4dcdf77134c971bee4816877b6d0537ad6ca5 -EBUILD libtracefs-1.6.3-r2.ebuild 1371 BLAKE2B 12e8b123542412df2707f66ddc9abc443e050d8c8f32151e08b7e9a99f721680be69dbaa3160045c87702c9eb0d75da526ff69d3cf47c65e9f16805e617438f4 SHA512 05b300f1a3debab95185f49040f7969e299483b2708dfec8a641d4eebe7741e2990363144cb6cb29e70b92e6ff6a45ecf0d744fe146ae8607c35caba087becf0 -EBUILD libtracefs-1.6.4-r1.ebuild 1502 BLAKE2B abb1fe6eba5ae91aa8032f8c86ccf6bde0c9eeb108510f4ad36f0204651bf5b7a0dbd947e1e833a913edb3a0cc177383eb3e652180a99ce1760d72771bcc4618 SHA512 2231af6f8a2f58afb0fd702395bea1637c498d53915bdfae55e65197257ef97cfdbd9e5675be0c8e2da5a3473e0cede8089b4e10c98e5a2948dd32cb7c1a0911 +DIST libtracefs-1.8.0.tar.gz 224662 BLAKE2B 06ee6872ec5cd6c671ee2ddd3de19356ffa560b3ae20318e36be6a95bfe37bf61233841e32c530ab0a3463d13dd57ff1b09bba296663b25d76da2a2ea3e89f51 SHA512 2d9728186de63f03a2222d56efe6b373c038519ad1e81dd10d97640c296696df6b0661743dcd9e851edda5225342ea10a8746434439f7ad878e26780b797eb6c EBUILD libtracefs-1.7.0.ebuild 1150 BLAKE2B af045d49b27568fc3546a41cc866e624090ac1b7ca4f61d5cdafa008000d2a6a3e05e98274f363cb31ce334c8f71e481fc771ba73573ca2238a90a8291c2484c SHA512 64b558c92a98f6494dd0b37df22d250161c6b1ae8fc1ad16eee18df6a2275037476c1170b68c8c71c7a177aec05fd1c50d94016a502ac471da072ac0310e0d55 +EBUILD libtracefs-1.8.0.ebuild 1182 BLAKE2B 03488702d567bd36fbf4db42c27c2709d206c0e003a7825bd72a86fae901ca211f82264dcc56db7750516bd0bb92e1915913bb45201084c87f069b045dc00960 SHA512 dbcbcbbf091f24024fd1b6e51822e26bf930a38c625ba07ad3a57f57aa9302c5462c1870f7c029034251a71d584308e8032c183e07af338d1374ba2ef938f93d MISC metadata.xml 363 BLAKE2B e7330c25a8a87a9811793ee730e7822000fdf1cbdda003302e5d542118204d905583a4acd07a5f37a15952bbe6265ff606d44978db823905c724b5f142d5d2ae SHA512 7be0cfa3fd15ef0cfc0647c73d69a7efc5f00d8b7f9d85c6092326d638132e7f989b855fe5f3bd9ab770e860e7858f8d462f8727b9ddeee64a0c44f7e66acf9c diff --git a/dev-libs/libtracefs/files/libtracefs-1.8.0-mmap.patch b/dev-libs/libtracefs/files/libtracefs-1.8.0-mmap.patch new file mode 100644 index 000000000000..15000318863d --- /dev/null +++ b/dev-libs/libtracefs/files/libtracefs-1.8.0-mmap.patch @@ -0,0 +1,25 @@ +Subject: [PATCH] libtracefs meson: build tracefs-mmap by default + +Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed +for linking by other object files. + +Link: https://lore.kernel.org/linux-trace-devel/20240110203925.266999-1-giulio.benetti@benettiengineering.com +--- + src/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/meson.build b/src/meson.build +index 5b76554..f7a98b9 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -11,6 +11,7 @@ sources= [ + 'tracefs-instance.c', + 'tracefs-kprobes.c', + 'tracefs-marker.c', ++ 'tracefs-mmap.c', + 'tracefs-record.c', + 'tracefs-sqlhist.c', + 'tracefs-tools.c', +-- +2.43.0 + diff --git a/dev-libs/libtracefs/libtracefs-1.6.1-r2.ebuild b/dev-libs/libtracefs/libtracefs-1.6.1-r2.ebuild deleted file mode 100644 index e5a02ff37b52..000000000000 --- a/dev-libs/libtracefs/libtracefs-1.6.1-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Linux kernel trace file system library" -HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - -if [[ ${PV} =~ [9]{4,} ]]; then - EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - inherit git-r3 -else - SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -RDEPEND=" - !<dev-util/trace-cmd-3.1.4-r2 - >=dev-libs/libtraceevent-1.3.0 -" -DEPEND="${RDEPEND}" -# source-highlight is needed, see bug https://bugs.gentoo.org/865469 -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) -" - -src_configure() { - EMAKE_FLAGS=( - "prefix=${EPREFIX}/usr" - "libdir=${EPREFIX}/usr/$(get_libdir)" - "CC=$(tc-getCC)" - "AR=$(tc-getAR)" - VERBOSE=1 - ) -} - -src_compile() { - emake "${EMAKE_FLAGS[@]}" - use doc && emake doc -} - -src_install() { - emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install - # can't prevent installation of the static lib with parameters - rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die - # install-doc is wrong target, see https://bugs.gentoo.org/865465 - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc -} diff --git a/dev-libs/libtracefs/libtracefs-1.6.3-r2.ebuild b/dev-libs/libtracefs/libtracefs-1.6.3-r2.ebuild deleted file mode 100644 index 8586159db3f2..000000000000 --- a/dev-libs/libtracefs/libtracefs-1.6.3-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Linux kernel trace file system library" -HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - -if [[ ${PV} =~ [9]{4,} ]]; then - EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - inherit git-r3 -else - SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -RDEPEND=" - !<dev-util/trace-cmd-3.1.4-r2 - >=dev-libs/libtraceevent-1.3.0 -" -DEPEND="${RDEPEND}" -# source-highlight is needed, see bug https://bugs.gentoo.org/865469 -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) -" - -src_configure() { - EMAKE_FLAGS=( - "prefix=${EPREFIX}/usr" - "libdir=${EPREFIX}/usr/$(get_libdir)" - "CC=$(tc-getCC)" - "AR=$(tc-getAR)" - VERBOSE=1 - ) -} - -src_compile() { - emake "${EMAKE_FLAGS[@]}" - use doc && emake doc -} - -src_install() { - emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install - # can't prevent installation of the static lib with parameters - rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die - # install-doc is wrong target, see https://bugs.gentoo.org/865465 - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc -} diff --git a/dev-libs/libtracefs/libtracefs-1.6.4-r1.ebuild b/dev-libs/libtracefs/libtracefs-1.6.4-r1.ebuild deleted file mode 100644 index 0fa9a748d6ad..000000000000 --- a/dev-libs/libtracefs/libtracefs-1.6.4-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Linux kernel trace file system library" -HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - -if [[ ${PV} =~ [9]{4,} ]]; then - EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" - inherit git-r3 -else - SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -RDEPEND=" - !<dev-util/trace-cmd-3.1.4-r2 - >=dev-libs/libtraceevent-1.3.0 -" -DEPEND="${RDEPEND}" -# source-highlight is needed, see bug https://bugs.gentoo.org/865469 -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) -" - -src_prepare() { - default - sed -i -e "s|share/doc/libtracefs-doc|share/doc/libtracefs-${PV}|g" \ - Documentation/Makefile || die -} - -src_configure() { - EMAKE_FLAGS=( - "prefix=${EPREFIX}/usr" - "libdir=${EPREFIX}/usr/$(get_libdir)" - "CC=$(tc-getCC)" - "AR=$(tc-getAR)" - VERBOSE=1 - ) -} - -src_compile() { - emake "${EMAKE_FLAGS[@]}" - use doc && emake doc -} - -src_install() { - emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install - # can't prevent installation of the static lib with parameters - rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die - # install-doc is wrong target, see https://bugs.gentoo.org/865465 - use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc -} diff --git a/dev-libs/libtracefs/libtracefs-1.8.0.ebuild b/dev-libs/libtracefs/libtracefs-1.8.0.ebuild new file mode 100644 index 000000000000..b1d311a9f1cc --- /dev/null +++ b/dev-libs/libtracefs/libtracefs-1.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Linux kernel trace file system library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +# Please double check the minimum libtraceevent version! +RDEPEND=" + >=dev-libs/libtraceevent-1.8.1 +" +DEPEND="${RDEPEND}" +# source-highlight is needed, see bug https://bugs.gentoo.org/865469 +BDEPEND=" + app-text/asciidoc + app-text/xmlto + dev-util/source-highlight + app-alternatives/yacc + app-alternatives/lex + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-mmap.patch" ) + +src_configure() { + local emesonargs=( + -Dasciidoctor=false + -Ddoc=false + ) + + # TODO: get docs & tests optional upstream + meson_src_configure +} + +src_install() { + meson_src_install + + find "${ED}" -type f -name '*.a' -delete || die +} diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest index bc1f1ee956da..c1801aae0e71 100644 --- a/dev-libs/libzia/Manifest +++ b/dev-libs/libzia/Manifest @@ -1,5 +1,3 @@ -DIST libzia-4.58.tar.gz 647123 BLAKE2B c1d7963e108847f1198a3b21d9972a614f5a830afddba2d7fbbdae7794e622851e6c5e11910c5b932eb4733521e58df74a4649ee7d15add08336c1b8db1588e1 SHA512 1a5e54083821708a2c34f2385c646c97fc48962dc4615ef364bded57a8d578ce05d15a8bd890c061cf97dd56e7b240a0c97621e12295b64c7396b2227ae729a8 DIST libzia-4.59.tar.gz 647238 BLAKE2B 5e7d5eef5a316d3580789f4054652c533301d5737b01a125eb5387d6b444f2e3c3e1097f2f9738c7271dd569728e6eb3eb4d4d9bbd39c612991a72dddf6a58f3 SHA512 b9204d51d9901938b8f0e9a5ce1edb656ea90f3cb495d5885f2c5f3f440a9601ce77acb1ef7b44fe1dcf11b3251b7564bcc2c3987cb9b469c4aed2fe2f503bfd -EBUILD libzia-4.58.ebuild 1088 BLAKE2B ba9cca163b5956b8fa19d56b4d37ed905348903099b64ec338aae4ccc84adf5cd65517efc62664b47e83b9eced520bcbad240e59b2befa283da780ef744bfb20 SHA512 5ac8c80fb9c7620c2495284f5bfdfdf144aba0280cccea09c7d6a0e61a1c2695722967520061dc95239d742f4140bd64df390d6c823ade00ec35a15e19ba173a EBUILD libzia-4.59.ebuild 1088 BLAKE2B ba9cca163b5956b8fa19d56b4d37ed905348903099b64ec338aae4ccc84adf5cd65517efc62664b47e83b9eced520bcbad240e59b2befa283da780ef744bfb20 SHA512 5ac8c80fb9c7620c2495284f5bfdfdf144aba0280cccea09c7d6a0e61a1c2695722967520061dc95239d742f4140bd64df390d6c823ade00ec35a15e19ba173a MISC metadata.xml 326 BLAKE2B 1b8ed6c9d40252f3371cf9a1ec295f593c8898dd8e45173ca05cededf987c7e44e2fafca613f8ad3022e9fbb6886d6aec2d183fd47c3064f35038784f361ebc4 SHA512 0c8a48b1101aa184dc596581feaf47463688801cb0f342177ecfb6fade1d63520ca1b9dcb278279470c181b560f555de332e4d2583e8856eec9057cde34df48f diff --git a/dev-libs/libzia/libzia-4.58.ebuild b/dev-libs/libzia/libzia-4.58.ebuild deleted file mode 100644 index 557c11cf75df..000000000000 --- a/dev-libs/libzia/libzia-4.58.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Platform abstraction code for tucnak package" -HOMEPAGE="http://tucnak.nagano.cz" -SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="ftdi" - -RDEPEND="dev-libs/glib:2 - x11-libs/gtk+:2 - media-libs/libsdl2 - media-libs/sdl2-ttf - media-libs/libpng:0 - ftdi? ( dev-embedded/libftdi:1 ) - elibc_musl? ( sys-libs/libunwind )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -MAKEOPTS+=" -j1" - -src_prepare() { - eapply_user - sed -i -e "s/docsdir/#docsdir/g" \ - -e "s/docs_/#docs_/g" Makefile.am || die - - # fix build for MUSL (bug #832235) - if use elibc_musl ; then - sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die - fi - eautoreconf -} - -src_configure() { - use elibc_musl && append-libs -lunwind - econf \ - $(use_with ftdi) --with-sdl \ - --with-png --without-bfd \ - --disable-static -} - -src_install() { - emake DESTDIR="${D}" install - find "${D}" -name '*.la' -type f -delete || die -} diff --git a/dev-libs/simdjson/Manifest b/dev-libs/simdjson/Manifest index 96f8a854ada9..fc4c945f935a 100644 --- a/dev-libs/simdjson/Manifest +++ b/dev-libs/simdjson/Manifest @@ -5,14 +5,10 @@ AUX simdjson-1.0.0-install-tools.patch 933 BLAKE2B 1464f6eba0bc747dc24fc94ceebef AUX simdjson-3.1.7-tests.patch 562 BLAKE2B f246a10e4c8af534b41314a7dd8a213f598bcdd313a15b1b6697fd4ba9700696d4b581122306c55195e84eeb2dbfb7b577eea4d81093282783db5264b9a27af4 SHA512 4f95c52bf56d170edc08050f17d9eca85c10d25637e385f096caa2ee7d5c7c32cceba9688f98a1c83360880945955c4a7a5c38e3fb72e3a79e477951f341a2ad AUX simdjson-3.7.1-data-optional.patch 841 BLAKE2B f207b75c0c9d81f5d35ef9da4eeb39ca00e83a0e8bfcaab717f2c67be36f185fdb6655e1f09adbb5ad543d44776ccd019792800534559fc0c24a03f6d1b4643b SHA512 a6e8aab64822e92944f3710f10f36986ffc01008528f8058902ad6e77b841c3f37ddcf48f09cd164237494185ab122e20225be97a279448eb51f44c08f8b0933 DIST simdjson-3.6.3.gh.tar.gz 2302220 BLAKE2B c46eeb8a07460cc5427fc35714fd262069cd3d913732e6037d808281d0fed0e82e0423dfd16abaeb515264559fe4454c42f81211354723eb21b212decfe7834b SHA512 b9fa7e554ded4e6cbe9d70ee29aa5b582e58b8b2ada1a781e58746082bb7d31791a4e2ea8b43d9391d783e61e489554f260448029c0b7e730cc69dc44f4aa86a -DIST simdjson-3.6.4.gh.tar.gz 2301736 BLAKE2B 512effe54c6d36e31c95983cd9bd2ddb000c979c5050cb0c4b8ae2eae743ec50720e15ccf8b457b085d7d5bea24e0a0f793cba97a0af35dedbe59cab105ab2b9 SHA512 30dbc39166f092808d8642a2e4ca37c10999c511aa90e349409b3f4765c638498070ed9ed53ec7bfda9a9442557c7407ee0468a0845d53346d4a990f6d8c3c5b -DIST simdjson-3.7.1.gh.tar.gz 2319851 BLAKE2B 06de2f3dbdb65e7cd5aa418ecb7db27ae01f1e205e355f4d8cb38929d284407bb3edc93a5ee13e30457123ee83bdee35923a265ada520ff94365d1eb71de6ccb SHA512 536f2cd174d50890611942accdcc5b41f5a0d0bc6f03d5627a64c75fa6d88efc9bf4304da4c4607b472223d2a713edaeecbfa66e0e7e5efa1f45a60c93eee96a DIST simdjson-3.9.1.gh.tar.gz 2636602 BLAKE2B 82c4956ebc902574ed1b36196097c6c07e9ca0f11384f71b260ae95ff5e7c436ce016da417197f84c21ece0ae2239fc1c4e02cf63672fae98b3fa69831de3adb SHA512 b8c091e7ecce4cdc67f538ab6715ce89bff16e68f6d56bdc37e05ab0b110b90bc6b039d5c76e2dceef9e30f35cb6ace5e4e230d4c70e928329a376f989b23bed -DIST simdjson-3.9.2.gh.tar.gz 2638581 BLAKE2B 987702626ad08ad8021488c76b096627ac2b0448294bf2155cb9892b5b1f3621e61c2829e4bae3b8b5ff3f6978b89cf45dc00bf8291e578dab3e9e525eb6a622 SHA512 7ef6b0c054cb2d2b87b79d8ad35435b953fb5f9c062de4c0206487dd8e13948c9389d7fbc4cd53505888a98567bdc9cd28bcd525a3ce0651d0ed5e1a7fe694e9 +DIST simdjson-3.9.3.gh.tar.gz 2643869 BLAKE2B f2e0f8d13a234c7ee639a57333b66a464312a20bd67f808688f6456ded7b6bdac75d857b10207adc03e05d89e701efe874d068774a90c3082d9e83792ed784d1 SHA512 893ce0cb380b1418438f5910262325031f8071c4577589a491713f91c980964b4105c1e1aa7f2b9373deed40ecf6b48fe48a1aa243151e424f138f5418e4821c DIST simdjson-data-a5b13babe65c1bba7186b41b43d4cbdc20a5c470.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1 EBUILD simdjson-3.6.3.ebuild 2332 BLAKE2B cfb050fa5fe9a2b74827ef1a9efe5405adb332236b293f021b9a0f85da76b5b2101ac0d561a1d5651112df08b96630048e9a5f08d5473bcd66e871fd69026f20 SHA512 7abbfc31053a3f54a0fe59db9d94572567408c3425a7cea0d9c22b6da78dc4112d63ff5d7f188b8b52605aa9cb5f89ccb7c0367f9235c77e9cc5c1615404d704 -EBUILD simdjson-3.6.4.ebuild 2333 BLAKE2B 43e0b2e16c722d88d7263b2f70650d3a83cc81786ff6b55313cbc3aeb940c8490540356ab4d1df173050f6e170a3e040eb3e7348aa5e979115a40d5761a5f4e0 SHA512 ffbbf7bc2a1ae6f0f1d2982c25c08be0723e7f0902c5f716009d422b0e74e35e55d4d4e06f10e2dcc7c3293e2e36f844ccaaaf810df552a62f002cbdbc189d50 -EBUILD simdjson-3.7.1.ebuild 2372 BLAKE2B dd72c4c1507e60d033ed9c680e94e3351f51c8698be2821201c762568c1043c40f9ffb310c5df2f6c4232d5d4af8ebb0feb0b0500e74f57d813f3fa744aff9f6 SHA512 d8dfa45a02f73eba26d0636ba7508119b368ba016764691cbe4e714b245fc2d9b4a307fb2c0419ed4f90226d603116e57db0e0c5d5262ea5bf565926954a3e73 -EBUILD simdjson-3.9.1.ebuild 2386 BLAKE2B b72abcecbd25a448b0e11dda74dde6a698d23bf3f5ee00ca494f1d335706199eaea0522934d59eb1b0c36c372d44100defe689d0600b506dc2944d46a912fca9 SHA512 564dfc942f35b143da0077ea107119ebbb7ccb68ebd370eb0e8173da54dc5aad817c482ddb326ebe242d057f95dd2b58edb1c98f5d24cde3260e1e4a9fcc8f52 -EBUILD simdjson-3.9.2.ebuild 2386 BLAKE2B b72abcecbd25a448b0e11dda74dde6a698d23bf3f5ee00ca494f1d335706199eaea0522934d59eb1b0c36c372d44100defe689d0600b506dc2944d46a912fca9 SHA512 564dfc942f35b143da0077ea107119ebbb7ccb68ebd370eb0e8173da54dc5aad817c482ddb326ebe242d057f95dd2b58edb1c98f5d24cde3260e1e4a9fcc8f52 +EBUILD simdjson-3.9.1.ebuild 2385 BLAKE2B f9be2e9c133672fbf90a45604999b4252b727b25fa6621766670b8ecf5e506b94f387b89c713099603d1ac9ad00697240cc92c824f0d7f6a41a9033541804a79 SHA512 86f6968c66f014facdbf3897f963b8ecf3c975403c66d797d5a1d83881f2b489c135336654ec0e153ec3820939c7a460789bc93d7e91995171315d0e5adc45d9 +EBUILD simdjson-3.9.3.ebuild 2386 BLAKE2B b72abcecbd25a448b0e11dda74dde6a698d23bf3f5ee00ca494f1d335706199eaea0522934d59eb1b0c36c372d44100defe689d0600b506dc2944d46a912fca9 SHA512 564dfc942f35b143da0077ea107119ebbb7ccb68ebd370eb0e8173da54dc5aad817c482ddb326ebe242d057f95dd2b58edb1c98f5d24cde3260e1e4a9fcc8f52 MISC metadata.xml 417 BLAKE2B fa60b19f3372b1794fa5d83a0767e1eaed6569bf314cd74bb14baee7aee454c83ae0268cebd46bee877dd46472e735ee23136983f991d63d7ff3d64f0b7bb258 SHA512 a3afde0d4740ffc6e8f26c5d937d141bdec24f59082a89232962e1d75513a51cb050d1b93b439450051f05281f206e06a5052f67037d685a95ee4e28e7ece113 diff --git a/dev-libs/simdjson/simdjson-3.6.4.ebuild b/dev-libs/simdjson/simdjson-3.6.4.ebuild deleted file mode 100644 index efb2ca0d1cde..000000000000 --- a/dev-libs/simdjson/simdjson-3.6.4.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2020-2024 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/19" -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 -} diff --git a/dev-libs/simdjson/simdjson-3.7.1.ebuild b/dev-libs/simdjson/simdjson-3.7.1.ebuild deleted file mode 100644 index 86f2f2dbe6cf..000000000000 --- a/dev-libs/simdjson/simdjson-3.7.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2020-2024 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/20" -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-install-tools.patch" - "${FILESDIR}/simdjson-3.1.7-tests.patch" - "${FILESDIR}/simdjson-3.7.1-data-optional.patch" -) - -DOCS=( - AUTHORS - CONTRIBUTING.md - CONTRIBUTORS - HACKING.md - README.md -) - -src_prepare() { - if use test; then - mkdir "${S}/dependencies/.cache" || die - mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/.cache/${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 -} diff --git a/dev-libs/simdjson/simdjson-3.9.1.ebuild b/dev-libs/simdjson/simdjson-3.9.1.ebuild index 1936e556eb93..03dcee295b1f 100644 --- a/dev-libs/simdjson/simdjson-3.9.1.ebuild +++ b/dev-libs/simdjson/simdjson-3.9.1.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="Apache-2.0 Boost-1.0 BSD MIT" SLOT="0/22" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" IUSE="+all-impls test tools" BDEPEND=" diff --git a/dev-libs/simdjson/simdjson-3.9.2.ebuild b/dev-libs/simdjson/simdjson-3.9.3.ebuild index 1936e556eb93..1936e556eb93 100644 --- a/dev-libs/simdjson/simdjson-3.9.2.ebuild +++ b/dev-libs/simdjson/simdjson-3.9.3.ebuild diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest index df5efd3266ba..a22731ea2084 100644 --- a/dev-libs/wayland/Manifest +++ b/dev-libs/wayland/Manifest @@ -1,4 +1,6 @@ DIST wayland-1.22.0.tar.xz 229544 BLAKE2B b0bb366e7f3494813d1574228ae5dd48eccde035120d6dd8709e3a24738681ab9dd9ba6a13924b6a35982d331fa8911fa7346911da9f618be9c9109da0288629 SHA512 fb1974efc8433e97254eb83fe28974198f2b4d8246418eb3d34ce657055461e0c97bc06dd52e5066ae91bbe05bac611dc49a0937ba226ac6388d5a47241efb12 +DIST wayland-1.23.0.tar.xz 237900 BLAKE2B efb80e3c67db7a707a6d2ea66e7a5132173550bc13fdff447925ec3d33bfba8131532f819d5ab0dd80924cb4339b58b7ca83d9e70a436cea8268167476355bd8 SHA512 9c525231a7ea3e68d3178230d476285a960d23e38571ac96d885f86c0588c52ef01460bff6833db5adb9456ce8db7b996613611187aac972736748ba91b8fd81 EBUILD wayland-1.22.0.ebuild 1669 BLAKE2B dd25effa4c6a77f44fcf7d06249f0397da9e86186d73b4a2e06fa14decd9e9f9d1d358d43363dc6b8880467b60dab442872c45c4f4d44e2535521a1bdaedb804 SHA512 5e8d283cdf726f0f3ca414ec5c5c43567ef695e4aaec557ec905420f0002be46348f29be8321912b5c559f858c47040206a96019c72b77359dadb992eca23cb8 +EBUILD wayland-1.23.0.ebuild 1676 BLAKE2B 7c400568934443ab15f422950828d01cc0f7530a9b010f089e59ef3ac77d31f3541cd8cfe0d0f426dc27289fc90512f0ccaeb82f171c45104d8c21c815f8856c SHA512 9eae9e9da8564e15a3303eced89699701dcc1347e0177f3e2fdd95aca76d27ea969f0308ae3b59e2d79925dd1a03de086f5582f3cd4368510d26f87fa507988a EBUILD wayland-9999.ebuild 1676 BLAKE2B 7c400568934443ab15f422950828d01cc0f7530a9b010f089e59ef3ac77d31f3541cd8cfe0d0f426dc27289fc90512f0ccaeb82f171c45104d8c21c815f8856c SHA512 9eae9e9da8564e15a3303eced89699701dcc1347e0177f3e2fdd95aca76d27ea969f0308ae3b59e2d79925dd1a03de086f5582f3cd4368510d26f87fa507988a MISC metadata.xml 337 BLAKE2B af249efc25c3eadde73d0b49cba0e6c8a021fb4b7c9a0b96f27a4e71185c76f8ac7ff0b9efdfeadf2df324cfa578db3a73fc7bee8c249cba35d41e2145017e16 SHA512 771b226f8e16d8c570bc2ea89ee3c5176e1d0f2209afb3b2af5a9d19fbdc2037a411b84d546bea054449c8074fb0fb3c3726fb2692d084521c64cda60600c0b8 diff --git a/dev-libs/wayland/wayland-1.23.0.ebuild b/dev-libs/wayland/wayland-1.23.0.ebuild new file mode 100644 index 000000000000..7361890a730d --- /dev/null +++ b/dev-libs/wayland/wayland-1.23.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +inherit meson-multilib + +DESCRIPTION="Wayland protocol libraries" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ~dev-util/wayland-scanner-${PV} + virtual/pkgconfig + doc? ( + >=app-text/doxygen-1.6[dot] + app-text/xmlto + >=media-gfx/graphviz-2.26.0 + ) +" +DEPEND=" + >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_bool doc documentation) + $(meson_native_true dtd_validation) + -Dlibraries=true + -Dscanner=false + $(meson_use test tests) + ) + meson_src_configure +} + +src_test() { + # We set it on purpose to only a short subdir name, as socket paths are + # created in there, which are 108 byte limited. With this it hopefully + # barely fits to the limit with /var/tmp/portage/${CATEGORY}/${PF}/temp/x + export XDG_RUNTIME_DIR="${T}"/x + mkdir "${XDG_RUNTIME_DIR}" || die + chmod 0700 "${XDG_RUNTIME_DIR}" || die + + multilib-minimal_src_test +} + +src_install() { + meson-multilib_src_install + + if use doc; then + mv "${ED}"/usr/share/doc/"${PN}"/* "${ED}"/usr/share/doc/"${PF}"/ || die + rmdir "${ED}"/usr/share/doc/"${PN}" || die + fi +} diff --git a/dev-libs/zziplib/Manifest b/dev-libs/zziplib/Manifest index ceeb6f00cc23..779b6f274196 100644 --- a/dev-libs/zziplib/Manifest +++ b/dev-libs/zziplib/Manifest @@ -3,6 +3,8 @@ AUX zziplib-0.13.72-incompatible-pointer-types.patch 1838 BLAKE2B 4211b5cb8f6ae4 DIST zziplib-0.13.72.tar.gz 1162175 BLAKE2B ff5617645e25040e4666e5440651fbb2b04c0505c7bda08b158f44c63c5dd53ec97a9942908314c3b103a4685be49368e964d249fcf9b9d685e328f0ebabdedd SHA512 4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8 DIST zziplib-0.13.74-testdata.tar.xz 166188 BLAKE2B f3cc98495542fb95e8bd9cfb98ecd22c9e6206fd13c1d0607ee8b7640ddb3d3c4b9cb7bc7ca7a95a787ffef4e5a8c2b4ab1bc0c5890811ab21c681239840dcdb SHA512 d4545f770c4f00658ec69a7f393f38d0c649704adb30b6a25f2c0b48711829416985258d34911d48b9bd394d9334ab89c8deda719f2aae509a75441f8a8d8902 DIST zziplib-0.13.74.tar.gz 1177162 BLAKE2B fc093b731406101086e59ff54b4378190c88821c4349d75e35c9595b45695b5f91a20e99a9689f7ebbc8d8951f2c4e1132d670e3827f5329977de1f85c9ce5d2 SHA512 7dd27247cbc475e2c6beb3a96c620f9938ade0dff6f4e088f9c28432fc4cc01df9d6771ec3d5e07baabe27033f4764d60e31c4c54588559de64e894d0557c94f +DIST zziplib-0.13.76.tar.gz 1185716 BLAKE2B c04743fc47e6a0e102a01d0473d88b9f9cb044a3a021119d16533949d0a1f132fb73f957714a840b0474590bc98f62132e89ce890c5c9097a77d8f007c3f1e5a SHA512 d4b327530fc2681df1705b24d5de697d3c3829e299c28e047849444c7aeaf87e188d96782a2009dc7ae216f82f744a32a94fc7962fb12b3a62b28d7ecf12a7d6 EBUILD zziplib-0.13.72-r4.ebuild 1577 BLAKE2B d52d3777e8be065ee571c6bbda759aa993d5a84f5d4122016f541a85fb72932e045d5d63c4a25fb86a7885125fb3e7ec7f61843e3ec529516f2da4131fe806f2 SHA512 bdaad58efe6ed6ef6b82605e40a41b7cb67dc2a59cbff76d6e8b2b0e41835c05e95b99e134c8893de24795d0099d03b7981fb271602d76fb34f9de206ff1b9fe EBUILD zziplib-0.13.74.ebuild 1963 BLAKE2B ba2799b6028a222854945a06c52e661e0762b252ee1962d2a885c19a5cc36fdfb483e9d8e41de5711c6c50743dec87df2bf6c792602d43e8776fe55267d54f4e SHA512 49359e857a318714f0c18334b7b4f3622f24ddc01920fc7e0c6cf68a1d8e98b9a56775cc284104b707af41ab6004bb5b74b30b74d3899e02da999ee5a391a022 +EBUILD zziplib-0.13.76.ebuild 1963 BLAKE2B ba2799b6028a222854945a06c52e661e0762b252ee1962d2a885c19a5cc36fdfb483e9d8e41de5711c6c50743dec87df2bf6c792602d43e8776fe55267d54f4e SHA512 49359e857a318714f0c18334b7b4f3622f24ddc01920fc7e0c6cf68a1d8e98b9a56775cc284104b707af41ab6004bb5b74b30b74d3899e02da999ee5a391a022 MISC metadata.xml 300 BLAKE2B 5bd0efee346b2d954d36b1dd83e1d8ef54944ec7f7fb3a88bdcba73b2f85d0236cd638f763388ed43a30c44f9db5b83223310d66232731e6d37ef57315c04129 SHA512 0a233cbfe081cd55c76d8229261f1d8d8a8bf1435886c36e938a3a059a2db9b44bed165b7aeddbe568756a3e19e3cbd12dbee659a5a8eb2feea21c5f2ab35d22 diff --git a/dev-libs/zziplib/zziplib-0.13.76.ebuild b/dev-libs/zziplib/zziplib-0.13.76.ebuild new file mode 100644 index 000000000000..cef1f31dd237 --- /dev/null +++ b/dev-libs/zziplib/zziplib-0.13.76.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +# Needed for docs, bug #835755 +PYTHON_REQ_USE="xml(+)" +inherit cmake flag-o-matic python-any-r1 + +TEST_PV="0.13.74" +DESCRIPTION="Lightweight library for extracting data from files archived in a single zip file" +HOMEPAGE="https://github.com/gdraheim/zziplib https://zziplib.sourceforge.net" +# Test data tarball generated with python ./zziptests.py -D -d /tmp/zziplib -v +SRC_URI=" + https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_PV}-testdata.tar.xz ) +" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0/13" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="sdl test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + test? ( + app-arch/unzip + app-arch/zip + ) +" +DEPEND=" + sys-libs/zlib + sdl? ( >=media-libs/libsdl-1.2.6 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + # This test assumes being built with automake (checks for .libs/x). + sed -i -e 's/test_91000_zzshowme_check_sfx/skip_&/' test/zziptests.py || die + cmake_src_prepare +} + +src_configure() { + # https://github.com/gdraheim/zziplib/commit/f3bfc0dd6663b7df272cc0cf17f48838ad724a2f#diff-b7b1e314614cf326c6e2b6eba1540682R100 + append-flags -fno-strict-aliasing + + local mycmakeargs=( + -DZZIPSDL=$(usex sdl) + -DBUILD_TESTS=$(usex test) + -DZZIPTEST=$(usex test) + -DZZIPDOCS=ON + -DZZIPWRAP=OFF + ) + + cmake_src_configure +} + +src_test() { + cd "${S}" || die + "${EPYTHON}" "${S}"/test/zziptests.py \ + --downloads=no \ + --verbose \ + --topsrcdir "${S}" \ + --bindir "$(realpath --relative-to="${S}" "${BUILD_DIR}"/bins)" \ + --downloaddir "${WORKDIR}"/${PN}-${TEST_PV}-testdata \ + --testdatadir "${T}"/testdata.d \ + || die "Tests failed with ${EPYTHON}" +} |