summaryrefslogtreecommitdiffstats
path: root/extra/libvdpau/Pkgfile
blob: 99b85a93cdba3499c92ddd198d862e12428b557d (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
# Description: Bibliothèque NVidia VDPAU
# URL: http://cgit.freedesktop.org/~aplattner/libvdpau
# Maintainer: NutyX core team
# Packager: lesibel at free dot fr
# Depends on: xorg-libx11
# Run on:

name=libvdpau
version=0.4.1
release=2

source=(http://people.freedesktop.org/~aplattner/vdpau/$name-$version.tar.gz git_commit_4262513e.patch)

build() {
	cd $name-$version
	patch -p1 < ../git_commit_4262513e.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install 

	ln -s vdpau/libvdpau_nvidia.so.280.13 $PKG/usr/lib/libvdpau_nvidia.so

	install -d -m755 $PKG/usr/share/licenses/$name
	install -m644 COPYING $PKG/usr/share/licenses/$name
}