diff options
author | Daniel Bermond | 2018-09-02 15:45:19 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-09-02 15:45:19 +0000 |
commit | c06132c73b2091bcea090d32b14ca676b535ea1b (patch) | |
tree | 603d6fac1d27a5fe7a2724d8a3bc2fba1d5fa308 | |
parent | 055443174cf1076fcffac031295f1cb7608b50ef (diff) | |
download | aur-c06132c73b2091bcea090d32b14ca676b535ea1b.tar.gz |
Switch to meson build system
This will follow the approach used in similar the packages libva
and libva-intel-driver.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 11 insertions, 12 deletions
@@ -1,12 +1,13 @@ pkgbase = libva-utils-git pkgdesc = Intel VA-API Media Applications and Scripts for libva (git version) - pkgver = 2.0.0.r22.g7b4827e - pkgrel = 2 + pkgver = 2.2.0.pre1.r2.g9a10ad6 + pkgrel = 1 url = https://github.com/01org/libva-utils/ arch = i686 arch = x86_64 license = custom makedepends = git + makedepends = meson makedepends = mesa depends = libva provides = libva-utils @@ -1,14 +1,14 @@ # Maintainer: Daniel Bermond < yahoo-com: danielbermond > pkgname=libva-utils-git -pkgver=2.0.0.r22.g7b4827e -pkgrel=2 +pkgver=2.2.0.pre1.r2.g9a10ad6 +pkgrel=1 pkgdesc='Intel VA-API Media Applications and Scripts for libva (git version)' arch=('i686' 'x86_64') url='https://github.com/01org/libva-utils/' license=('custom') depends=('libva') -makedepends=('git' 'mesa') +makedepends=('git' 'meson' 'mesa') provides=('libva-utils') conflicts=('libva-utils') source=("$pkgname"::'git+https://github.com/intel/libva-utils.git') @@ -24,18 +24,16 @@ pkgver() { build() { cd "$pkgname" - ./autogen.sh \ - --prefix='/usr' \ - --sysconfdir='/etc' \ - --localstatedir='/var' - - make + arch-meson . build + ninja -C build } package() { cd "$pkgname" - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C build install + + mv "${pkgdir}/usr/bin/h264enc" "${pkgdir}/usr/bin/h264enc-libva-utils" install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |