upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-addon-imagedecoder-heif / trunk / PKGBUILD
blobecca5c9d62920dc91aff0a268563905ab3444a0a
1 # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
3 pkgname=kodi-addon-imagedecoder-heif
4 pkgver=20.1.0
5 _codename=Nexus
6 pkgrel=5
7 pkgdesc="Kodi heif/heic imagedecoder addon"
8 arch=('x86_64')
9 url="https://github.com/xbmc/imagedecoder.heif"
10 license=('GPL2')
11 groups=('kodi-addons' 'kodi-addons-imagedecoder')
12 makedepends=('cmake' 'kodi-dev' 'libheif' 'tinyxml2')
13 options=(!lto)
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/imagedecoder.heif/archive/refs/tags/$pkgver-$_codename.tar.gz")
15 sha512sums=('9e481b52aeb1373164a4f60059730620b812ef944dd56c500a603b4dd0cb2974cb72eb0968277c678287dd8b946f83ee37b8c54bc84172f1451b0c04ca6984f3')
17 build() {
18     cd "imagedecoder.heif-$pkgver-$_codename"
19     cmake \
20         -DCMAKE_INSTALL_PREFIX=/usr \
21         -DCMAKE_BUILD_TYPE=Release \
22         -DBUILD_SHARED_LIBS=1 \
23         -DUSE_LTO=1 \
24         .
25     make
28 package() {
29     depends=('kodi' 'libheif' 'tinyxml2')
30     cd "imagedecoder.heif-$pkgver-$_codename"
31     make DESTDIR="$pkgdir/" install