From 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jul 2012 00:01:52 +0000 Subject: Thu Jul 19 00:01:52 UTC 2012 --- .../directfb/DirectFB-1.6.1-zlib-include.patch | 12 +++++++++ community-testing/directfb/PKGBUILD | 31 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 community-testing/directfb/DirectFB-1.6.1-zlib-include.patch create mode 100644 community-testing/directfb/PKGBUILD (limited to 'community-testing/directfb') 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 + ++#include ++ + #include + + #include 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 +# Maintainer: Eric BĂ©langer + +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 +} -- cgit v1.2.3-54-g00ecf