wok annotate evas/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents b01314c762e9
children 1e09c4c56491
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="evas"
pankso@16134 4 VERSION="1.7.10"
pankso@211 5 CATEGORY="x-window"
domcox@14596 6 SHORT_DESC="EFL Canvas and scenegraph rendering library."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@14994 8 LICENSE="BSD"
gokhlayeh@8505 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pascal@25021 11 WGET_URL="http://download.enlightenment.org/__old/att/releases/$TARBALL"
domcox@14391 12 TAGS="e enlightenment efl"
pankso@16134 13 HOST_ARCH="i486 arm"
pankso@140 14
pankso@16134 15 DEPENDS="eet expat fontconfig freetype giflib libpng tiff libxml2 \
pankso@16135 16 xorg-libXss xorg-libXp eina"
psychomaniak@18351 17 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
psychomaniak@18351 18 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev \
pankso@16135 19 xorg-libXss-dev xorg-libXp-dev eina-dev"
domcox@14596 20 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
pankso@9786 21
pascal@24759 22 # What is the latest version available today?
pascal@24759 23 current_version()
pascal@24759 24 {
pascal@24759 25 wget -O - https://git.enlightenment.org/legacy/evas.git/ 2>/dev/null | \
pascal@24759 26 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
pascal@24759 27 }
pascal@24759 28
pankso@140 29 # Rules to configure and make the package.
pankso@140 30 compile_rules()
pankso@140 31 {
pascal@22363 32 # Update for giflib >= 5 api
pascal@22363 33 sed -i 's|DGifCloseFile(gif|&,NULL|' \
pascal@22363 34 src/modules/loaders/gif/evas_image_load_gif.c
pascal@22363 35
pankso@16134 36 export CFLAGS="$CFLAGS -fvisibility=hidden"
pankso@16134 37 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
domcox@14290 38 ./configure \
domcox@14596 39 --libexecdir=/usr/lib/$PACKAGE \
domcox@14596 40 --enable-cpu-c \
domcox@14290 41 --disable-doc \
domcox@14290 42 --disable-install-examples \
domcox@14290 43 $CONFIGURE_ARGS &&
domcox@14596 44 make $MAKEFLAGS && make install
pankso@140 45 }
pankso@140 46
pankso@140 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 48 genpkg_rules()
pankso@140 49 {
pankso@140 50 mkdir -p $fs/usr/lib
pankso@13635 51 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13635 52 cp -a $install/usr/lib/evas $fs/usr/lib
pankso@2917 53 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
domcox@14596 54 cp -a $install/usr/share $fs/usr
psychomaniak@18352 55 }