blob: 758abfe21770ec7bfd230082eba4728b76d24983 (
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.5.1.r258
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=2ac2fc0de978ba7076ba7c5e3c34caec05939dde')
sha256sums=(SKIP)
#source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
#sha256sums=('f42805b68e2bddc90cb5d9d3811e4f2176659c5686f295865839b20b7be7f359')
# revision: git rev-list --count master
build() {
cd glamor-egl
./autogen.sh --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 glamor-egl
make "DESTDIR=${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|