summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-freedreno/PKGBUILD
blob: 29e01b4f4f95cdbb94bcc38304487144223594f1 (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@parabola.nu>
# Contributor: André Silva <emulatorman@parabola.nu>

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=('1c9d872d1e7389c7771c33e0070f6eb730c406511afcda63867b096aa3d9301d'
            '444e80427e1e326a85bc5eb1355a2f0aac607934cd0eef2ea31b2569e5eb6fa3')
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}/"
}