extra/calligra to 4.0.0-2

This commit is contained in:
Kevin Mihelich 2024-08-29 23:06:16 +00:00
parent d1966d1c5e
commit 877160e387
3 changed files with 23 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = calligra
pkgdesc = A set of applications for productivity and creative usage
pkgver = 4.0.0
pkgrel = 1
pkgrel = 2
url = https://www.calligra-suite.org/
arch = x86_64
license = GPL-2.0-only
@ -66,9 +66,11 @@ pkgbase = calligra
source = https://download.kde.org/stable/calligra/calligra-4.0.0.tar.xz
source = https://download.kde.org/stable/calligra/calligra-4.0.0.tar.xz.sig
source = dependencies.patch
source = docs.patch
validpgpkeys = 39FFA93CAE9C6AFC212AD00202325448204E452A
sha256sums = e97cb1dc0720074d37d8ec11662f2628384595311c3dac6b29477d6634144119
sha256sums = SKIP
sha256sums = b14146c4e9574aed8d0266d6cb943b82c69fe252409b7e9d96c2e585333ecd03
sha256sums = e6c504adbe884be190c3016f75ec3897c7364d7ca82a695614b34a2a56288d90
pkgname = calligra

View file

@ -9,7 +9,7 @@
pkgname=calligra
pkgdesc='A set of applications for productivity and creative usage'
pkgver=4.0.0
pkgrel=1
pkgrel=2
arch=(x86_64)
url='https://www.calligra-suite.org/'
license=(GPL-2.0-only)
@ -71,14 +71,17 @@ optdepends=('libetonyek: Apple Keynote import filter'
'pstoedit: EPS to SVG filter'
'qt6-webengine: Braindump web shape')
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
dependencies.patch)
dependencies.patch
docs.patch)
sha256sums=('e97cb1dc0720074d37d8ec11662f2628384595311c3dac6b29477d6634144119'
'SKIP'
'b14146c4e9574aed8d0266d6cb943b82c69fe252409b7e9d96c2e585333ecd03')
'b14146c4e9574aed8d0266d6cb943b82c69fe252409b7e9d96c2e585333ecd03'
'e6c504adbe884be190c3016f75ec3897c7364d7ca82a695614b34a2a56288d90')
validpgpkeys=(39FFA93CAE9C6AFC212AD00202325448204E452A) # Carl Schwan <carl@carlschwan.eu>
prepare() {
patch -d $pkgname-$pkgver -p1 < dependencies.patch
patch -d $pkgname-$pkgver -p1 < docs.patch
}
build() {

14
extra/calligra/docs.patch Normal file
View file

@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66f657dc720..06c8816530d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1016,8 +1016,7 @@ endif(BUILD_TESTING)
ki18n_install(po)
if(KF6DocTools_FOUND)
- #kdoctools_install(po)
- # Disable for now, since it is failing
+ kdoctools_install(po)
endif()
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)