Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libalkimia/
Date: Sun, 24 Feb 2019 18:01:50
Message-Id: 1551031278.aef4348902c525da48c8aa2a07271d0d8d7c9b97.asturm@gentoo
1 commit: aef4348902c525da48c8aa2a07271d0d8d7c9b97
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 16:59:38 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 18:01:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef43489
7
8 app-office/libalkimia: Add USE gmp, EAPI-7 bump
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-office/libalkimia/libalkimia-7.0.2-r1.ebuild | 38 ++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild b/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild
17 new file mode 100644
18 index 00000000000..51c04e31c98
19 --- /dev/null
20 +++ b/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +KDE_TEST="forceoptional"
28 +KMNAME="alkimia"
29 +inherit kde5
30 +
31 +if [[ ${KDE_BUILD_TYPE} = release ]]; then
32 + SRC_URI="mirror://kde/stable/${KMNAME}/${PV}/${KMNAME}-${PV}.tar.xz"
33 + KEYWORDS="~amd64 ~x86"
34 +fi
35 +
36 +DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
37 +HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323"
38 +LICENSE="LGPL-2.1"
39 +SLOT="0/7"
40 +IUSE="doc gmp"
41 +
42 +BDEPEND="
43 + virtual/pkgconfig
44 + doc? ( app-doc/doxygen )
45 +"
46 +DEPEND="
47 + $(add_qt_dep qtdbus)
48 + !gmp? ( sci-libs/mpir:= )
49 + gmp? ( dev-libs/gmp:0=[cxx] )
50 +"
51 +RDEPEND="${DEPEND}"
52 +
53 +src_configure() {
54 + local mycmakeargs=(
55 + $(cmake-utils_use_find_package doc Doxygen)
56 + $(cmake-utils_use_find_package !gmp MPIR)
57 + )
58 + kde5_src_configure
59 +}