aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-13 09:36:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-13 09:36:49 +0000
commit0724aacc34e97918508a5cf5e49cebe70905c795 (patch)
tree57afcb8f10fbbe74d6216077024b57ecbf133a59 /main/mesa
parent5ba7b8217fa5cd08b4e8a589fb28192b9d8ea408 (diff)
downloadaports-0724aacc34e97918508a5cf5e49cebe70905c795.tar.bz2
aports-0724aacc34e97918508a5cf5e49cebe70905c795.tar.xz
main/mesa: build libwayland-egl
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 85b1f1ad28..1d45d900bf 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=10.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="all"
@@ -14,6 +14,7 @@ subpackages="$pkgname-dev
$pkgname-dri-vmwgfx:vmwgfx
$pkgname-dricore $pkgname-glapi $pkgname-egl $pkgname-gl $pkgname-gles
$pkgname-xatracker $pkgname-osmesa $pkgname-gbm
+ $pkgname-libwayland-egl:_wayland
"
depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev
@@ -21,7 +22,7 @@ depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev
libxshmfence-dev"
makedepends="$depends_dev expat-dev xextproto python libxt-dev makedepend
talloc-dev py-libxml2 flex bison llvm-dev udev-dev libvdpau-dev
- libxvmc-dev gettext zlib-dev
+ libxvmc-dev gettext zlib-dev wayland-dev
autoconf automake libtool"
source="ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
glx_ro_text_segm.patch
@@ -74,7 +75,7 @@ build() {
--with-dri-drivers=${_dri_drivers} \
--enable-gallium-llvm \
--enable-gallium-egl \
- --with-egl-platforms=x11,drm \
+ --with-egl-platforms=x11,drm,wayland \
--enable-shared-glapi \
--enable-gbm \
--enable-glx-tls \
@@ -205,6 +206,13 @@ nouveau() { _mv_dri nouveau_dri nouveau_vieux_dri \
swrast() { _mv_dri swrast_dri && _mv_gpipe swrast; }
vmwgfx() { _mv_dri vmwgfx_dri && _mv_gpipe vmwgfx; }
+_wayland() {
+ pkgdesc="Mesa libwayland-egl library"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libwayland-egl.so.* "$subpkgdir"/usr/lib/ \
+ || return 1
+}
+
md5sums="093f9b5d077e5f6061dcd7b01b7aa51a MesaLib-10.2.1.tar.bz2
a1a766b4c6a96d67cad9bd7ad5c578e8 glx_ro_text_segm.patch
2e1cb6c497f6ef254c638a180e8ff406 musl-fixes.patch"