blob: 368d3e63c80d80a9e342c5e5061c0b7101cc9b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=qvdpautest-git
epoch=1
pkgver=r31.1538ce0
pkgrel=1
pkgdesc="A VDPAU Benchmark. (GIT version)"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.nvnews.net/vbulletin/showthread.php?p=2015214"
makedepends=('cmake')
depends=('qt4' 'libvdpau')
provides=('qvdpautest')
conflicts=('qvdpautest')
source=('git+https://github.com/robertmassaioli/qvdpautest.git')
sha1sums=('SKIP')
_gitname="qvdpautest"
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
sed -e 's| directoryString.append("./");| directoryString.append("/usr/share/qvdpautest/");|g' -i qvdpautest/src/main.cpp
}
build() {
cd build
cmake ../qvdpautest \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|