summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-14 17:04:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-14 17:05:26 +0200
commita2110efea7cd990029726cbb3ca293400fa0bcab (patch)
tree96c50a707998d9800c58f3f45c854098c5cf6e9c /app-office/libalkimia
parentsci-physics/geant: Fix building on musl, avoid execinfo.h (diff)
downloadgentoo-a2110efea7cd990029726cbb3ca293400fa0bcab.tar.gz
gentoo-a2110efea7cd990029726cbb3ca293400fa0bcab.tar.bz2
gentoo-a2110efea7cd990029726cbb3ca293400fa0bcab.zip
app-office/libalkimia: Re-add accidentally removed 8.1.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office/libalkimia')
-rw-r--r--app-office/libalkimia/libalkimia-8.1.1.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/app-office/libalkimia/libalkimia-8.1.1.ebuild b/app-office/libalkimia/libalkimia-8.1.1.ebuild
new file mode 100644
index 000000000000..0d5b5f054028
--- /dev/null
+++ b/app-office/libalkimia/libalkimia-8.1.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KDE_ORG_NAME="alkimia"
+KFMIN=5.82.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${PV}/${KDE_ORG_NAME}-${PV}.tar.xz"
+ KEYWORDS="amd64 x86"
+fi
+
+DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
+HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323
+https://community.kde.org/Alkimia"
+
+LICENSE="LGPL-2.1"
+SLOT="0/8"
+IUSE="doc gmp plasma webengine"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ !gmp? ( sci-libs/mpir:=[cxx] )
+ gmp? ( dev-libs/gmp:0=[cxx(+)] )
+ plasma? (
+ >=kde-frameworks/kpackage-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ )
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-8.1.0-cmake.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_FINANCEQUOTE=OFF
+ -DBUILD_TOOLS=ON
+ -DBUILD_WITH_WEBKIT=OFF
+ $(cmake_use_find_package doc Doxygen)
+ $(cmake_use_find_package !gmp MPIR)
+ -DBUILD_APPLETS=$(usex plasma)
+ -DBUILD_WITH_WEBENGINE=$(usex webengine)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # Depends on BUILD_WITH_WEBKIT, bug 736128
+ local myctestargs=(
+ -E "(alkonlinequotestest)"
+ )
+ ecm_src_test
+}