Balló György pushed to branch main at Arch Linux / Packaging / Packages /
libvdpau
Commits:
7ffb8864 by Balló György at 2024-07-21T09:40:18+02:00
Fix licence, use tag pinning
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -4,16 +4,18 @@ pkgbase = libvdpau
pkgrel = 3
url = https://www.freedesktop.org/wiki/Software/VDPAU/
arch = x86_64
- license = custom
+ license = MIT
makedepends = git
makedepends = meson
makedepends = xorgproto
+ depends = glibc
+ depends = libx11
depends = libxext
optdepends = libvdpau-va-gl: driver using VAAPI
optdepends = mesa-vdpau: driver for Mesa
optdepends = nvidia-utils: driver for NVIDIA
provides = libvdpau.so
- source =
git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=b40ac3c8f6cac061ddd5ed70c8305238f97a1b25
- b2sums = SKIP
+ source = git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=1.5
+ b2sums =
d8f0e7d6290d51fd764f2c29443fef52aea8a6ae5c3c3a91ca2a9ed788cd74972189c20095c239b0aab3dcece54acc320be95dfe5ec65902381b8f3bfe80ac3a
pkgname = libvdpau
=====================================
PKGBUILD
=====================================
@@ -6,9 +6,11 @@ pkgver=1.5
pkgrel=3
pkgdesc='Nvidia VDPAU library'
arch=(x86_64)
-url=https://www.freedesktop.org/wiki/Software/VDPAU/
-license=(custom)
+url='https://www.freedesktop.org/wiki/Software/VDPAU/'
+license=(MIT)
depends=(
+ glibc
+ libx11
libxext
)
makedepends=(
@@ -21,20 +23,12 @@ optdepends=(
'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'
-}
+provides=(libvdpau.so)
+source=("git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=$pkgver")
+b2sums=(d8f0e7d6290d51fd764f2c29443fef52aea8a6ae5c3c3a91ca2a9ed788cd74972189c20095c239b0aab3dcece54acc320be95dfe5ec65902381b8f3bfe80ac3a)
build() {
- arch-meson libvdpau build
+ arch-meson $pkgname build
meson compile -C build
}
@@ -44,7 +38,7 @@ check() {
package() {
meson install -C build --destdir "$pkgdir"
- install -Dm 644 libvdpau/COPYING -t
"${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm644 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/7ffb88649557fe3493e75bbcffcf1a346d5a9880
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libvdpau/-/commit/7ffb88649557fe3493e75bbcffcf1a346d5a9880
You're receiving this email because of your account on gitlab.archlinux.org.