# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: James An <james@jamesan.ca>
# Contributor: Daniel Nagy <danielnagy at gmx de>
pkgname=libde265
pkgver=1.0.15
pkgrel=1
pkgdesc='Open h.265 video codec implementation'
arch=(armv7h 'aarch64')
url='https://github.com/strukturag/libde265'
license=(LGPL3)
depends=(gcc-libs
glibc)
#makedepends=(ffmpeg
# qt5-base
# sdl)
#optdepends=('ffmpeg: for sherlock265'
# 'qt5-base: for sherlock265'
# 'sdl: dec265 YUV overlay output')
source=(https://github.com/strukturag/libde265/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-static=no
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
# Remove useless tests binary
rm "$pkgdir"/usr/bin/tests
}