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