mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Contribution from Arch:
|
|
# Maintainer: Antonio Rojas <arojas@archlinux,org>
|
|
|
|
pkgname=krita
|
|
pkgver=3.1.2.1
|
|
pkgrel=1
|
|
pkgdesc="Edit and paint images"
|
|
arch=('x86_64')
|
|
url="http://krita.org"
|
|
license=('LGPL')
|
|
depends=('kio' 'kitemmodels' 'gsl' 'libraw' 'opencolorio' 'exiv2' 'openexr' 'openjpeg' 'fftw' 'curl' 'boost-libs'
|
|
'hicolor-icon-theme' 'ffmpeg' 'qt5-multimedia')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'eigen3' 'vc' 'poppler-qt5')
|
|
optdepends=('poppler-qt5: PDF filter')
|
|
conflicts=('calligra-krita')
|
|
provides=('calligra-krita')
|
|
replaces=('calligra-krita')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
|
|
install=$pkgname.install
|
|
sha1sums=('036dd861b46bf222ea046b3204ea2e465ef71bb7')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
mkdir -p build/
|
|
cd build/
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|