Rebuild Devil against latest Allegro.

parent d801f735
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=devil
pkgver=1.7.8
pkgrel=5
pkgdesc="Library for reading several different image formats"
pkgrel=6
pkgdesc="Library for reading several different image formats."
arch=('i686' 'x86_64')
url="http://openil.sourceforge.net/"
depends=('allegro>=4.4.0.1' 'sdl' 'libpng>=1.4.0' 'libmng>=1.0.10-3' 'freeglut'
'jasper>=1.900.1-4' 'lcms>=1.18-3' 'openexr')
depends=('allegro>=4.4.0.1' 'freeglut' 'jasper>=1.900.1-4' 'lcms>=1.18-3' 'libmng>=1.0.10-3' 'libpng>=1.4.0' 'openexr' 'sdl')
makedepends=('bash')
options=('!libtool' '!docs')
license=('GPL')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
license=('GPL3')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz
libpng14.patch)
md5sums=('7918f215524589435e5ec2e8736d5e1d'
'0f839ccefd43b0ee8b4b3f99806147fc')
build() {
cd $srcdir/devil-$pkgver
cd $srcdir/$pkgname-$pkgver
# PNG patch.
patch -Np1 -i $srcdir/libpng14.patch
patch -Np1 -i $srcdir/libpng14.patch || return 1
# configure and build
./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl
make || return 1
make prefix=$pkgdir/usr install
# Configure and build.
./configure \
--enable-ILU \
--enable-ILUT \
--enable-opengl \
--enable-sdl \
--prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr install
}
md5sums=('7918f215524589435e5ec2e8736d5e1d'
'0f839ccefd43b0ee8b4b3f99806147fc')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment