summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-freedreno/PKGBUILD
blob: aed14d0ea68b0c8b86a571538fcf042800949fd4 (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
# Maintainer (Arch): tbd
# Maintainer: Márcio Silva <coadde@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>

pkgname=xf86-video-freedreno
pkgver=1.4.0
pkgrel=1
pkgdesc="X.org driver for Adreno mobile GPUs"
arch=('armv7h')
url="http://cgit.freedesktop.org/xorg/driver/${pkgname}"
license=('custom')
depends=('glibc')
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20')
conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21')
groups=('xorg-drivers' 'xorg')
source=(http://ftp.x.org/pub/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha256sums=('f5abdd0b09b7ba4bab13440667b00b9be72e734a343d35d8876f08e1b93dc6c1'
            'SKIP')
validpgpkeys=('D6285B5E899299F3DA746184191C9B905522B045') # Rob Clark

build() {
  cd ${pkgname}-${pkgver}
  ##./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}