aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-11 04:57:18 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-11 04:57:41 -0600
commit1cf2e249f33fbee48e170727ac36de21758e71ae (patch)
tree3d2363360aef2efd35bfd79ec5d2872f00d52cb7 /main/mesa
parent44a3b408b3b07a82ccef8323b34f918eb11d7563 (diff)
downloadaports-1cf2e249f33fbee48e170727ac36de21758e71ae.tar.bz2
aports-1cf2e249f33fbee48e170727ac36de21758e71ae.tar.xz
main/mesa: split EGL libraries into mesa-egl
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 282dd1c19f..0c19c71450 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -18,6 +18,7 @@ subpackages="$pkgname-dev
$pkgname-dri-tdfx:tdfx
$pkgname-dri-unichrome:unichrome
$pkgname-dri-nouveau:nouveau
+ $pkgname-egl
"
makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
@@ -82,6 +83,15 @@ package() {
make -j1 DESTDIR="$pkgdir" install || return 1
}
+egl() {
+ replaces="mesa"
+ pkgdesc="Mesa OpenGLES support library and modules"
+
+ install -d "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libEGL.so* "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/egl "$subpkgdir"/usr/lib/egl
+}
+
_mv_dri() {
pkgdesc="Mesa DRI driver for $@"
install -d "$subpkgdir"/$_dri_driverdir