# It is not expected that vdpau will work with the 71xx nVidia drivers, but we still want
# 'vdpinfo' to return something when users run it, even if the real 'vdpinfo' won't build
# for their nVidia driver version.

pkgname=vdpauinfo-legacy
pkgver=1
pkgrel=4
pkgdesc="tells the user they can't handle vdpau"
license=('GPLv2')
arch=('i686' 'x86_64')
depends=('')
# Just let the dependency on the right nvidia and nvidia-utils versions
# handle conflicts via those packages conflicts.
conflicts=(vdpauinfo)
provides=('vpinfo' 'vdpauinfo')
source=(vdpauinfo)
md5sums=()

build() {
    LH_ROOT=/usr/LH
    mkdir -p $startdir/pkg/$LH_ROOT/bin/

    cd $startdir
    install -m0755 -D vdpauinfo $startdir/pkg/$LH_ROOT/bin/
}
md5sums=('502f0a21bd1232e5a6bccb17cd63116d')