2013-04-19 21:15:58 +00:00

31 lines
933 B
Plaintext

# Description: Multi-platform Canvas Library
# URL: http://www.enlightenment.org/
# Maintainer: Victor Martinez, pitillo at ono dot com
# Depends on: eet xorg-libxrender mesa3d fontconfig xorg-font-dejavu-ttf
name=evas
version=1.7.6.1
release=1
source=(http://download.enlightenment.org/releases/$name-$version.tar.gz)
build()
{
cd $name-$version
# giflib api breakage v5
# DGifOpenFileHandle() takes a final integer address argument. If non-null,
# this is used to pass back an error code when the function returns NULL.
sed "s|DGifOpenFileHandle(fd);|DGifOpenFileHandle(fd,NULL);|g" \
-i src/modules/loaders/gif/evas_image_load_gif.c
./configure --prefix=/usr \
--disable-doc \
--libexecdir=/usr/lib/$name \
--enable-software-xlib \
--disable-install-examples
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}