blob: 199dc9022ecaa3c454592734fcbfa75b4f2af1c9 (
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
40
41
42
43
44
45
46
|
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libvdpau
pkgver=1.1
pkgrel=1
pkgdesc="Nvidia VDPAU library"
url="http://cgit.freedesktop.org/~aplattner/libvdpau"
arch="all"
license="custom"
depends=
makedepends="libx11-dev dri2proto libxext-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
LIBS="-lX11" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
md5sums="38d362869f1da5516f0f927db4d606c3 libvdpau-1.1.tar.gz"
sha256sums="aea4e783f220bf26ba2139ccd866a0ee5005fa03af5e08c41fbc939118263919 libvdpau-1.1.tar.gz"
sha512sums="9ef5a643f93934b55a0e1d9d0785c96489abd64ee9ea05b3bd8f7e802ff8bb00af279ac37d3aa65b133255c520b8b32bb7356728de6131df0a2cd87c4048c43e libvdpau-1.1.tar.gz"
|