[arch-commits] Commit in libvdpau/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 15:41:44 UTC 2022
Date: Sunday, March 6, 2022 @ 15:41:43
Author: foutrelis
Revision: 439068
archrelease: copy trunk to staging-x86_64
Added:
libvdpau/repos/staging-x86_64/
libvdpau/repos/staging-x86_64/PKGBUILD
(from rev 439067, libvdpau/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: libvdpau/repos/staging-x86_64/PKGBUILD (from rev 439067, libvdpau/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-03-06 15:41:43 UTC (rev 439068)
@@ -0,0 +1,33 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libvdpau
+pkgver=1.4
+pkgrel=2
+pkgdesc="Nvidia VDPAU library"
+arch=(x86_64)
+url='https://www.freedesktop.org/wiki/Software/VDPAU/'
+depends=('libxext')
+license=('custom')
+_commit=c3d1a9dbafdfe6144ff474d0d523dc01b068750f # 1.4
+source=("git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=$_commit")
+makedepends=('xorgproto' 'git' 'meson')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm 644 $pkgname/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
More information about the arch-commits
mailing list