diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..79ce638abb02 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = libva-vdpau-driver-shadow-nvidia + pkgdesc = VDPAU backend for VA API. (Patched special version for shadow-beta) + pkgver = 0.7.4c + pkgrel = 1 + url = http://freedesktop.org/wiki/Software/vaapi + arch = x86_64 + license = GPL + makedepends = mesa + depends = libva + depends = libvdpau + depends = libgl + provides = libva-vdpau-driver + conflicts = libva-vdpau-driver + conflicts = libva-vdpau-driver-shadow + replaces = vdpau-video + source = https://github.com/Ludestru/libva-vdpau-driver/releases/download/v0.7.4c/libva-vdpau-driver-0.7.4c.tar.bz2 + sha256sums = 19415b10d59bb6fbffacb9f1bc76eaf4367e97ad0877b52cdaaefd018b48dddb + +pkgname = libva-vdpau-driver-shadow-nvidia + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6433ca631af9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Luc Flemming <luc dot flemming at protonmail dot ch> +# Contributor: Alex Wilson <alex@cooperi.net> + +pkgname=libva-vdpau-driver-shadow-nvidia +pkgver=0.7.4c +pkgrel=1 +pkgdesc="VDPAU backend for VA API. (Patched special version for shadow-beta)" +arch=('x86_64') +url='http://freedesktop.org/wiki/Software/vaapi' +license=('GPL') +depends=('libva' + 'libvdpau' + 'libgl' + ) +makedepends=('mesa') +replaces=('vdpau-video') +provides=('libva-vdpau-driver') +conflicts=('libva-vdpau-driver' + 'libva-vdpau-driver-shadow' + ) +source=("https://github.com/Ludestru/libva-vdpau-driver/releases/download/v${pkgver}/libva-vdpau-driver-${pkgver}.tar.bz2") +sha256sums=('19415b10d59bb6fbffacb9f1bc76eaf4367e97ad0877b52cdaaefd018b48dddb') + +prepare() { + mkdir -p build + + cd build + ../"libva-vdpau-driver-${pkgver}"/configure \ + --prefix=/usr +} + +build() { + make -C build +} + +package() { + make -C build DESTDIR="${pkgdir}" install +} + |