summaryrefslogtreecommitdiff
path: root/community-testing/directfb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
commit6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch)
tree4c1b86f91ce9c742867b6eecd4857b20919cd713 /community-testing/directfb
parent63d179775e063452db6358e15b9847e7fc6c84b6 (diff)
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community-testing/directfb')
-rw-r--r--community-testing/directfb/DirectFB-1.6.1-zlib-include.patch12
-rw-r--r--community-testing/directfb/PKGBUILD31
2 files changed, 43 insertions, 0 deletions
diff --git a/community-testing/directfb/DirectFB-1.6.1-zlib-include.patch b/community-testing/directfb/DirectFB-1.6.1-zlib-include.patch
new file mode 100644
index 000000000..e4f24a5cf
--- /dev/null
+++ b/community-testing/directfb/DirectFB-1.6.1-zlib-include.patch
@@ -0,0 +1,12 @@
+diff -Naur DirectFB-1.6.0-orig/src/core/surface.c DirectFB-1.6.0/src/core/surface.c
+--- DirectFB-1.6.0-orig/src/core/surface.c 2012-06-20 02:21:36.029994460 -0400
++++ DirectFB-1.6.0/src/core/surface.c 2012-06-20 02:22:48.533330819 -0400
+@@ -28,6 +28,8 @@
+
+ #include <config.h>
+
++#include <zlib.h>
++
+ #include <direct/debug.h>
+
+ #include <core/core.h>
diff --git a/community-testing/directfb/PKGBUILD b/community-testing/directfb/PKGBUILD
new file mode 100644
index 000000000..f67f56ce3
--- /dev/null
+++ b/community-testing/directfb/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 73967 2012-07-17 18:47:33Z ebelanger $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=directfb
+pkgver=1.6.1
+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=('gcc-libs' 'libjpeg' 'sdl' 'libpng' 'freetype2')
+options=('!libtool')
+source=(http://www.directfb.org/downloads/Core/DirectFB-${pkgver%.*}/DirectFB-${pkgver}.tar.gz \
+ DirectFB-1.6.1-zlib-include.patch)
+sha1sums=('121c7fd1e81ccb41962986126e1d69f188c2f2c2'
+ 'f2309edd87c772a7894d4b648d56197d91790cad')
+
+build() {
+ cd "${srcdir}/DirectFB-${pkgver}"
+ patch -p1 -i ../DirectFB-1.6.1-zlib-include.patch
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-static \
+ --enable-zlib --enable-x11 --enable-sdl --disable-vnc --disable-osx \
+ --enable-video4linux2 --enable-voodoo
+ make
+}
+
+package() {
+ cd "${srcdir}/DirectFB-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}