summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-armsoc-git
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2016-06-30 13:31:41 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2016-06-30 13:31:41 -0500
commit82c1c2b3304e474f22956f8b02b6df8ad613bf11 (patch)
tree52b9235c1eb1de0d2bec087416f8337aff7a2daa /pcr/xf86-video-armsoc-git
parentbf0e3da018e1a7d88877df51f5c683929e6e7f34 (diff)
downloadabslibre-82c1c2b3304e474f22956f8b02b6df8ad613bf11.tar.gz
abslibre-82c1c2b3304e474f22956f8b02b6df8ad613bf11.tar.bz2
abslibre-82c1c2b3304e474f22956f8b02b6df8ad613bf11.zip
xf86-video-{armsoc-git,omap{,fb}}: add new packages to [pcr]
Diffstat (limited to 'pcr/xf86-video-armsoc-git')
-rw-r--r--pcr/xf86-video-armsoc-git/0001-drmmode_display-include-sys-stat.h.patch26
-rw-r--r--pcr/xf86-video-armsoc-git/PKGBUILD48
2 files changed, 74 insertions, 0 deletions
diff --git a/pcr/xf86-video-armsoc-git/0001-drmmode_display-include-sys-stat.h.patch b/pcr/xf86-video-armsoc-git/0001-drmmode_display-include-sys-stat.h.patch
new file mode 100644
index 000000000..157d0a8b8
--- /dev/null
+++ b/pcr/xf86-video-armsoc-git/0001-drmmode_display-include-sys-stat.h.patch
@@ -0,0 +1,26 @@
+From de6b51ae1dc02ecb48cb9642af31dd2d27d3ae04 Mon Sep 17 00:00:00 2001
+From: Kevin Mihelich <kevin@archlinuxarm.org>
+Date: Fri, 26 Jun 2015 21:31:12 -0600
+Subject: [PATCH] drmmode_display: include sys/stat.h
+
+Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
+---
+ src/drmmode_display.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/drmmode_display.c b/src/drmmode_display.c
+index 58c1a84..cf64424 100644
+--- a/src/drmmode_display.c
++++ b/src/drmmode_display.c
+@@ -51,6 +51,8 @@
+ #include <libudev.h>
+ #include "drmmode_driver.h"
+
++#include <sys/stat.h>
++
+ struct drmmode_cursor_rec {
+ /* hardware cursor: */
+ struct armsoc_bo *bo;
+--
+2.4.4
+
diff --git a/pcr/xf86-video-armsoc-git/PKGBUILD b/pcr/xf86-video-armsoc-git/PKGBUILD
new file mode 100644
index 000000000..71fe30daa
--- /dev/null
+++ b/pcr/xf86-video-armsoc-git/PKGBUILD
@@ -0,0 +1,48 @@
+# ArmSoc (OMAP + Mali) FrameBuffer driver for Xorg from Linaro.
+# Maintainer (Arch ARM): Kevin Mihelich <kevin@archlinuxarm.org>
+# Contributor (Arch ARM): Erik Andersson <erik.h.andersson@gmail.com>
+# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
+
+buildarch=4
+
+pkgname=xf86-video-armsoc-git
+_commit=8ca8513880697f9a34d4006c43342b830bdd1ff2
+pkgver=243.8ca8513
+pkgrel=2
+epoch=1
+pkgdesc='X.org graphics driver for ARM graphics'
+arch=('armv7h')
+url="http://cgit.freedesktop.org/xorg/driver/xf86-video-armsoc"
+license=('GPL2')
+makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
+options=('!libtool')
+conflicts=(xf86-video-armsoc)
+provides=(xf86-video-armsoc)
+source=("$pkgname::git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc#commit=${_commit}"
+ '0001-drmmode_display-include-sys-stat.h.patch')
+md5sums=('SKIP'
+ '89c59460f599996b0ac5669c0762567e')
+
+pkgver() {
+ cd $pkgname
+ echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
+}
+
+prepare() {
+ cd $pkgname
+ git apply ../0001-drmmode_display-include-sys-stat.h.patch
+}
+
+build() {
+ cd $pkgname
+
+ CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
+ ./autogen.sh --prefix=/usr --with-drmmode=exynos
+ make
+}
+
+package() {
+ cd $pkgname
+
+ make DESTDIR="${pkgdir}" install
+}