blob: 0e0aadf0b27a234911f33bec6da11a7f2f862392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Melanie Scheirer <mel@nie.rs>
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
_pkgname=kimageformats
pkgname=$_pkgname-git
pkgver=r424.43543f9
pkgrel=1
pkgdesc='Image format plugins for Qt5'
arch=(i686 x86_64)
url='https://community.kde.org/Frameworks'
license=(LGPL)
depends=(qt5-base openexr)
makedepends=(extra-cmake-modules git karchive)
optdepends=('karchive: plugin for Krita and OpenRaster images')
groups=(kf5)
conflicts=("$_pkgname")
provides=("$_pkgname")
source=("git+https://github.com/KDE/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd $srcdir/$_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S $_pkgname \
-DKIMAGEFORMATS_HEIF=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|