2016-06-01 01:01:16 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
# Contributor: Ronald van Haren <ronald.archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2017-01-03 19:35:47 +00:00
|
|
|
# - remove makedepend on vc
|
2016-06-01 01:01:16 +00:00
|
|
|
|
2017-01-03 19:35:47 +00:00
|
|
|
pkgname=calligra
|
2021-07-20 19:02:28 +00:00
|
|
|
pkgdesc='A set of applications for productivity and creative usage'
|
2024-08-27 18:49:59 +00:00
|
|
|
pkgver=4.0.0
|
2024-08-29 23:06:16 +00:00
|
|
|
pkgrel=2
|
2017-12-17 14:33:05 +00:00
|
|
|
arch=(x86_64)
|
2017-09-22 23:02:33 +00:00
|
|
|
url='https://www.calligra-suite.org/'
|
2024-08-27 18:49:59 +00:00
|
|
|
license=(GPL-2.0-only)
|
2024-02-22 22:43:12 +00:00
|
|
|
depends=(cauchy
|
2024-08-27 18:49:59 +00:00
|
|
|
fontconfig
|
|
|
|
freetype2
|
2024-02-22 22:43:12 +00:00
|
|
|
gcc-libs
|
|
|
|
glibc
|
|
|
|
gsl
|
|
|
|
imath
|
2024-08-27 18:49:59 +00:00
|
|
|
karchive
|
|
|
|
kcolorscheme
|
|
|
|
kcompletion
|
|
|
|
kconfigwidgets
|
|
|
|
kcoreaddons
|
|
|
|
kdbusaddons
|
|
|
|
kdiagram
|
|
|
|
kcmutils
|
|
|
|
kconfig
|
|
|
|
kcrash
|
|
|
|
kguiaddons
|
|
|
|
ki18n
|
|
|
|
kiconthemes
|
|
|
|
kio
|
|
|
|
kitemviews
|
|
|
|
knotifications
|
|
|
|
knotifyconfig
|
|
|
|
kservice
|
|
|
|
ktextwidgets
|
|
|
|
kwidgetsaddons
|
|
|
|
kwindowsystem
|
|
|
|
kxmlgui
|
2024-02-22 22:43:12 +00:00
|
|
|
libodfgen
|
2024-08-27 18:49:59 +00:00
|
|
|
librevenge
|
|
|
|
openssl
|
|
|
|
phonon-qt6
|
|
|
|
qt6-base
|
|
|
|
qt6-declarative
|
|
|
|
qt6-svg
|
|
|
|
qtkeychain-qt6
|
|
|
|
sonnet
|
|
|
|
zlib)
|
2024-02-22 22:43:12 +00:00
|
|
|
makedepends=(boost
|
|
|
|
eigen
|
|
|
|
extra-cmake-modules
|
2024-08-27 18:49:59 +00:00
|
|
|
kdoctools
|
2024-02-22 22:43:12 +00:00
|
|
|
libetonyek
|
|
|
|
libvisio
|
|
|
|
libwpg
|
|
|
|
libwps
|
2024-08-27 18:49:59 +00:00
|
|
|
okular
|
|
|
|
pstoedit
|
|
|
|
qt6-webengine)
|
|
|
|
optdepends=('libetonyek: Apple Keynote import filter'
|
2024-02-22 22:43:12 +00:00
|
|
|
'libvisio: Microsoft Visio import filter'
|
|
|
|
'libwpg: Corel WordPerfect Graphics image importer'
|
|
|
|
'libwps: Microsoft Works file word processor format import'
|
|
|
|
'poppler: PDF to SVG filter'
|
|
|
|
'pstoedit: EPS to SVG filter'
|
2024-08-27 18:49:59 +00:00
|
|
|
'qt6-webengine: Braindump web shape')
|
|
|
|
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
2024-08-29 23:06:16 +00:00
|
|
|
dependencies.patch
|
|
|
|
docs.patch)
|
2024-08-27 18:49:59 +00:00
|
|
|
sha256sums=('e97cb1dc0720074d37d8ec11662f2628384595311c3dac6b29477d6634144119'
|
2021-04-28 14:07:35 +00:00
|
|
|
'SKIP'
|
2024-08-29 23:06:16 +00:00
|
|
|
'b14146c4e9574aed8d0266d6cb943b82c69fe252409b7e9d96c2e585333ecd03'
|
|
|
|
'e6c504adbe884be190c3016f75ec3897c7364d7ca82a695614b34a2a56288d90')
|
2024-08-27 18:49:59 +00:00
|
|
|
validpgpkeys=(39FFA93CAE9C6AFC212AD00202325448204E452A) # Carl Schwan <carl@carlschwan.eu>
|
2016-06-01 01:01:16 +00:00
|
|
|
|
|
|
|
prepare() {
|
2024-08-27 18:49:59 +00:00
|
|
|
patch -d $pkgname-$pkgver -p1 < dependencies.patch
|
2024-08-29 23:06:16 +00:00
|
|
|
patch -d $pkgname-$pkgver -p1 < docs.patch
|
2016-06-01 01:01:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2021-04-28 14:07:35 +00:00
|
|
|
cmake -B build -S $pkgname-$pkgver \
|
2024-08-27 18:49:59 +00:00
|
|
|
-DRELEASE_BUILD=ON \
|
|
|
|
-DPRODUCTSET=DESKTOP \
|
2017-01-03 19:35:47 +00:00
|
|
|
-DBUILD_TESTING=OFF
|
2021-04-28 14:07:35 +00:00
|
|
|
cmake --build build
|
2016-06-01 01:01:16 +00:00
|
|
|
}
|
|
|
|
|
2017-01-03 19:35:47 +00:00
|
|
|
package() {
|
2021-04-28 14:07:35 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2016-06-01 01:01:16 +00:00
|
|
|
}
|