summaryrefslogtreecommitdiff
path: root/extra/glamor-egl/PKGBUILD
blob: 1a8f1336a862223388e0fbea34fa53ab5f3dfd63 (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
# $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
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')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
conflicts=('glamor-git')
sha256sums=('f42805b68e2bddc90cb5d9d3811e4f2176659c5686f295865839b20b7be7f359')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  
  ./configure --prefix=/usr \
    --disable-static \
    --enable-glx-tls \
    #--with-xorg-conf-dir=/etc/X11/xorg.conf.d
    #--help
    #--enable-glamor-gles2 \ https://bugs.archlinux.org/task/34284

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make "DESTDIR=${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}