2020-12-05 15:52:49 +02:00
|
|
|
# Description: The full-featured free digital painting studio
|
|
|
|
# URL: https://krita.org/
|
|
|
|
# Maintainer: Stamatin Cristina, dear dot volgk at gmail dot com
|
|
|
|
# Depends on: boost eigen3 exiv2 fftw gsl karchive kcompletion kcoreaddons kguiaddons ki18n kitemmodels kitemviews kwindowsystem libbsd openexr quazip5
|
|
|
|
|
|
|
|
name=krita
|
2021-09-20 12:47:03 +03:00
|
|
|
version=4.4.8
|
2021-01-20 11:44:37 +02:00
|
|
|
release=1
|
2021-06-11 17:38:57 +03:00
|
|
|
source=(https://download.kde.org/stable/$name/${version:0:5}/$name-$version.tar.gz \
|
|
|
|
fix-build-with-openexr3.patch \
|
2020-12-19 14:40:03 +02:00
|
|
|
fix-build-with-boost-1.75.patch)
|
2020-12-05 15:52:49 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
rm -r $name-$version/po/*
|
|
|
|
|
2021-06-11 17:38:57 +03:00
|
|
|
patch -p1 -d $name-$version -i $SRC/fix-build-with-openexr3.patch
|
2021-09-20 12:47:03 +03:00
|
|
|
patch -p1 -d $name-$version -i $SRC/fix-build-with-boost-1.75.patch
|
2020-12-19 14:40:03 +02:00
|
|
|
|
2020-12-05 15:52:49 +02:00
|
|
|
cmake -S$name-$version -Bbuild \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DBUILD_TESTING=OFF \
|
2021-06-11 17:38:57 +03:00
|
|
|
-DCMAKE_PREFIX_PATH=usr \
|
2020-12-05 15:52:49 +02:00
|
|
|
-DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
|
|
|
|
|
|
|
|
cmake --build build -v
|
|
|
|
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
|
|
|
|
rm $PKG/usr/share/color/icc/krita/README
|
|
|
|
rm $PKG/usr/share/krita/bundles/README
|
|
|
|
find $PKG -depth -type d -empty -delete
|
|
|
|
}
|