[arch-commits] Commit in lib32-libvdpau/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 28 19:48:07 UTC 2019
Date: Wednesday, August 28, 2019 @ 19:48:07
Author: alucryd
Revision: 504359
upgpkg: lib32-libvdpau 1.3-1
Modified:
lib32-libvdpau/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-28 19:22:24 UTC (rev 504358)
+++ PKGBUILD 2019-08-28 19:48:07 UTC (rev 504359)
@@ -2,7 +2,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=lib32-libvdpau
-pkgver=1.2
+pkgver=1.3
pkgrel=1
pkgdesc='Nvidia VDPAU library'
arch=(x86_64)
@@ -16,34 +16,23 @@
makedepends=(
dri2proto
git
+ meson
)
-source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=libvdpau-${pkgver})
+source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=${pkgver})
sha256sums=(SKIP)
-prepare() {
- cd libvdpau
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
build() {
- cd libvdpau
-
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32' \
- --sysconfdir='/etc'
- make
+ arch-meson libvdpau build \
+ --libdir=/usr/lib32
+ ninja -C build
}
package() {
- cd libvdpau
-
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja -C build install
rm -rf "${pkgdir}"/{etc,usr/include}
install -dm 755 "${pkgdir}"/usr/share/licenses
More information about the arch-commits
mailing list