diff options
Diffstat (limited to 'user/krita/APKBUILD')
-rw-r--r-- | user/krita/APKBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/user/krita/APKBUILD b/user/krita/APKBUILD index ac809584d..bbe0c9797 100644 --- a/user/krita/APKBUILD +++ b/user/krita/APKBUILD @@ -1,8 +1,8 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=krita -pkgver=4.1.8 -pkgrel=0 +pkgver=4.2.1 +pkgrel=1 pkgdesc="Digital painting program by KDE" url="https://krita.org/" arch="all" @@ -15,18 +15,11 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kconfig-dev qt5-qtsvg-dev qt5-qtmultimedia-dev kcrash-dev libice-dev libx11-dev libxcb-dev fftw-dev libpng-dev boost-dev tiff-dev libjpeg-turbo-dev kio-dev eigen-dev exiv2-dev lcms2-dev poppler-qt5-dev gsl-dev libxi-dev - libraw-dev" + libraw-dev quazip-dev" subpackages="$pkgname-lang" source="https://download.kde.org/stable/krita/$pkgver/krita-$pkgver.tar.gz" -prepare() { - cd "$builddir" - default_prepare - mkdir -p build -} - build() { - cd "$builddir"/build if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -38,9 +31,10 @@ build() { -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3 \ + -DBUILD_TESTING=False \ ${CMAKE_CROSSOPTS} \ - .. - make + -Bbuild + make -C build } check() { @@ -49,8 +43,7 @@ check() { } package() { - cd "$builddir"/build - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" -C build install } -sha512sums="d027444415bffbd6abd29ca69598fdb1e6a652fd4f1944092ff12016a57ff2ee3bab209c93e065905ec9bfea395e50f833915bb924b97a2c119d101057cba6c9 krita-4.1.8.tar.gz" +sha512sums="879d1efe2e3f888a5f37a843ae739f6441d142f0a2831f15b11e7a86e1c4df99fee0bda9accc7a41d374f3df16cff60ac17e490b4f656db0b480fd32a5bca3f1 krita-4.2.1.tar.gz" |