blob: b30d60118924d16dd7a16936a24c620060a94b9e (
plain)
1 # Description: The full-featured free digital painting studio
2 # URL: https://krita.org/
3 # Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com
4 # Depends on: boost eigen3 exiv2 fftw gsl karchive kcompletion kcoreaddons kguiaddons ki18n kitemmodels kitemviews kwindowsystem libbsd openexr quazip5
5
6 name=krita
7 version=4.4.5
8 release=1
9 source=(https://download.kde.org/stable/$name/${version:0:5}/$name-$version.tar.gz \
10 fix-build-with-openexr3.patch \
11 fix-build-with-boost-1.75.patch)
12
13 build() {
14 rm -r $name-$version/po/*
15
16 patch -p1 -d $name-$version -i $SRC/fix-build-with-boost-1.75.patch
17 patch -p1 -d $name-$version -i $SRC/fix-build-with-openexr3.patch
18
19 cmake -S$name-$version -Bbuild \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_TESTING=OFF \
22 -DCMAKE_PREFIX_PATH=usr \
23 -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
24
25 cmake --build build -v
26
27 DESTDIR=$PKG cmake --install build
28
29 rm $PKG/usr/share/color/icc/krita/README
30 rm $PKG/usr/share/krita/bundles/README
31 find $PKG -depth -type d -empty -delete
32 }
|