wok view emotion/receipt @ rev 25021

Up evas_generic_loaders (1.7.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 11:39:29 2022 +0000 (23 months ago)
parents 669f61f44760
children
line source
1 # SliTaz package receipt.
3 PACKAGE="emotion"
4 VERSION="1.7.10"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL video and audio codec playback library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="https://download.enlightenment.org/__old/att/releases/$TARBALL"
12 TAGS="e enlightenment efl"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet evas ecore edje eio eeze embryo xine-lib lua"
16 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev eio-dev \
17 eeze-dev xine-lib-dev lua-dev"
18 OPTIONAL_DEPENDS="gstreamer-dev gst-plugins-base-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - http://download.enlightenment.org/rel/libs/emotion_generic_players/ 2>/dev/null | \
24 sed '/emotion_generic_players-[0-9]/!d;/a[0-9].tar/d;s|.*players-||;s|.tar.*||' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export CFLAGS="$CFLAGS -fvisibility=hidden"
31 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
32 ./configure \
33 --disable-doc \
34 --enable-emotion-test \
35 --enable-xine \
36 $CONFIGURE_ARGS &&
37 make $MAKEFILE && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case "$ARCH" in
44 i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;;
45 arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;;
46 esac
47 mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods}
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share $fs/usr
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion
52 cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods}
53 }