diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-19 18:32:15 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-12 16:03:33 -0300 |
commit | 73a31f6d5e8db2b7746c1c7250f9ea208daceb1c (patch) | |
tree | e96bb4396d935e341b4a79e3b4ef631914fd758f /testing/krita | |
parent | 81189e08a0c497a44660eb479120917291a67776 (diff) | |
download | aports-73a31f6d5e8db2b7746c1c7250f9ea208daceb1c.tar.bz2 aports-73a31f6d5e8db2b7746c1c7250f9ea208daceb1c.tar.xz |
testing/krita: new aport
Diffstat (limited to 'testing/krita')
-rw-r--r-- | testing/krita/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/krita/APKBUILD b/testing/krita/APKBUILD new file mode 100644 index 0000000000..366bf2d168 --- /dev/null +++ b/testing/krita/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=krita +pkgver=4.2.6 +pkgrel=0 +arch="all" +url="https://krita.org/" +pkgdesc="Free digital painting application. Digital Painting, Creative Freedom!" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtmultimedia-dev qt5-qttools-dev kconfig-dev kwidgetsaddons-dev kcompletion-dev kcoreaddons-dev kguiaddons-dev ki18n-dev kitemmodels-dev kitemviews-dev kwindowsystem-dev karchive-dev kcrash-dev libxi-dev boost-dev libraw-dev fftw-dev eigen-dev exiv2-dev lcms2-dev quazip-dev gsl-dev zlib-dev openexr-dev tiff-dev libjpeg-turbo-dev giflib-dev libheif-dev python3-dev py3-qt5 poppler-qt5-dev xcb-util-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/krita/$pkgver/krita-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Breaks compilation on Musl https://bugs.kde.org/show_bug.cgi?id=412058 + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON \ + -DBUILD_TESTING=OFF + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} + +sha512sums="c6c6bb0b2d46b421c6edd38427f7a71636c78267413a4265a61123509ebac8f24d981ce5b5540f0813e26b89e655d44c2cc32395694161eb925f2789b0e8119e krita-4.2.6.tar.xz" |