Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging / Packages / libvdpau
Commits: 254ea647 by Jan Alexander Steffens (heftig) at 2023-08-29T00:28:18+02:00 1.5-2: FS#60589 fiv va/vdpau deps; minor changes - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -3,26 +3,48 @@ pkgname=libvdpau pkgver=1.5 -pkgrel=1 -pkgdesc="Nvidia VDPAU library" +pkgrel=2 +pkgdesc='Nvidia VDPAU library' arch=(x86_64) -url='https://www.freedesktop.org/wiki/Software/VDPAU/' -depends=('libxext') -license=('custom') -source=(https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$pkgver/$pkgname-$pkgver.tar.gz) -makedepends=('xorgproto' 'meson') -sha256sums=('66490802f30426d30ff9e8af35263bbbbaa23b52d0a2d797d06959c3d19638fd') +url=https://www.freedesktop.org/wiki/Software/VDPAU/ +license=(custom) +depends=( + libxext +) +makedepends=( + git + meson + xorgproto +) +optdepends=( + 'libvdpau-va-gl: driver using VAAPI' + 'mesa-vdpau: driver for Mesa' + 'nvidia-utils: driver for NVIDIA' +) +provides=( + libvdpau.so +) +_tag=b40ac3c8f6cac061ddd5ed70c8305238f97a1b25 +source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=${_tag}) +b2sums=('SKIP') + +pkgver() { + cd libvdpau + git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' +} build() { - arch-meson $pkgname-$pkgver build - ninja -C build + arch-meson libvdpau build + meson compile -C build } check() { - ninja -C build test + meson test -C build --print-errorlogs } package() { - DESTDIR="${pkgdir}" ninja -C build install - install -Dm 644 $pkgname-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/" + meson install -C build --destdir "$pkgdir" + install -Dm 644 libvdpau/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/" } + +# vim:set sw=2 sts=-1 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libvdpau/-/commit/254ea647c3f9e0e9b3b25765022e1c31172498fb -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libvdpau/-/commit/254ea647c3f9e0e9b3b25765022e1c31172498fb You're receiving this email because of your account on gitlab.archlinux.org.
