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
|
2022-08-20 22:54:46 +02:00
|
|
|
version=5.1.0
|
2021-01-20 11:44:37 +02:00
|
|
|
release=1
|
2022-01-10 15:26:18 +02:00
|
|
|
source=(https://download.kde.org/stable/$name/${version:0:5}/$name-$version.tar.gz)
|
2020-12-05 15:52:49 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
rm -r $name-$version/po/*
|
|
|
|
|
2022-08-20 22:54:46 +02:00
|
|
|
cmake -S$name-$version -Bbuild \
|
2020-12-05 15:52:49 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2022-08-20 22:54:46 +02:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2020-12-05 15:52:49 +02:00
|
|
|
-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
|
|
|
|
}
|