[arch-commits] Commit in libvdpau/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 28 19:40:37 UTC 2019
Date: Wednesday, August 28, 2019 @ 19:40:36
Author: alucryd
Revision: 361343
archrelease: copy trunk to extra-x86_64
Added:
libvdpau/repos/extra-x86_64/PKGBUILD
(from rev 361342, libvdpau/trunk/PKGBUILD)
Deleted:
libvdpau/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 33 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-28 19:40:30 UTC (rev 361342)
+++ PKGBUILD 2019-08-28 19:40:36 UTC (rev 361343)
@@ -1,44 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libvdpau
-pkgver=1.2
-pkgrel=1
-pkgdesc="Nvidia VDPAU library"
-arch=(x86_64)
-url='https://www.freedesktop.org/wiki/Software/VDPAU/'
-depends=('libxext')
-license=('custom')
-_commit=eac1393480bc7c2209d4984819951cb9dc1e03d0 # libvdpau-1.2
-source=("git+https://anongit.freedesktop.org/git/vdpau/libvdpau#commit=$_commit")
-makedepends=('dri2proto' git)
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^libvdpau-//;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-build() {
- cd "${srcdir}/$pkgname"
- ./configure --prefix=/usr --sysconfdir=/etc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd "${srcdir}/$pkgname"
- make DESTDIR="${pkgdir}" install
-
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: libvdpau/repos/extra-x86_64/PKGBUILD (from rev 361342, libvdpau/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-28 19:40:36 UTC (rev 361343)
@@ -0,0 +1,33 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libvdpau
+pkgver=1.3
+pkgrel=1
+pkgdesc="Nvidia VDPAU library"
+arch=(x86_64)
+url='https://www.freedesktop.org/wiki/Software/VDPAU/'
+depends=('libxext')
+license=('custom')
+_commit=f57a9904c43ef5d726320c77baa91d0c38361ed4 # 1.3
+source=("git+https://anongit.freedesktop.org/git/vdpau/libvdpau#commit=$_commit")
+makedepends=('dri2proto' '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