summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/directfb
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/directfb')
-rw-r--r--abs/core-testing/directfb/ChangeLog5
-rw-r--r--abs/core-testing/directfb/PKGBUILD26
-rw-r--r--abs/core-testing/directfb/dfb_serial.diff10
3 files changed, 41 insertions, 0 deletions
diff --git a/abs/core-testing/directfb/ChangeLog b/abs/core-testing/directfb/ChangeLog
new file mode 100644
index 0000000..4e10ded
--- /dev/null
+++ b/abs/core-testing/directfb/ChangeLog
@@ -0,0 +1,5 @@
+2008-07-29 Eric Belanger <eric@archlinux.org>
+
+ * directfb 1.2.0-1
+ * Upstream update
+ * Added ChangeLog
diff --git a/abs/core-testing/directfb/PKGBUILD b/abs/core-testing/directfb/PKGBUILD
new file mode 100644
index 0000000..76e86d1
--- /dev/null
+++ b/abs/core-testing/directfb/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD,v 1.7 2008/08/02 19:48:28 Snowman Exp $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+
+pkgname=directfb
+pkgver=1.2.7
+pkgrel=1
+pkgdesc="A thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system on top of the Linux Framebuffer Device"
+arch=('i686' 'x86_64')
+url="http://www.directfb.org"
+license=('LGPL')
+depends=('libjpeg' 'libxext' 'sdl' 'sysfsutils' 'libpng' 'freetype2')
+options=('!libtool')
+source=(http://www.directfb.org/downloads/Core/DirectFB-${pkgver}.tar.gz dfb_serial.diff)
+md5sums=('59ca16f600e96c8c104a485ff7c322c6'
+ '5993ae20546b80d0e5fa4f7b367e2f82')
+
+build() {
+ cd ${srcdir}/DirectFB-${pkgver}
+# patch -p0 < ../dfb_serial.diff
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-zlib \
+ --enable-x11 --enable-sdl --disable-vnc --disable-osx \
+ --enable-video4linux2 --enable-voodoo || return 1
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}
diff --git a/abs/core-testing/directfb/dfb_serial.diff b/abs/core-testing/directfb/dfb_serial.diff
new file mode 100644
index 0000000..638467b
--- /dev/null
+++ b/abs/core-testing/directfb/dfb_serial.diff
@@ -0,0 +1,10 @@
+--- lib/direct/serial.h.orig 2009-02-11 05:40:20.000000000 +0000
++++ lib/direct/serial.h 2009-02-11 05:40:44.000000000 +0000
+@@ -31,6 +31,7 @@
+
+ #include <direct/types.h>
+ #include <direct/debug.h>
++#include <linux/types.h>
+
+ struct __D_DirectSerial {
+ int magic;