add wayland support to mesa

This commit is contained in:
Weng 2013-12-21 21:28:35 +00:00
parent a9f3f3320f
commit ead92a2911
3 changed files with 38 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Contributor: Mladen Pejakovic <pejakm@gmail.com>
pkgname=libxkbcommon
pkgver=0.2.0
pkgver=0.3.2
pkgrel=1
pkgdesc="Keyboard handling library using XKB data"
arch=('x86_64')
@ -10,8 +10,8 @@ url="http://xkbcommon.org/"
license=('custom')
depends=('glibc')
makedepends=('doxygen' 'xorg-util-macros')
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.bz2")
md5sums=('2be3d4a255d02c7d46fc6a9486f21f6a')
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.xz")
md5sums=('935cf416354bf05210de2e389484f7e8')
options=('!libtool')
build() {

View File

@ -3,10 +3,10 @@
pkgbase=mesa
pkgname=('mesa' 'libgl' 'libglapi')
pkgver=10.0.1
pkgrel=1
pkgrel=2
arch=('x86_64')
makedepends=('glproto>=1.4.14' 'libdrm>=2.4.38' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.3' 'libxt>=1.1.1'
'gcc-libs' 'dri2proto>=2.8' 'python2' 'libxml2' 'imake' 'llvm' 'systemd' 'libvdpau')
'gcc-libs' 'dri2proto>=2.8' 'python2' 'libxml2' 'imake' 'llvm' 'systemd' 'libvdpau' 'wayland')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2"
@ -24,7 +24,7 @@ build() {
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
--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 \
@ -78,7 +78,7 @@ package_libglapi() {
}
package_mesa() {
depends=('libglapi' 'libgl' 'libx11' 'libxt' 'gcc-libs' 'dri2proto' 'glproto' 'glu') #dri2proto + glproto needed for gl.pc
depends=('libglapi' 'libgl' 'libx11' 'libxt' 'gcc-libs' 'dri2proto' 'glproto' 'glu' 'wayland') #dri2proto + glproto needed for gl.pc
optdepends=('opengl-man-pages: for the OpenGL API man pages')
pkgdesc="Mesa 3-D graphics libraries and include files"
provides=('libgles' 'libegl' 'khrplatform-devel' 'ati-dri' 'intel-dri' 'svga-dri' 'nouveau-dri')

31
wayland/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# $Id$
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Sébastien Luttringer
# Contributor: Joel Teichroeb <joel@teichroeb.net>
pkgname=wayland
pkgver=1.3.0
pkgrel=1
pkgdesc='A computer display server protocol'
arch=('i686' 'x86_64')
url='http://wayland.freedesktop.org'
license=('MIT')
depends=('libffi' 'expat')
makedepends=('doxygen')
source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
sha1sums=('febbbfc8d76ed0b2157077d50cb6e5ceb1aa47de')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}