# Maintainer: Antonio Rojas # ALARM: Kevin Mihelich # - remove makedepend on vc pkgname=krita _pkgver=4.4.0 pkgver=${_pkgver/-/} pkgrel=5 pkgdesc="Edit and paint images" arch=(x86_64) url="https://krita.org" license=(GPL3) depends=(kitemviews kitemmodels ki18n kcompletion kguiaddons kcrash qt5-svg qt5-multimedia quazip gsl libraw exiv2 openexr fftw boost-libs giflib openjpeg2 hicolor-icon-theme) makedepends=(extra-cmake-modules kdoctools boost eigen poppler-qt5 opencolorio python-pyqt5 libheif qt5-tools sip5 seexpr-krita) optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations' 'opencolorio: for the LUT docker' "krita-plugin-gmic: G'MIC plugin" 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter' 'seexpr-krita: SeExpr generator layer') conflicts=(calligra-krita krita-l10n) replaces=(calligra-krita krita-l10n) source=("https://download.kde.org/stable/krita/$_pkgver/$pkgname-$_pkgver.tar.gz"{,.sig}) sha256sums=('fc5f8376e4712c26178688284aeaf2fa1d48473535ed5b214297178a1fe9278f' 'SKIP') validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD' # Boudewijn Rempt 'E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F') # Dmitry Kazakov (main key) build() { cmake -B build -S $pkgname-$_pkgver \ -DBUILD_TESTING=OFF \ -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }