blob: 417fecc3a33287c5fb62d92c748dfa0c94975632 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 179700 2013-03-09 11:48:07Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Eugeni Dodonov <eugeni@dodonov.net>
pkgname=glamor-egl
pkgver=0.6.0
pkgrel=1
pkgdesc='OpenGL based 2D rendering acceleration library'
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('mesa-libgl')
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=15' 'git')
conflicts=('xorg-server<1.15.0' 'X-ABI-VIDEODRV_VERSION<15' 'X-ABI-VIDEODRV_VERSION>=16' 'glamor-git')
#source=('glamor-egl::git+http://anongit.freedesktop.org/git/xorg/driver/glamor.git#commit=2b4a324b03c3ee34de1c122a6db4e6ce7146a3e0')
#sha256sums=(SKIP)
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('66531b56e6054eb53daa7bd57eb6358a7ead1b84f63419606e69d1092365e5c9')
# revision: git rev-list --count master
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static \
--enable-glx-tls \
--enable-xv \
#--with-xorg-conf-dir=/etc/X11/xorg.conf.d
#--help
#--enable-glamor-gles2 \ https://bugs.archlinux.org/task/34284
make
}
package() {
cd "$pkgname-$pkgver"
make "DESTDIR=${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|