wok-next view evas/receipt @ rev 20386
Up aaphoto amsn ecore edbus edje eet eeze efl efreet eina eio elementary embryo emotion ethumb evas jp2a python-elementary python-evas: v2, use libjpeg-turbo and eudev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 30 12:59:51 2017 +0200 (2017-11-30) |
parents | 491cc55c667f |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="evas"
4 VERSION="1.7.10"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Canvas and scenegraph rendering library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.enlightenment.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
15 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
16 giflib-dev libpng16-dev tiff-dev libxml2-dev util-linux-uuid-dev \
17 xorg-libXScrnSaver-dev xorg-libXp-dev eina-dev"
18 SPLIT="evas-dev"
20 compile_rules() {
21 sed -i 's/DGifCloseFile(gif/&,NULL/' \
22 src/modules/loaders/gif/evas_image_load_gif.c
23 export CFLAGS="$CFLAGS -fvisibility=hidden"
24 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
26 ./configure \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --enable-cpu-c \
29 --disable-doc \
30 --disable-install-examples \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS && make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 evas)
38 copy @std
39 DEPENDS="eet expat fontconfig freetype giflib libpng16 tiff \
40 libxml2 xorg-libXScrnSaver xorg-libXp eina"
41 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
42 TAGS="e enlightenment efl"
43 ;;
44 evas-dev)
45 copy @dev
46 DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
47 giflib-dev libpng16-dev tiff-dev libxml2-dev util-linux-uuid-dev \
48 xorg-dev xorg-libXScrnSaver-dev xorg-libXp-dev pkg-config"
49 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
50 ;;
51 esac
52 }