forked from ports/contrib
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# 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
|
|
version=4.4.8
|
|
release=1
|
|
source=(https://download.kde.org/stable/$name/${version:0:5}/$name-$version.tar.gz \
|
|
fix-build-with-openexr3.patch \
|
|
fix-build-with-boost-1.75.patch)
|
|
|
|
build() {
|
|
rm -r $name-$version/po/*
|
|
|
|
patch -p1 -d $name-$version -i $SRC/fix-build-with-openexr3.patch
|
|
patch -p1 -d $name-$version -i $SRC/fix-build-with-boost-1.75.patch
|
|
|
|
cmake -S$name-$version -Bbuild \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_TESTING=OFF \
|
|
-DCMAKE_PREFIX_PATH=usr \
|
|
-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
|
|
}
|