archrelease: copy trunk to extra-x86_64
[arch-packages.git] / krita / repos / kde-unstable-x86_64 / PKGBUILD
blob0dcb6135b3de9c407abdd15abee09a85e3e1ad8c
1 # Maintainer: Antonio Rojas <arojas@archlinux,org>
3 pkgname=krita
4 _pkgver=5.1.0-RC1
5 pkgver=5.1.0rc1
6 #pkgver=${_pkgver/-/}
7 pkgrel=1
8 pkgdesc='Edit and paint images'
9 arch=(x86_64)
10 url='https://krita.org'
11 license=(GPL3)
12 depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg qt5-multimedia quazip
13          gsl libraw exiv2 openexr fftw openjpeg2 opencolorio libwebp hicolor-icon-theme)
14 makedepends=(extra-cmake-modules kdoctools boost eigen poppler-qt5 python-pyqt5 libheif
15              qt5-tools sip kseexpr libmypaint libjxl xsimd)
16 optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations'
17             'python-pyqt5: for the Python plugins' 'libheif: HEIF filter' 'libjxl: JPEG-XL filter'
18             'kseexpr: SeExpr generator layer' 'kimageformats: PSD support' 'libmypaint: support for MyPaint brushes'
19             'krita-plugin-gmic: GMic plugin')
20 source=(https://download.kde.org/unstable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz{,.sig})
21 sha256sums=('21850623294ab58bb4c2298f866983a9a2d638cf07ad3f87e5abd37f3f3207da'
22             'SKIP')
23 validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD'  # Boudewijn Rempt <foundation@krita.org>
24               'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F'  # Dmitry Kazakov (main key) <dimula73@gmail.com>
25               '064182440C674D9F8D0F6F8B4DA79EDA231C852B') # Stichting Krita Foundation <foundation@krita.org>
26 options=(debug)
28 build() {
29   cmake -B build -S $pkgname-$_pkgver \
30     -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
31   cmake --build build
34 package() {
35   DESTDIR="$pkgdir" cmake --install build