summaryrefslogtreecommitdiff
path: root/community-testing/directfb/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-16 00:01:21 +0000
committerroot <root@rshg054.dnsready.net>2012-03-16 00:01:21 +0000
commitcd326e60e1e54ebe83bd700850b313c69f419eef (patch)
treeb15df594ae07c150fff4a55c0d1a01885b232dd0 /community-testing/directfb/PKGBUILD
parent14635ca5380a480450a66c3fcc29992d29a2bd8e (diff)
Fri Mar 16 00:01:21 UTC 2012
Diffstat (limited to 'community-testing/directfb/PKGBUILD')
-rw-r--r--community-testing/directfb/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/directfb/PKGBUILD b/community-testing/directfb/PKGBUILD
new file mode 100644
index 000000000..779bc141c
--- /dev/null
+++ b/community-testing/directfb/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 67846 2012-03-15 01:59:34Z ebelanger $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=directfb
+pkgver=1.5.3
+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')
+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')
+
+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 \
+ --enable-zlib --enable-x11 --enable-sdl --disable-vnc --disable-osx \
+ --enable-video4linux2 --enable-voodoo
+ make
+}
+
+package() {
+ cd "${srcdir}/DirectFB-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}