diff options
author | root <root@rshg054.dnsready.net> | 2012-07-19 00:01:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-19 00:01:52 +0000 |
commit | 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch) | |
tree | 4c1b86f91ce9c742867b6eecd4857b20919cd713 /community-testing | |
parent | 63d179775e063452db6358e15b9847e7fc6c84b6 (diff) |
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community-testing')
-rw-r--r-- | community-testing/directfb/DirectFB-1.6.1-zlib-include.patch | 12 | ||||
-rw-r--r-- | community-testing/directfb/PKGBUILD | 31 | ||||
-rw-r--r-- | community-testing/qingy/PKGBUILD | 36 | ||||
-rw-r--r-- | community-testing/qingy/qingy.install | 18 | ||||
-rw-r--r-- | community-testing/qingy/qingy.logrotate | 9 |
5 files changed, 106 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 +} diff --git a/community-testing/qingy/PKGBUILD b/community-testing/qingy/PKGBUILD new file mode 100644 index 000000000..308dc15a5 --- /dev/null +++ b/community-testing/qingy/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 73968 2012-07-17 18:47:40Z ebelanger $ +# Maintainer: Eric Bélanger <eric@archlinux.org> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=qingy +pkgver=1.0.0 +pkgrel=5 +pkgdesc="A DirectFB getty replacement" +arch=('i686' 'x86_64') +url="http://qingy.sourceforge.net/" +license=('GPL') +depends=('directfb' 'openssl' 'libxss') +makedepends=('emacs') +backup=('etc/qingy/settings' 'etc/qingy/welcomes') +options=('!libtool') +install=qingy.install +source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ + qingy.logrotate) +md5sums=('1e0912655e240adfd0ce5ced30bbc685' + 'a9bdfd0ac9f29380eafa97a4a056789d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|/lib/security/||' media/pam/default/qingy + XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \ + ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc \ + --disable-optimizations --enable-pam \ + --disable-static-build --enable-gpm-lock --enable-emacs + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" +} diff --git a/community-testing/qingy/qingy.install b/community-testing/qingy/qingy.install new file mode 100644 index 000000000..5cf234b72 --- /dev/null +++ b/community-testing/qingy/qingy.install @@ -0,0 +1,18 @@ +infodir=usr/share/info +filelist=(qingy.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/community-testing/qingy/qingy.logrotate b/community-testing/qingy/qingy.logrotate new file mode 100644 index 000000000..e16fb8d2a --- /dev/null +++ b/community-testing/qingy/qingy.logrotate @@ -0,0 +1,9 @@ +/var/log/qingy.log { + compress + rotate 1 + size=+1024k + notifempty + missingok + copytruncate + noolddir +} |