3.89.1-1
[arch-packages.git] / gwenview / trunk / PKGBUILD
blob7b343c6e31eb4e16dfb4e3f9c96e616766f57743
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=gwenview
6 pkgver=23.04.0
7 pkgrel=1
8 pkgdesc='A fast and easy to use image viewer'
9 url='https://apps.kde.org/gwenview/'
10 arch=(x86_64)
11 license=(GPL LGPL FDL)
12 groups=(kde-applications kde-graphics)
13 depends=(kactivities baloo libkdcraw kparts kitemmodels cfitsio phonon-qt5 purpose perl kimageannotator)
14 optdepends=('qt5-imageformats: support for tiff, webp, and more image formats'
15             'kimageformats: support for dds, xcf, exr, psd, and more image formats'
16             'kamera: import pictures from gphoto2 cameras')
17 makedepends=(extra-cmake-modules kdoctools wayland-protocols)
18 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
19 sha256sums=('b63d81b4471bd37526b0da8f283373df3f60c9a5ea7c9cc40d3baa599c76a50c'
20             'SKIP')
21 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
22               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
23               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
25 build() {
26   cmake -B build -S $pkgname-$pkgver \
27     -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo" \
28     -DBUILD_TESTING=OFF
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build