diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-04 13:59:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-04 13:59:43 +0000 |
commit | 8f6ccb5e66cb472de2469eef4afda9445d0cf773 (patch) | |
tree | c6d45003b58105c4ff61fbb7db539efe3b9eeca6 /main/mesa/APKBUILD | |
parent | af666ad11f978665db87f8a712a0ced6113d3d47 (diff) | |
download | aports-8f6ccb5e66cb472de2469eef4afda9445d0cf773.tar.bz2 aports-8f6ccb5e66cb472de2469eef4afda9445d0cf773.tar.xz |
main/mesa: actually enable vdpau
Diffstat (limited to 'main/mesa/APKBUILD')
-rw-r--r-- | main/mesa/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index 01f63a8359..4986ec3cf8 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mesa pkgver=9.0.2 -pkgrel=0 +pkgrel=1 pkgdesc="Mesa DRI OpenGL library" url="http://www.mesa3d.org" arch="all" @@ -80,6 +80,7 @@ build() { --enable-egl \ --enable-texture-float \ --enable-xa \ + --enable-vdpau \ || return 1 make || return 1 @@ -168,9 +169,19 @@ _mv_dri() { done } -ati() { _mv_dri radeon_dri r200_dri r300_dri r600_dri; } +_mv_vdpau() { + local i + install -d "$subpkgdir"/usr/lib/vdpau + for i in "$@"; do + mv "$pkgdir"/usr/lib/vdpau/libvdpau_$i.* \ + "$subpkgdir"/usr/lib/vdpau/ || return 1 + done +} + +ati() { _mv_dri radeon_dri r200_dri r300_dri r600_dri \ + && _mv_vdpau r300 r600 softpipe; } intel() { _mv_dri i915_dri i965_dri; } -nouveau() { _mv_dri nouveau_dri nouveau_vieux_dri; } +nouveau() { _mv_dri nouveau_dri nouveau_vieux_dri && _mv_vdpau nouveau; } swrast() { _mv_dri swrast_dri; } vmwgfx() { _mv_dri vmwgfx_dri; } |