From 4be6deadf3e814bc37585cde9dc08faad2561453 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Sep 2023 17:06:27 +0100 Subject: gentoo auto-resync : 18:09:2023 - 17:06:27 --- sci-libs/libqalculate/Manifest | 2 + sci-libs/libqalculate/libqalculate-4.8.0.ebuild | 79 +++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 sci-libs/libqalculate/libqalculate-4.8.0.ebuild (limited to 'sci-libs/libqalculate') diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 630bd134fa63..f6f2f3e16805 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -2,7 +2,9 @@ AUX libqalculate-4.5.0-tests.patch 2864 BLAKE2B a48001da7ac2def7d7f82d5878d078f6 DIST libqalculate-4.5.0.tar.gz 2603599 BLAKE2B 142790cf89e97c601b08d553b1f9cd6c1bf184a43c2614a07fa91560a875ea3e3124cf29d7652640b1f2fb4fada1519d48e4cb0ebcfb844c26369d3031aee230 SHA512 a123eaa725c6c6badce0eceecd6ef7e37ca281e7de18085d6a28aa6043bb3f1069f9ebba82b29989c9958455aa093ee183fd8013a86b39bd34e56454bdb35770 DIST libqalculate-4.6.1.tar.gz 2610769 BLAKE2B 02ad7371c537bf40d98bb1b32877f0a39394b0723c45e53b00381df2d0d326b79ab39c66238a8e3a89f10aa093f6c12bcc5ae0457f6d65503fb3712a78bb0dfc SHA512 7f03e0f8cc87918b8ec962ce8c85840b644aad02cdd53037d41602198cdcb6567099d175771ff3752fc99fccbc4b180527da5fef68b0059bd1b259c34c57620e DIST libqalculate-4.7.0.tar.gz 2618347 BLAKE2B 1ec01e124d9c96a2651f3e2a82a4eb8ae771b2701d3fd2be0894666e37eccf1e15e779ccfb96ff866c3e3d5a625ca8884961b505f30d34310be1efe69f0ba1d1 SHA512 d72754f00e26daa0afc1357cc30571b5dae28d7f5f79bcdba2f159644216288df20e5a518457fb244fd3057935f7d800a3e95bdf0f04929353841cc8371be138 +DIST libqalculate-4.8.0.tar.gz 2625669 BLAKE2B 957adcc6b5dabee4d9d6a593a4d5c894e6db05856875a241b1090bada49a0c802c94076a347df6b9b60d088edcba6f5e50ffa0d4a4517ead6da9cebc2f02c592 SHA512 db41bf883520d72f5d7c80b78492aba5367e74a6c5c452a420d6ecc79ae8f1dfa208c13bfff96ea699d31189cc49c264cf1b543946e4ec39b9df97a386c215ea EBUILD libqalculate-4.5.0.ebuild 1868 BLAKE2B be2f2f91a02aef7173c8bee825b3bc3f72c182d4226e08112d38af02a60cc34aa33bb5fad5123dec7216cf0f186e743df778aeea1f20936d9c210a7bf9179ada SHA512 337ce33d7e7be2d5a7fb01deeaf30a1f2568cb32e5c4eb17927c1d3be031b94de91c2180def7bd431063dc4fefab601234c7e27346e013941d2a871b5cd0cb1c EBUILD libqalculate-4.6.1.ebuild 1823 BLAKE2B 5b24dd124635d4e34d01fa0ba24ba1ebe44561205ed96852e0218cb4b5451795a4720338a84dcdb21e94988ad294eaf9e41f5288b7d5df7a1b1b6d3ce898b8f3 SHA512 4b057ad5c605fd94d56b849f1875bfd020137969789bd0ac6009c29facc8e33c1967f15ae6ace8ee2afdf05cef892f446a6c8d0cc6e76d1a80f04552afd7ddc1 EBUILD libqalculate-4.7.0.ebuild 1828 BLAKE2B 7bae5fd9d112e633c90eaf935eed82611f9f63fef7cd9aceae641e70869b665b74bdfca475ebb32259fb6eeb0caa0982eac0ef92ad686f0a9ae7e6f4e1f9897c SHA512 4ba41a2696cc1696f48d4dc7ff712438b3799700f19126f444f24a33c7d8df0c01ed7ed1adf9aceaafd8f36d669287029789416f58cfe41f510f60d5f88e84fb +EBUILD libqalculate-4.8.0.ebuild 1860 BLAKE2B 0d60ec7de319e8cb8ba6ce250df12bc33cb47d5a4d356aa7fdf5699dcda0ee66cd86627063fa64d1e42451f638611e1f32427cb5eeb696d95029e3041b4405f0 SHA512 9608777db978cf50e2d302e95c544166163c1330747efa23c1b054f1f553aa3a08539d0eb5670662fc5fd7f068fdbe53100d72443ee66f2af587fb93e4d92575 MISC metadata.xml 538 BLAKE2B 70ee5d15c987169990d2065626a2bb97743bb5373ae4c80ce6d1b90acf1ace0129840f241543ceda9f42d5f19494187afb2fc3e4a12fba72e8cf1fffebdfde00 SHA512 7ae4985f3ae5db901c05d9512f34bb1bd65f3eb1f07abb746971ec086051b0560f5629c2fc0adf6ea0b6222a83acbb171516e5d71c8d406e65893e37f26fed2a diff --git a/sci-libs/libqalculate/libqalculate-4.8.0.ebuild b/sci-libs/libqalculate/libqalculate-4.8.0.ebuild new file mode 100644 index 000000000000..886c0f5aef07 --- /dev/null +++ b/sci-libs/libqalculate/libqalculate-4.8.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 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 toolchain-funcs + +DESCRIPTION="A modern multi-purpose calculator library" +HOMEPAGE="https://qalculate.github.io/" +SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +# SONAME changes pretty often on bumps. Check! +SLOT="0/22" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 +} + +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 + + econf \ + $(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) +} + +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 +} -- cgit v1.2.3