summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-freedreno
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-12 21:19:53 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-12 21:20:53 -0300
commitc41d13e6f59e7eceb0a43938edd007d0c8aa6f0f (patch)
tree5c241d94d4b11861096a8c993fb950df2bdf2523 /pcr/xf86-video-freedreno
parent20abdc1416a90a30db969d529d75e3e355f1890f (diff)
downloadabslibre-c41d13e6f59e7eceb0a43938edd007d0c8aa6f0f.tar.gz
abslibre-c41d13e6f59e7eceb0a43938edd007d0c8aa6f0f.tar.bz2
abslibre-c41d13e6f59e7eceb0a43938edd007d0c8aa6f0f.zip
xf86-video-freedreno: add new package to [pcr]
Diffstat (limited to 'pcr/xf86-video-freedreno')
-rw-r--r--pcr/xf86-video-freedreno/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/xf86-video-freedreno/PKGBUILD b/pcr/xf86-video-freedreno/PKGBUILD
new file mode 100644
index 000000000..29e01b4f4
--- /dev/null
+++ b/pcr/xf86-video-freedreno/PKGBUILD
@@ -0,0 +1,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}/"
+}