summaryrefslogtreecommitdiff
path: root/sci-libs/libqalculate
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libqalculate')
-rw-r--r--sci-libs/libqalculate/Manifest4
-rw-r--r--sci-libs/libqalculate/libqalculate-2.8.1.ebuild4
-rw-r--r--sci-libs/libqalculate/libqalculate-3.2.0-r1.ebuild64
3 files changed, 69 insertions, 3 deletions
diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest
index b40d9171ca67..b56119d60890 100644
--- a/sci-libs/libqalculate/Manifest
+++ b/sci-libs/libqalculate/Manifest
@@ -2,7 +2,9 @@ AUX libqalculate-0.9.9-readline.patch 424 BLAKE2B be67a73b0ee7c01c05911126130545
DIST libqalculate-0.9.9.tar.gz 1509180 BLAKE2B 3f309add80ddb6b21730eab25d37c2d8fee163a79768a09ec5e7e5d329aa11ed9dafbf77f4ce194a96c2ac6a3b55a9c0d16755d5e106123cc2a5f931f6872d91 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384
DIST libqalculate-2.2.0.tar.gz 1717207 BLAKE2B 020ca544683ff140ab5f8256a5a955c895a6ea09a581e9e75ab6c0a0657886c352a1ec2d34400057fe80004481d3198998613113ca40fb4feebfca010445dced SHA512 e6f3693e4dba2beffca300b673657b90037a6b7acc5bbd4e659863f4f5aec148d6d385fc3c666b16b2be713d0a8ad1b4d7fda557cef0e2be340ca2435f62aae7
DIST libqalculate-2.8.1.tar.gz 1961535 BLAKE2B 074d83a44cbc6cb5d8afe5121e4c34cec46f2f6fecf046f6b4e67c6ebc612030ccbd0f42c303cc675267374502ecb3e831c9bbfca0f13d339e31fb8933a99b7a SHA512 a258bf4f67db70263626ac77822afc75fd7a9e5af2feb1930314daff219865b28c43e82fef6ceae4f3f23957447d6eaebdc709e606d28457bca0f47eefb9274a
+DIST libqalculate-3.2.0.tar.gz 2035352 BLAKE2B 4ad9f1acaaa34693e3167514d16193b06af5a2d441946e636439cd9374c0061e0f20e72126a2cb020fed2e7c82e7144636a7eb545196bd6879af5a09320c3245 SHA512 6d0e1bbc1c9e4436208cd0ea855cc1d90b8a6d0525cd25bc9414db6e610e1e48aa84a9b552248926bd3c6f91db4997afb60658a5579502bac7194178e36fb857
EBUILD libqalculate-0.9.9.ebuild 1439 BLAKE2B 71859454b82d428a42e263bb949bc37334e1f299bc38b4564e8aca4d04775e2b4decaa588054823e7e593fc3f29a6726a00fe4f002915e9acd9a5da0c5104df7 SHA512 2cd59c02a4a5fd199d62037b204c571c093165dbd5be331bcf9050421fc4ec753994cd98cd724c3993d9de84681505d69618a7e342983a86757be0efd3d5a572
EBUILD libqalculate-2.2.0.ebuild 1349 BLAKE2B ea1df54be1d8970a19f229dcc268627ec760e586c3c9c5e9526c747d15d95b91cf3bb0fb90e56fda9191191a22ebd23728bb8921a6b608eae8fa5e7b149785ee SHA512 739d3946688533002637177352784a9884a08931ed9d70ec3012e76b3bfdb7d7831d54fc401e3e74ff4f73b1a015fc18c8cbbf8ee27913d5149c44094cdc16f8
-EBUILD libqalculate-2.8.1.ebuild 1441 BLAKE2B 0fe455d930d87346657de7f521078dadcb7ce0d53d72a79f78b6ad01760fe808720fe5994b509dc60f367afb688629f498659bbb9676439ffbf807314c366ffb SHA512 8aaa4c7ffeba2908dade8b752e01b8339400c03e648eb573211e30bb2c7714da926d4f33b74d1ff18e2a0170bcd7893540634698ac980030cc28a9d19fdfad66
+EBUILD libqalculate-2.8.1.ebuild 1437 BLAKE2B 26bfe7e92caec241c025f8d694a92a269cdae6a0bd8af00ec102f82639525c3350c322f898da012ef0cc19559cb7b1a100a1840873542346a2d99a1f33f37a2c SHA512 72fcd890e57366d42bf9ce0fcae362ba534ed2dfea0738092de0373d8daedba7c76a6126d2bc23363fe979b761c86fd71c095a35960c46f5277cb4a83842e6fc
+EBUILD libqalculate-3.2.0-r1.ebuild 1441 BLAKE2B 2bbeab865e61e3bf0a14e94dbeaff047ff1cd21337e82d0b201fc3a79aae2a98fc6f09ab95596d1058b13739d831da19fa4ca94b8aae9a38cd60f885efdd90b7 SHA512 dfb669c337ecf1c80f831b1fc7c63df442c3a2c3c8fa729967adf921000fbd8f42414bf5a04fb049df87ed3824df23f9c52d15c8ac6d82b7cc4ff33056c725a7
MISC metadata.xml 412 BLAKE2B 6cb8a434ec8e0eaa50982720079db60a5a2211c9d67852712351e9d6698edb1d70058f8f093ecf7b93fb7f853b1f1c138bc0871a6751975d35c24c622510dde5 SHA512 b6c55b741bda2a497dae278d47c6931611cbda132e08deb16a9c4efef59c7cb18bc464e7d242380b7afde2af4ab6f8e7f72b7db4ed3fd6b8f4cdc9c0359550ce
diff --git a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild b/sci-libs/libqalculate/libqalculate-2.8.1.ebuild
index a06b1b5b5e12..db6083f587df 100644
--- a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild
+++ b/sci-libs/libqalculate/libqalculate-2.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0/20"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="curl icu gnuplot readline static-libs"
COMMON_DEPEND="
diff --git a/sci-libs/libqalculate/libqalculate-3.2.0-r1.ebuild b/sci-libs/libqalculate/libqalculate-3.2.0-r1.ebuild
new file mode 100644
index 000000000000..059d1ce9b78a
--- /dev/null
+++ b/sci-libs/libqalculate/libqalculate-3.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+SLOT="0/22"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="curl icu gnuplot readline static-libs"
+
+COMMON_DEPEND="
+ dev-libs/gmp:0=
+ dev-libs/libxml2:2
+ dev-libs/mpfr:0=
+ virtual/libiconv
+ curl? ( net-misc/curl )
+ icu? ( dev-libs/icu:= )
+ readline? ( sys-libs/readline:0= )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ gnuplot? ( >=sci-visualization/gnuplot-3.7 )"
+
+src_prepare() {
+ default
+
+ cat >po/POTFILES.skip <<-EOF
+ # 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/units.xml.in
+ data/variables.xml.in
+ src/defs2doc.cc
+ EOF
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with curl libcurl) \
+ $(use_with icu) \
+ $(use_with readline)
+}
+
+src_install() {
+ # docs/reference/Makefile.am -> referencedir=
+ emake \
+ DESTDIR="${D}" \
+ referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO
+
+ find "${ED}" -name '*.la' -delete || die
+}