makedeb


libva-vdpau-driver 0.7.4-7


VDPAU backend for VA API

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for libva-vdpau-driver.

# Maintainer: John Ruschmeyer <jruschme@gmail.com>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=libva-vdpau-driver
pkgver=0.7.4
pkgrel=7
pkgdesc='VDPAU backend for VA API'
arch=(amd64)
url=https://freedesktop.org/wiki/Software/vaapi
license=(GPL)
depends=(
)
makedepends=(
  libva-dev
  libvdpau-dev
)
source=(
  https://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-${pkgver}.tar.bz2
  libva-vdpau-driver-0.7.4-glext-missing-definition.patch
  libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
  libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
  libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch
)
b2sums=('b9cd0bbbe1e638ad29363cd0d8c6452de222023017283ce81f138730c7ba3396f3ffca40478746cab4b93a8855e73de405aa783e44e6c1179c5e347bd7eff657'
        '3c295a68cb0976f976880f13296c703c3b75abdd3311b790c132ba233e9d26975686d8b618cdda594b1aa2e5cbadee850bf2e08cc35ca2c7ee11fe10c535d91c'
        'f1bc6e3840769ce4a5e53d85867a854ddfc780e670ca095541b9f2465ca0c96f3c7ed00da596f88d0c60aa749afcaf734670ada449c8a87e27f999c74539bc78'
        'd0324c436946f45d1fee38e39e1a5175b7415aa7fef449971d96907cc1fa54ff458af6975f812e80c03051f6fb30d0bdb0ff24c6399ae6c091e8a766722f2183'
        '9fd4d62953b138271d8a04ed144785502e276f469e9f856c5f7b740265fe36e0916dfa85a0a3e3255df1ae2618092b4e31de7c1c73a6b51aed4b7b4d5c8bcedb')

prepare() {
  cd libva-vdpau-driver-${pkgver}

  patch -Np1 -i ../libva-vdpau-driver-0.7.4-glext-missing-definition.patch
  patch -Np1 -i ../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
  patch -Np1 -i ../libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
  patch -Np1 -i ../libva-vdpau-driver-0.7.4-CreateSurfaceFromV4L2Buf.patch
}

build() {
  cd libva-vdpau-driver-${pkgver}

  ./configure \
    --prefix=/usr
  make
}

package() {
  cd libva-vdpau-driver-${pkgver}

  make DESTDIR="${pkgdir}" install
}

# vim:set ts=2 sw=2 et: