diff options
Diffstat (limited to 'evas/Pkgfile')
-rw-r--r-- | evas/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/evas/Pkgfile b/evas/Pkgfile new file mode 100644 index 0000000..397d2a0 --- /dev/null +++ b/evas/Pkgfile @@ -0,0 +1,30 @@ +# 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.5 +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 +} |