summaryrefslogtreecommitdiff
path: root/community/directfb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
committerroot <root@rshg054.dnsready.net>2012-07-21 00:02:19 +0000
commit0c8308a9eb7ef6a30cec078ad1d753bd52979b66 (patch)
tree4ed4ccb8be3076c0b8f3366e05f0ebcd68c65e39 /community/directfb
parent226ac092dca4754b7b5a421e226c5971e3b607b2 (diff)
Sat Jul 21 00:02:19 UTC 2012
Diffstat (limited to 'community/directfb')
-rw-r--r--community/directfb/DirectFB-1.6.1-zlib-include.patch12
-rw-r--r--community/directfb/PKGBUILD18
2 files changed, 20 insertions, 10 deletions
diff --git a/community/directfb/DirectFB-1.6.1-zlib-include.patch b/community/directfb/DirectFB-1.6.1-zlib-include.patch
new file mode 100644
index 000000000..e4f24a5cf
--- /dev/null
+++ b/community/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/directfb/PKGBUILD b/community/directfb/PKGBUILD
index 1e23e4f65..618174393 100644
--- a/community/directfb/PKGBUILD
+++ b/community/directfb/PKGBUILD
@@ -1,27 +1,25 @@
-# $Id: PKGBUILD 68160 2012-03-18 19:39:44Z ebelanger $
+# $Id: PKGBUILD 74058 2012-07-19 05:01:17Z ebelanger $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=directfb
-pkgver=1.5.3
+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' 'sysfsutils' 'libpng' 'freetype2')
+depends=('gcc-libs' 'libjpeg' 'sdl' 'libpng' 'freetype2')
options=('!libtool')
source=(http://www.directfb.org/downloads/Core/DirectFB-${pkgver%.*}/DirectFB-${pkgver}.tar.gz \
- DirectFB-1.4.9-libpng-1.5.patch directfb-missing_include.patch)
-md5sums=('54a9ec931c8e3c82adb924194e65120e'
- '82f552ae306871382a6a8e05cffee723'
- '6b7ceca416c28a3791a145c15bf6f462')
+ DirectFB-1.6.1-zlib-include.patch)
+sha1sums=('121c7fd1e81ccb41962986126e1d69f188c2f2c2'
+ 'f2309edd87c772a7894d4b648d56197d91790cad')
build() {
cd "${srcdir}/DirectFB-${pkgver}"
- patch -p1 -i ../DirectFB-1.4.9-libpng-1.5.patch
- patch -p1 -i ../directfb-missing_include.patch
- CFLAGS+="-fno-inline" ./configure --prefix=/usr --sysconfdir=/etc --enable-static \
+ 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