wok-6.x annotate emotion/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 6ebbb23fa7c2 |
children | 669f61f44760 |
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/" |
pankso@13643 | 11 WGET_URL="http://download.enlightenment.org/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 |
pankso@264 | 20 # Rules to configure and make the package. |
pankso@264 | 21 compile_rules() |
pankso@264 | 22 { |
pankso@16141 | 23 export CFLAGS="$CFLAGS -fvisibility=hidden" |
pankso@16141 | 24 export LDFLAGS="$LDFLAGS -fvisibility=hidden" |
pankso@13643 | 25 ./configure \ |
domcox@14677 | 26 --disable-doc \ |
domcox@14677 | 27 --enable-emotion-test \ |
pankso@16162 | 28 --enable-xine \ |
pankso@2917 | 29 $CONFIGURE_ARGS && |
domcox@14677 | 30 make $MAKEFILE && make install |
pankso@264 | 31 } |
pankso@264 | 32 |
pankso@264 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 34 genpkg_rules() |
pankso@264 | 35 { |
pankso@16141 | 36 case "$ARCH" in |
pankso@16141 | 37 i?86) edje_mods="/usr/lib/edje/modules/emotion/linux-gnu-i486-1.0.0" ;; |
pankso@16141 | 38 arm) edje_mods="/usr/lib/edje/modules/emotion/linux-gnueabi-arm-1.0.0" ;; |
pankso@16141 | 39 esac |
pankso@16141 | 40 mkdir -p $fs/usr/lib/emotion ${fs}${edje_mods} |
domcox@14677 | 41 cp -a $install/usr/bin $fs/usr |
pankso@13643 | 42 cp -a $install/usr/share $fs/usr |
pankso@13643 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13643 | 44 cp -a $install/usr/lib/emotion/*.so $fs/usr/lib/emotion |
pankso@16141 | 45 cp -a ${install}${edje_mods}/*.so ${fs}${edje_mods} |
pankso@264 | 46 } |