diff options
Diffstat (limited to 'dev-libs/liborcus')
-rw-r--r-- | dev-libs/liborcus/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/liborcus/liborcus-0.16.1.ebuild | 63 | ||||
-rw-r--r-- | dev-libs/liborcus/liborcus-9999.ebuild | 4 |
3 files changed, 68 insertions, 3 deletions
diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest index a1a968db212d..54c9cbf93d8e 100644 --- a/dev-libs/liborcus/Manifest +++ b/dev-libs/liborcus/Manifest @@ -1,6 +1,8 @@ AUX liborcus-0.15.4-bashism.patch 640 BLAKE2B 4ccb09840325fb59756b806c1be68bd327757899ba904e9c3b83bafe167c61ac3e94b9779e2df547b2427f622532c86ebba56d20d853095c215a0a15d7b179bf SHA512 0d7605eea0594b81b45faa0120e7fc37021efbae8b676ee0a1262923aa69511203927163785a8648ab23ac8df8ea5b4bb08ca8f0dda436b81ec287dbe2064951 AUX liborcus-0.15.4-gcc11.patch 1874 BLAKE2B b01e145fc9204e1504e34959c0c1c97101eed287e7291734e32e81a1e219a3bbcb6487ad7cc8c248019feccbebc94e03e3b3f7346c38074c9f284a159eb1d55e SHA512 61cd9afe40f6a3da6fc1177627fb17716286d48168d282fc90de3729f46bcd4cf22cb4fa9ed2962b59806d58d0569365f80b633e74225257ff9beb5eab01ad7a DIST liborcus-0.15.4.tar.xz 1590048 BLAKE2B b2edff8a00439154c2850e49fff151f59c0c5a43163cebe5cac84b627fcf87c89a0a522797d8a5bc39eaca9205d74ff3f0bdf9ba77561c5cc7aefe98f35a4c8b SHA512 edbe1d6f86a249e43915e7fb960e6b269fa8703e3f571a023e811dd3f9b5d9c9a36edff491faa7ed7ea3490bf5afe1999e26d05c658a0a393b3ffd08b311b76f +DIST liborcus-0.16.1.tar.xz 1805436 BLAKE2B 7df89da5a175daa6fcf759d28f8a0eaebf3db6405af3b06a01b8dad41c7706acedc74876a0b68ff9cabd5780bb7cb311cd7c98390c9ecd265e62513eadde81eb SHA512 6d75591820af65181dd3a418f051a359695083f29c7d9c77edbcab3e89d9ea367824be0b19f27a31267525f446936145f5780a0ce3c6ee2d89823742837d4739 EBUILD liborcus-0.15.4.ebuild 1330 BLAKE2B 1418857b75f7c98f4160430afca5fcfcc05540a01b1c9191e71701c8900f2937a6bc2632697778af6364b3995fb487b9307a376420b5f62a1572a62673abcffa SHA512 a1f0505fabb9d35f33d620f31add9c96ebdaeaee8fbecd20b1537c2e0a72cc1b1accba1171ba2b0c2cd6cca7de66a5be2dfe90b8b19a79221b74beee8e915a82 -EBUILD liborcus-9999.ebuild 1296 BLAKE2B 2cb025cade84605ede18fe4d58dc3fbfcc1f425350b4c1395e0f2d98bffd76ba2814e19bb0d8caabcd68c4482c3eff68d9e00d0dfccd94e3956e0322c9e4510e SHA512 1584bf01fd5175bb58270bb432862dff7e8efb44094e2305646052361482f3d5b1d5482d0d097ee5a2c36d0035e4cd8c181471924c32d35e5b7080e6d06619b5 +EBUILD liborcus-0.16.1.ebuild 1365 BLAKE2B 498d60136a42d169af92c15e563136f19f9564cc2d8fe1c75780fa160fec6c509aff5c717668da8007eb9c521e456fe5a63cbcb5541e67526c556e696ebc9c96 SHA512 8879c389ad9813f09349261382a452b3e6f3a6d99f392478273c8c4a3b80244eab6c33fffcc02181857b81ac15d6e67ffa798d7c57ed0ed5fd85b4550461f693 +EBUILD liborcus-9999.ebuild 1298 BLAKE2B d36fecea100888f02258506873c9590989d7d8abadb2e03e97b0c80d1d3643fd462f13a7af52ca889c9ea91d44a8eed9b5764887f8a2c0b0d4fd78995b9e28cd SHA512 d7c070b9f43558abda76cd5602a0176ca4713abce69b458243edd089a114bef05ec189fa61384a158406427368463f5618f256d65c7177b04d59051a6ab954d0 MISC metadata.xml 556 BLAKE2B f60b17901e0ac564d2d495122a673c6c397e8ca78cc5035b53be81e48d6653d9804fbd337a5e308fb993a28f39aec13f0b8da85bc8e3bf213f0411e08f977a60 SHA512 c16a1b111116eddfdf0095b3b8c6e44e3dd60ec9049907459eef7906cc3f9673ee099651bdec081efe86abf2afc0340afcf204b7439481201188ac682eb11bf2 diff --git a/dev-libs/liborcus/liborcus-0.16.1.ebuild b/dev-libs/liborcus/liborcus-0.16.1.ebuild new file mode 100644 index 000000000000..668bff144022 --- /dev/null +++ b/dev-libs/liborcus/liborcus-0.16.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit python-single-r1 + +DESCRIPTION="Standalone file import filter library for spreadsheet documents" +HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" + +if [[ ${PV} == *9999* ]]; then + MDDS_SLOT="1/9999" + EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" + inherit git-r3 autotools +else + MDDS_SLOT="1/1.5" + SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz" +# KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/0.16" # based on SONAME of liborcus.so +IUSE="python +spreadsheet-model tools" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/boost:=[zlib(+)] + sys-libs/zlib + python? ( ${PYTHON_DEPS} ) + spreadsheet-model? ( dev-libs/libixion:${SLOT} ) +" +DEPEND="${RDEPEND} + dev-util/mdds:${MDDS_SLOT} +" + +PATCHES=( "${FILESDIR}/${PN}-0.15.4-gcc11.patch" ) # bug 764035 + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + --disable-werror + $(use_enable python) + $(use_enable spreadsheet-model) + $(use_with tools) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/dev-libs/liborcus/liborcus-9999.ebuild b/dev-libs/liborcus/liborcus-9999.ebuild index 215c415e3d80..50a9442c2807 100644 --- a/dev-libs/liborcus/liborcus-9999.ebuild +++ b/dev-libs/liborcus/liborcus-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit python-single-r1 DESCRIPTION="Standalone file import filter library for spreadsheet documents" |