summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-04-04 19:16:17 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-04-04 19:16:17 (GMT)
commite07ae7bd514987a930233fbd4db9c3d990144452 (patch)
tree844a7184e3ee8e5347d432ddb81fd51b1f91ef65
parentffc06242f559787c678b282d4206a5d8eec970ae (diff)
downloadlinhes_pkgbuild-e07ae7bd514987a930233fbd4db9c3d990144452.zip
linhes_pkgbuild-e07ae7bd514987a930233fbd4db9c3d990144452.tar.gz
linhes_pkgbuild-e07ae7bd514987a930233fbd4db9c3d990144452.tar.bz2
vdpauninfo-legacy: initial import, replaces vdpinfo.
This is a stub for when using older drivers
-rw-r--r--abs/core-testing/vdpauinfo-legacy/PKGBUILD26
-rwxr-xr-xabs/core-testing/vdpauinfo-legacy/vdpauinfo2
2 files changed, 28 insertions, 0 deletions
diff --git a/abs/core-testing/vdpauinfo-legacy/PKGBUILD b/abs/core-testing/vdpauinfo-legacy/PKGBUILD
new file mode 100644
index 0000000..7e7fe26
--- /dev/null
+++ b/abs/core-testing/vdpauinfo-legacy/PKGBUILD
@@ -0,0 +1,26 @@
+# 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')
diff --git a/abs/core-testing/vdpauinfo-legacy/vdpauinfo b/abs/core-testing/vdpauinfo-legacy/vdpauinfo
new file mode 100755
index 0000000..9b237dc
--- /dev/null
+++ b/abs/core-testing/vdpauinfo-legacy/vdpauinfo
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo "vdpau is unsupported"