summaryrefslogtreecommitdiff
path: root/app-office/calligra/calligra-9999.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-03-29 14:58:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-03-29 15:33:44 +0200
commita62b5b9c5510874dfd1198f9e17d2b7169155d51 (patch)
tree2250489c7fa974e9a0deb53768a8973e169e5849 /app-office/calligra/calligra-9999.ebuild
parent4452c53936e4eb6df13f7b28961b4b4857420c85 (diff)
downloadkde-a62b5b9c5510874dfd1198f9e17d2b7169155d51.tar.gz
kde-a62b5b9c5510874dfd1198f9e17d2b7169155d51.tar.bz2
kde-a62b5b9c5510874dfd1198f9e17d2b7169155d51.zip
app-office/calligra: Switch to patchset, drop KF5Kross dependency
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office/calligra/calligra-9999.ebuild')
-rw-r--r--app-office/calligra/calligra-9999.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild
index 8d5898f7f5d..b36dd7f1d27 100644
--- a/app-office/calligra/calligra-9999.ebuild
+++ b/app-office/calligra/calligra-9999.ebuild
@@ -18,6 +18,9 @@ if [[ ${KDE_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~ppc64 ~x86"
fi
+PATCHSET="${PN}-3.2.1-patchset-1"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
+
CAL_FTS=( karbon sheets stage words )
LICENSE="GPL-2"
@@ -62,7 +65,6 @@ COMMON_DEPEND="
>=kde-frameworks/knotifications-${KFMIN}:5
>=kde-frameworks/knotifyconfig-${KFMIN}:5
>=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/kross-${KFMIN}:5
>=kde-frameworks/ktextwidgets-${KFMIN}:5
>=kde-frameworks/kwallet-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
@@ -114,7 +116,10 @@ RDEPEND="${COMMON_DEPEND}
"
BDEPEND="sys-devel/gettext"
-PATCHES=( "${FILESDIR}"/${PN}-3.1.89-no-arch-detection.patch )
+PATCHES=(
+ "${WORKDIR}"/${PATCHSET}/${PN}-3.1.89-no-arch-detection.patch # downstream
+ "${WORKDIR}"/${PATCHSET}/${PN}-3.2.1-kross-optional.patch # bug 903532
+)
pkg_pretend() {
check-reqs_pkg_pretend
@@ -152,6 +157,7 @@ src_configure() {
-DWITH_Imath=ON # w/ LCMS: 16 bit floating point Grayscale colorspace
-DCMAKE_DISABLE_FIND_PACKAGE_Cauchy=ON
-DCMAKE_DISABLE_FIND_PACKAGE_KF5CalendarCore=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Kross=ON
-DPRODUCTSET="${myproducts[*]}"
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package charts KChart)