diff options
author | Nazar Mishturak | 2022-05-15 00:08:26 +0300 |
---|---|---|
committer | Nazar Mishturak | 2022-05-15 00:08:26 +0300 |
commit | 8c1157c4d448ffac717acf649e7489f4662aefdd (patch) | |
tree | 853599f668f4e0c410b3e549db66588d4de3aa84 /PKGBUILD | |
parent | c5819d790428ef7cf28b6dfe8c4e3746505dc4cd (diff) | |
download | aur-libva-v4l2-request-git.tar.gz |
Fix conflicts/provides, add some patches
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,21 +1,33 @@ # Maintainer: Nazar Mishturak <nazarmx@gmail.com> pkgname=libva-v4l2-request-git -pkgver=2019.03.r7.g7f359be +pkgver=2019.03.r9.ga3c2476 pkgrel=1 pkgdesc="LibVA implementation for the Linux Video4Linux2 Request API" arch=(x86_64 i686 arm armv6h armv7h aarch64) url="https://github.com/bootlin/libva-v4l2-request" license=('LGPL2.1' 'MIT') depends=('libva>=2.1.0' 'libdrm>=2.4.52') -makedepends=(meson) -source=($pkgname::git+https://github.com/bootlin/libva-v4l2-request.git) -sha256sums=('SKIP') +provides=(libva-v4l2-request v4l2_request_drv_video.so) +conflicts=(libva-v4l2-request) +makedepends=(git patch meson) +source=("$pkgname::git+https://github.com/bootlin/libva-v4l2-request.git" + 'https://github.com/bootlin/libva-v4l2-request/pull/38.patch' + '0002-Discard-Sunxi-tiled-NV12-YUV-if-non-__arm__.patch') +sha256sums=('SKIP' + '6dd6cd65604bafe542a15104683674660cd96311ab677cf78372f72e1379d5a0' + '20aa3fce9b058b7bc5e9d013df5e72b38171c3f203e1e3cc3fb841f32bde2112') pkgver() { cd "$pkgname" git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "$pkgname" + patch -p1 -i "$srcdir/38.patch" + patch -p1 -i "$srcdir/0002-Discard-Sunxi-tiled-NV12-YUV-if-non-__arm__.patch" +} + build() { meson --prefix /usr --buildtype=plain $pkgname build ninja -C build |