diff --git a/allegro/PKGBUILD b/allegro/PKGBUILD index 088b305c36230466c54596c6135a235b9fcbd7bb..8c206f423244eb1519819f4b52001a1be932fac4 100644 --- a/allegro/PKGBUILD +++ b/allegro/PKGBUILD @@ -1,22 +1,21 @@ # -# Chakra Packages for Chakra, part of chakra-project.org +# Games Packages for Chakra, part of chakra-project.org # -# Maintainer: Giuseppe Calà - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf +# Maintainer: Adrián Chaves Fernández (Gallaecio) +# Contributor: Giuseppe Calà pkgname=allegro -pkgver=5.0.3 +pkgver=5.0.4 pkgrel=1 pkgdesc="Portable library mainly aimed at video game and multimedia programming." arch=('i686' 'x86_64') url="http://alleg.sourceforge.net/" license=('ZLIB') -depends=('dumb' 'freetype2' 'jack' 'libjpeg' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng' 'mesa') -makedepends=('cmake') +depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng') +# With the exception of CMake, all are there to enable plugins support (all plugins but DUMB). +makedepends=('cmake' 'flac' 'freetype2' 'libjpeg' 'libogg' 'libpng' 'libvorbis' 'openal' 'physfs' 'zlib') source=(http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz) -md5sums=('159ca85ea51c0447d951d720b06079f2') +md5sums=('e2e314ee7116c7efddd0497d6c885e46') build() { cd $srcdir/$pkgname-$pkgver diff --git a/dumb/PKGBUILD b/dumb/PKGBUILD deleted file mode 100644 index e7201b00de279b293d29e3f58dd0bbc502bba878..0000000000000000000000000000000000000000 --- a/dumb/PKGBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# -# Games Packages for Chakra, part of chakra-project.org -# -# Maintainer: Adrián Chaves Fernández (Gallaecio) - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf - -pkgname=dumb -pkgver=0.9.3 -pkgrel=1 -pkgdesc="An IT, XM, S3M and MOD player library." -arch=('i686' 'x86_64') -license=('custom:dumb' 'GPL') -url="http://dumb.sourceforge.net/" -depends=('allegro' 'glibc') -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('f48da5b990aa8aa822d3b6a951baf5c2') - -build() { - cd $srcdir/$pkgname-$pkgver - [ $CARCH = "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" - - # Create the directories which the Makefile somehow fails to create - install -d lib/unix/{debug,release} - - # Make with Allegro support - # Upstream's make process is interactive, and we can't simply pass - # a here-document to the make command. The best way is to write our - # own config.txt, circumventing the interactive configuration step, - # as is done in Gentoo's ebuild. - cat << EOF > make/config.txt -include make/unix.inc -ALL_TARGETS := core core-examples core-headers -ALL_TARGETS += allegro allegro-examples allegro-headers -PREFIX := "$pkgdir/usr" -EOF - - # Upstream's makefile ignores our CFLAGS. They put -I directives in - # their own CFLAGS, so we can't just say - # make CFLAGS=... - # Gentoo's ebuild overrides another of their makefile variables, named - # OFLAGS. - make OFLAGS="${CFLAGS}" -} - -package() { - cd $srcdir/$pkgname-$pkgver - - # Create directories - install -d "${pkgdir}"/usr/{lib,bin,include} - install -D -m644 licence.txt \ - $pkgdir/usr/share/licenses/$pkgname/licence.txt - - make install -}