diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 96098 -> 96101 bytes | |||
-rw-r--r-- | dev-libs/libgit2/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.5.2.ebuild | 76 | ||||
-rw-r--r-- | dev-libs/libgit2/libgit2-1.6.1.ebuild | 70 | ||||
-rw-r--r-- | dev-libs/libxlsxwriter/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libxlsxwriter/libxlsxwriter-1.1.5.ebuild | 46 |
6 files changed, 198 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 46fcdf4e320f..73ae6a1c023f 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest index f0eb9fe0f47d..2c91bc7c7ae0 100644 --- a/dev-libs/libgit2/Manifest +++ b/dev-libs/libgit2/Manifest @@ -1,3 +1,7 @@ DIST libgit2-1.5.1.tar.gz 5895483 BLAKE2B 4df80216523f4065e46c1ce99fd0747d2f8516571691c8c2b5638e32c805f5ce08d3add769e6d5ce29ac69b35419db82ce56c6b3019e70573c4ad63aca2e440d SHA512 04cf389e30cd9fb787704e3c8997acaaeea5c13e1e2f9eaf9f5598d35c2e85f3cf04b47312cae9e7278236ecb089c2d33addd852e38d3c7d2daa87929b077f39 +DIST libgit2-1.5.2.tar.gz 5896845 BLAKE2B b89c48c953d8804c1ea1997e0c81f45aeb66f87a7cad100069dc3a8364e0658f6d6e41e49adf123cc950b2da46f805aa05f07af234990f62aa78d38d5e8e78d5 SHA512 0de5e82953482bf57e9cd221406581a12c6acfbeeea0cebbb9b701d288804ec085b7c0902ba1f04ad7cdaaead9d472be21ffe8d730050db5c77101a93448fb3a +DIST libgit2-1.6.1.tar.gz 6666523 BLAKE2B cf80f64bdb069f16cd39855b6ff0afa9c601e489c59da60fc7a72b447263f731db806b7df60c289f2b94ee3d26ef182a33395528962d4bfca87db8e99da1cf86 SHA512 9288e6a0129020458a3ef6a7af2074e1a4577cf0be9adbab9316f5fae149861a4f39dd1dc104030e7fe849bb95d0ef12ffac4c728c5f13da4b5f66c7e6f9af7a EBUILD libgit2-1.5.1.ebuild 1686 BLAKE2B 4ae895e2af20af5b8af29d7b62f2638ef4a804254d185e1416b9661593e97922d1c92e39de13f1c1e48be244b1603092251d4924004a91fce75c88250763aede SHA512 3bc83d51903b44085685b6c284c44d8c0590eb71db919f1bdb8b7f41daba68a56e8978c51e5b2b861d51df84f603a366526abf7127fb05b14c4ab50c6745b7e9 +EBUILD libgit2-1.5.2.ebuild 1693 BLAKE2B a69495e5cd140062bf2017408bef133926cdab66debe8e31f94c4a72076582ac6f334e67e31b450b152f433abfc13f2a4d916706ef9e7f63ee7b76c29e8b5d12 SHA512 359e355243406050ae03c33f043b2b942ee2a19789232219c613af3eb99061d8ee6831603ffbae2395328e999fb613213abf6efe0a12ed4b093ecdd8cf0747a1 +EBUILD libgit2-1.6.1.ebuild 1535 BLAKE2B 41ea8db929386e36d01cd2b493770c5cf588b8130dc268303176ebf5329e9903d371cfa53987548eb9305ba0b5be86e8fd7a5cb2da8e172a1d1b9d1458e5bb17 SHA512 4355568edf69097b6f359798e653ee2f502f3f89e764e34c719d4256da9a413c5c7b0091e3939d00a067cdfe5c7415c030fb6691f0d950fb3ca087ed8baddcea MISC metadata.xml 916 BLAKE2B c5fb3724d2e9ef35c5be3df76c79dfc80a34d238a12d6b16f3f16d919076e216dcb085c4c182102c8fe7338982ab862a749ff9d25d8c0a0561fc133db6e07682 SHA512 78b668f9fef202fb86abc1564c4b240f7084bb3ed6ac0b77a8e26940721be6db5bfff1b927403aaa561f3dc20400bac677cc9b0a0204542b5b304ab8491c08c7 diff --git a/dev-libs/libgit2/libgit2-1.5.2.ebuild b/dev-libs/libgit2/libgit2-1.5.2.ebuild new file mode 100644 index 000000000000..2769e48033fe --- /dev/null +++ b/dev-libs/libgit2/libgit2-1.5.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake python-any-r1 + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.org/" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_/-} + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="examples gssapi +ssh test +threads trace" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libpcre2:= + net-libs/http-parser:= + sys-libs/zlib + dev-libs/openssl:0= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig +" + +src_prepare() { + cmake_src_prepare + # relying on forked http-parser to support some obscure URI form + sed -i -e '/empty_port/s:test:_&:' \ + tests/libgit2/network/url/parse.c || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DUSE_SSH=$(usex ssh) + -DUSE_GSSAPI=$(usex gssapi ON OFF) + -DUSE_HTTP_PARSER=system + -DREGEX_BACKEND=pcre2 + ) + cmake_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake_src_test -R offline + fi +} + +src_install() { + cmake_src_install + dodoc docs/*.{md,txt} + + if use examples ; then + find examples -name '.gitignore' -delete || die + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libgit2/libgit2-1.6.1.ebuild b/dev-libs/libgit2/libgit2-1.6.1.ebuild new file mode 100644 index 000000000000..1335a2335a3c --- /dev/null +++ b/dev-libs/libgit2/libgit2-1.6.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake python-any-r1 + +DESCRIPTION="A linkable library for Git" +HOMEPAGE="https://libgit2.org/" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz +" +S=${WORKDIR}/${P/_/-} + +LICENSE="GPL-2-with-linking-exception" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos" +IUSE="examples gssapi +ssh test +threads trace" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libpcre2:= + net-libs/http-parser:= + sys-libs/zlib + dev-libs/openssl:0= + gssapi? ( virtual/krb5 ) + ssh? ( net-libs/libssh2 ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DEXPERIMENTAL_SHA256=ON + -DUSE_SSH=$(usex ssh) + -DUSE_GSSAPI=$(usex gssapi ON OFF) + -DUSE_HTTP_PARSER=system + -DREGEX_BACKEND=pcre2 + ) + cmake_src_configure +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + # repo::iterator::fs_preserves_error fails if run as root + # since root can still access dirs with 0000 perms + ewarn "Skipping tests: non-root privileges are required for all tests to pass" + else + local TEST_VERBOSE=1 + cmake_src_test -R offline + fi +} + +src_install() { + cmake_src_install + dodoc docs/*.{md,txt} + + if use examples ; then + find examples -name '.gitignore' -delete || die + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-libs/libxlsxwriter/Manifest b/dev-libs/libxlsxwriter/Manifest index da770adbb770..f68cff99342c 100644 --- a/dev-libs/libxlsxwriter/Manifest +++ b/dev-libs/libxlsxwriter/Manifest @@ -1,4 +1,6 @@ AUX libxlsxwriter-1.1.4-fix-pkgconfig-version.patch 675 BLAKE2B 19771b0b921a613191695ab0dfc65dabf3941678df01e7241cc37b5dcb9544c59f917d9d0090781e525708b4e1fa314cd49b6887c9915e809f4111b3fe0d2831 SHA512 dd43e9b8738298dbf568f9fe7cc518ff44ecd352a01554af776506be6c815e51c954195f4bcd046dfeb35ced4d590824f4dc26881f03a70639486f8fee768797 DIST libxlsxwriter-1.1.4.tar.gz 20442200 BLAKE2B 38308dd8e954820b6debf15bc884effd583c0e0fa1667ed4451085ff8cf1bf4101807110873a501617785763886c107c19ab30c16390b5fb608f52b2736465be SHA512 fad36f7882fcb21b87e13cf603022cfad3f14e6f955a06e2771712facd0fe12f83f4d1655dc1a744724bda1ac83af7e7bf1393457c5507d8983f63002ab294b5 +DIST libxlsxwriter-1.1.5.tar.gz 21541446 BLAKE2B f9e2fde83bde852b4568b8ce82a28ad75e6e8d1ca6f3683ac2308d28707e7e4874facf8eac2ce9b4b9fdcc96d8b775dd69eefb2f976f564323a278a3dad032d0 SHA512 bd7db0fcf25ebf492b4d8f7da8fdb6cc79400d7d0fa5856ddae259cb24817034fc97d4828cbde42434f41198dcfb6732ac63c756abd962689f4249ca64bf19c6 EBUILD libxlsxwriter-1.1.4-r1.ebuild 1120 BLAKE2B 94d3b6183729c5bc3d102c956df3877842cdcccba24276e586a816baedd095c8777846aaeef564ddfeb30c8a6ec460502d226d3c62a6b9716d18af41f7f388df SHA512 fa2d658213383d9de5657c3462f18642ccb44c57edf270edd5aaa1224cf2e5bce6f9d84b34d1643e5e3d6895ff2d6d003aab900e88b438b7fa2b233f5f157d80 +EBUILD libxlsxwriter-1.1.5.ebuild 1084 BLAKE2B 32bad02714cb16b3906e9abfa00d58de193afbf3855e95d59f81eae78ae73945332d47d15ecd0e9966cc1cb9bd3569f85afc9c0d2772abbbb6741a34763015b1 SHA512 e2771d4613f70b7777823e3f1a20beee36893309fd211813b5123e7708f8da2267054aa6706d251b1a2ce2f1f09237ce3757e9adaec848e8d2df99a029d46232 MISC metadata.xml 579 BLAKE2B 0c3294a1f69d9cc7e3e95a37f2708ce4672cc931f28cdded82aadc9cdffb323ac4bd7518c61fee57ad30022617acb572625f3b6b0972fd903a1ae3afcf98aee1 SHA512 83d288575e27337692c3cd94bad56d8e2882240343b739eeed72742bd82e9177c45a81ef94ebab9e035b99431ecc2cf21723e408a90fa6b5f551e8a7f1f17a0d diff --git a/dev-libs/libxlsxwriter/libxlsxwriter-1.1.5.ebuild b/dev-libs/libxlsxwriter/libxlsxwriter-1.1.5.ebuild new file mode 100644 index 000000000000..241cd4e4d6be --- /dev/null +++ b/dev-libs/libxlsxwriter/libxlsxwriter-1.1.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake plocale + +DESCRIPTION="C library for creating Excel XLSX files" +HOMEPAGE="https://libxlsxwriter.github.io/ https://github.com/jmcnamara/libxlsxwriter" +SRC_URI="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-RELEASE_${PV}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="openssl" + +DEPEND=" + sys-libs/zlib[minizip] + openssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + DOUBLEFUNCTION=OFF + for x in $(plocale_get_locales); do + if ! [[ "${x}" =~ ^en* ]]; then + #non-english locale detected; apply double function fix + DOUBLEFUNCTION=ON + break + fi + done + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=Release + -DUSE_OPENSSL_MD5="$(usex openssl)" + -DUSE_SYSTEM_MINIZIP="ON" + -DUSE_DTOA_LIBRARY=${DOUBLEFUNCTION} + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + dodoc CONTRIBUTING.md License.txt Readme.md Changes.txt + dodoc -r docs examples +} |