Commit 8f6ccb5e authored by Natanael Copa's avatar Natanael Copa

main/mesa: actually enable vdpau

parent af666ad1
# 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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment