Commit | Line | Data |
---|---|---|
8210d6cd VM |
1 | # Description: Multi-platform Canvas Library |
2 | # URL: http://www.enlightenment.org/ | |
3 | # Maintainer: Victor Martinez, pitillo at ono dot com | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: eet xorg-libxrender fontconfig x11-fonts-dejavu libsdl | |
6 | ||
7 | name=evas | |
688ab49e | 8 | version=20100202 |
8210d6cd | 9 | release=1 |
688ab49e | 10 | source=(http://lokalix.dyndns.org/crux/distfiles/e17/$name-$version.tar.bz2) |
8210d6cd VM |
11 | |
12 | build() | |
13 | { | |
14 | cd $SRC/e17/$name | |
8210d6cd VM |
15 | |
16 | export EINA_LIBS="-L$CLFS/usr/lib -leet -leina" | |
17 | export EINA_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/eina-0 -I$CLFS/usr/include/eina-0/eina" | |
18 | export EET_LIBS="-L$CLFS/usr/lib -leet" | |
19 | export EET_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/eina-0 -I$CLFS/usr/include/eina-0/eina" | |
20 | export FREETYPE_LIBS="-L$CLFS/usr/lib -lfreetype" | |
21 | export FREETYPE_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2" | |
22 | export XCB_LIBS="-L$CLFS/usr/lib -lxcb -lpixman-1 -lxcb-image -lxcb-shm" | |
23 | export XCB_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/pixman-1" | |
24 | export XCBRENDER_LIBS="-L$CLFS/usr/lib -lxcb-render -lxcb-render-util" | |
25 | export XCBRENDER_CFLAGS="-I$CLFS/usr/include" | |
26 | export SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread" | |
27 | export SDL_CFLAGS="-L$CLFS/usr/lib -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" | |
28 | export CFLAGS="$CFLAGS -I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
29 | export LIBS="-L$CLFS/usr/lib -lXrender -lX11 -lXext" | |
30 | ||
31 | ./autogen.sh --build=$CHOST \ | |
32 | --host=$CTARGET \ | |
33 | --prefix=/usr \ | |
34 | --enable-software-xlib \ | |
35 | --enable-software-xcb \ | |
36 | --enable-xrender-xcb \ | |
37 | --enable-software-sdl \ | |
38 | --enable-xrender-x11 | |
39 | ||
40 | make | |
41 | make install DESTDIR=$PKG | |
42 | } |