diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-29 02:06:03 +0000 |
commit | 2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (patch) | |
tree | 67ecd2d13b251a03c4834bdec638d301818901eb /sci-libs/libqalculate | |
parent | a2148b9fab4c83209816a49f091d70873b19881d (diff) |
gentoo auto-resync : 29:11:2024 - 02:06:03
Diffstat (limited to 'sci-libs/libqalculate')
-rw-r--r-- | sci-libs/libqalculate/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/libqalculate/libqalculate-5.4.0.1.ebuild | 89 |
3 files changed, 93 insertions, 2 deletions
diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 7b6ec4492f16..1f4e34f683e1 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -1,8 +1,10 @@ DIST libqalculate-5.2.0.tar.gz 2694752 BLAKE2B 3be1a538c5093ba8915ed1c9a795f11b615a6ed6ef9aaf7539abad411040d8c87709611f6e0367884cfd25cd46356b9237fd9c665796a275d3ecebe4fbef3edb SHA512 d849c315d3c35f97f47572c891bb2284db593d2bb5611d9405a1e7d00e849d35e08392fe6c67e5296311ed99597f76d25c3878cdcedadb2928699c22cba8af41 DIST libqalculate-5.3.0.tar.gz 2705592 BLAKE2B 8a42ab386e6b028c8e8429abedf0606e409c552a722b785bf621ea205fc792d9174fe8f62311fd7587c4a7f5d91fcbf7c1ce99ceb5d0c08ad2b696aba2f6856a SHA512 41aa83a6448158ddfbf6b4e0a88062d20dd199d8bc1fa6f12b704fa0c4085ddac19bc1bc0a7e01e063221e157b1597cf8cc387ee226a90e228723fc0e2e2bed1 +DIST libqalculate-5.4.0.1.tar.gz 2203512 BLAKE2B ccecbfdb9dc026f00bc072124d9582b8f364293d60443fb6136bf2520492b50a76db7bd6a1e678c4c4eea1ff18c9033098d8046415daaba49add765e8fa68fa5 SHA512 453e5048fca023b787f4bc68ef6cf9aac6b9aeb64ef6048543a7d3729c918976dff4336e2a1f697e5e1e7489fe6c2cc92ab016802e0ee8a1a3085b0f807e38cc DIST libqalculate-5.4.0.tar.gz 2720059 BLAKE2B e6ec9536a8b0ed3769c2a013bd267ca8202f58ebf54cd4c629d0d993cede797f2f547d02da50ced4ce94d41bbb8d54db9b4136451e960340c6bcd03c040080d6 SHA512 0539fe8053c903653b72716d0f7e5bc17d2ba954854d61f51bf62f2d9b6a02d3160be6a9f0208c67960ae5f9d831cc29eae4e80438cae482e6fb97e7686207e4 EBUILD libqalculate-5.2.0.ebuild 1904 BLAKE2B 114fe31ee1febe9be145674252823f1635f50c6c7c29351bd1c43d91cc3c9d8b9f390d89fbc254ca6373d6721de98832cc3d57324f10cc5748f1b844aea36ac0 SHA512 4b735e548cedace7b2f345de59fef330cbfeabfde6799ba2f8ae1dc247ebeaaf98f1003c996589f9eacdb359e750f5c4cbe4209c202bad789a50e7c57529ea55 -EBUILD libqalculate-5.3.0-r1.ebuild 2030 BLAKE2B a8c68135617a95f870d188bdf5d6930ba0e6f88797e61109fb4767e31555a1ea10e8f34cd630ebc4b03ef9c43db4667786d48babdff704b37eaac80c5c7ca8a5 SHA512 dfeaeb60112fc043b0dadb7d01cae32033973809283019d4f77e41514eb8776bc3354380818175e54f72cb4c21e0ce6f106279220e7e91e3d0bc772b094e8e0c +EBUILD libqalculate-5.3.0-r1.ebuild 2024 BLAKE2B 0d97cc798bca2a1be1a0f9476fc0bfed859eeef6a91a14f97bce3d73d7a9264fb2b5aa5fd7bc8abbb446bc328477c9568de8a1a5d9d41229fb165be5be3109fb SHA512 209f7f45bd48e5465bf8baf0148b5a743501f38231111053ca368432ed5c96ea39559fa4a015b9aa44a0eed55c8a2dac5a8e5473ff763c289ea3d833b7dc8188 EBUILD libqalculate-5.3.0.ebuild 1941 BLAKE2B 1a79f4f7f53954915f7b1a5c68552f78f9a4321e1ae09af302272fb25f9fa49f93578b6cb572d845dfa4164106080ae9c0b195b1f587b68409cd759fb1c9e93c SHA512 53d64947c12eb0bbf9411d4d3b67db96a6e991307ae5fa927e3e6f8e358b6718e85fd58cbbb5d5c8b4c4cec43c5852110489f4ec2a9edf16e160791faaceddbb +EBUILD libqalculate-5.4.0.1.ebuild 2061 BLAKE2B 2696d8020836145b18b74458992487d937ec98705899826c900f660d1abfca8ed40594e753c6d302318cc2e7c2b2dc54a87aef52d43dc9330ca82149c5b53bc9 SHA512 6ff5ca49604af47b430ab11761a5a7f3b3db5031a81db06ecbee31d9daf05449f60678529d34c93c23a5bb1788b4790d37446887e27db0b6f26b3889998747f1 EBUILD libqalculate-5.4.0.ebuild 2030 BLAKE2B a8c68135617a95f870d188bdf5d6930ba0e6f88797e61109fb4767e31555a1ea10e8f34cd630ebc4b03ef9c43db4667786d48babdff704b37eaac80c5c7ca8a5 SHA512 dfeaeb60112fc043b0dadb7d01cae32033973809283019d4f77e41514eb8776bc3354380818175e54f72cb4c21e0ce6f106279220e7e91e3d0bc772b094e8e0c MISC metadata.xml 807 BLAKE2B 84adb8d9b92f233d93cc630d9dbf89630a9ca1ea839f0d7d5100763c9c6e4a7065753bfe55f013e6aa99370822b4d638e7e788c8cb7bd30cae4b7bed2d7befd9 SHA512 d96812e36a70e9c1a776fe5882e1ded9fe2e7a3d1406a619202af25fc0d20180ed3209ed6df79e147697e450edb42cfcc6f38ee99ecec4e1513949b92576b4fd diff --git a/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild b/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild index 341483a69648..97c095f1c488 100644 --- a/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild +++ b/sci-libs/libqalculate/libqalculate-5.3.0-r1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}"/"${PN}-${MY_PV}" LICENSE="GPL-2+" # SONAME changes pretty often on bumps. Check! SLOT="0/23.3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="curl icu gnuplot +hardened readline test" RESTRICT="!test? ( test )" diff --git a/sci-libs/libqalculate/libqalculate-5.4.0.1.ebuild b/sci-libs/libqalculate/libqalculate-5.4.0.1.ebuild new file mode 100644 index 000000000000..1565a70bf69f --- /dev/null +++ b/sci-libs/libqalculate/libqalculate-5.4.0.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with sci-calculators/qalculate-gtk and sci-calculators/qalculate-qt + +inherit autotools flag-o-matic toolchain-funcs + +MY_PV="${PV//b/}" + +DESCRIPTION="A modern multi-purpose calculator library" +HOMEPAGE="https://qalculate.github.io/" +SRC_URI="https://github.com/Qalculate/libqalculate/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/"${PN}-${MY_PV}" + +LICENSE="GPL-2+" +# SONAME changes pretty often on bumps. Check! +SLOT="0/23.3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="curl icu gnuplot +hardened readline test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/gmp:= + dev-libs/libxml2:2 + dev-libs/mpfr:= + virtual/libiconv + curl? ( net-misc/curl ) + icu? ( dev-libs/icu:= ) + readline? ( sys-libs/readline:= )" +RDEPEND="${DEPEND} + gnuplot? ( >=sci-visualization/gnuplot-3.7 )" +BDEPEND="dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + default + cat >po/POTFILES.skip <<-EOF || die + # Required by make check + data/currencies.xml.in + data/datasets.xml.in + data/elements.xml.in + data/functions.xml.in + data/planets.xml.in + data/prefixes.xml.in + data/units.xml.in + data/variables.xml.in + src/defs2doc.cc + EOF + + eautoreconf +} + +src_configure() { + # Needed for po-defs/Makefile + export CXX_FOR_BUILD="$(tc-getBUILD_CXX)" + export CXXCPP_FOR_BUILD="$(tc-getBUILD_CXX) -E" + + # bug #792027 + tc-export CC + + # bug #924939 + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + local myeconfargs=( + $(use_enable test tests) + $(use_enable test unittests) + $(use_with curl libcurl) + $(use_with gnuplot gnuplot-call) + $(use_enable !hardened insecure) + $(use_with icu) + $(use_with readline) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + # docs/reference/Makefile.am -> referencedir= + emake \ + DESTDIR="${D}" \ + referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ + install + + einstalldocs + + find "${ED}" -name '*.la' -delete || die +} |