[arch-commits] Commit in libvdpau/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Mar 12 21:38:12 UTC 2022
Date: Saturday, March 12, 2022 @ 21:38:12
Author: arojas
Revision: 439483
Update to 1.5
Modified:
libvdpau/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-12 21:34:17 UTC (rev 439482)
+++ PKGBUILD 2022-03-12 21:38:12 UTC (rev 439483)
@@ -1,25 +1,20 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=libvdpau
-pkgver=1.4
-pkgrel=2
+pkgver=1.5
+pkgrel=1
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')
+source=(https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+makedepends=('xorgproto' 'meson')
+sha256sums=('66490802f30426d30ff9e8af35263bbbbaa23b52d0a2d797d06959c3d19638fd')
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
build() {
- arch-meson $pkgname build
+ arch-meson $pkgname-$pkgver build
ninja -C build
}
@@ -29,5 +24,5 @@
package() {
DESTDIR="${pkgdir}" ninja -C build install
- install -Dm 644 $pkgname/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm 644 $pkgname-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list