wok view emotion/receipt @ rev 14381

re-alpine: build workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 22:23:56 2013 +0200 (2013-04-22)
parents 0941341ce316
children b7bc7276d325
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="1.7.6"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 Emotion is a video (and audio) codec playback library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.enlightenment.org/"
10 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 DEPENDS="eina eet evas ecore edje xine-lib eio"
13 BUILD_DEPENDS="eina-dev eet-dev evas-dev ecore-dev edje-dev eio-dev \
14 embryo-dev xine-lib-dev jpeg-dev expat expat-dev libpng-dev lua5.1-dev \
15 jpeg-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 CFLAGS="$CFLAGS -fvisibility=hidden"
21 LDFLAGS="$LDFLAGS -fvisibility=hidden"
22 export LDFLAGS
23 sed -i 's|.*driver_class.get_.*|//&|' src/modules/xine/emotion_xine_vo_out.c
24 ./configure \
25 --disable-gstreamer \
26 --disable-emotion-test \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0 \
35 $fs/usr/lib/emotion
36 cp -a $install/usr/share $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
39 cp -a $install/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0/*.so \
40 $fs/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0
41 }