wok view efl/receipt @ rev 22363

efl, emacs, evas: giflib >= 5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 21 17:10:37 2019 +0100 (11 months ago)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="efl"
4 VERSION="1.8.4"
5 CATEGORY="base-system"
6 SHORT_DESC="EFL Core data structure library."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/rel/libs/$PACKAGE/$TARBALL"
12 TAGS="e enlightenment efl"
14 DEPENDS="gstreamer gst-plugins-base
15 util-linux-mount util-linux-blkid udev openssl dbus
16 libjpeg fribidi giflib tiff libsndfile lua
17 xorg-libXp xorg-libXScrnSaver mesa bullet util-linux-uuid"
19 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev check-dev
20 util-linux-mount-dev util-linux-blkid-dev udev-dev openssl-dev dbus-dev
21 jpeg-dev fribidi-dev giflib-dev tiff-dev libsndfile-dev lua-dev
22 xorg-libXp-dev xorg-printproto xorg-scrnsaverproto xorg-libXScrnSaver-dev
23 mesa-dev util-linux-uuid-dev libxml2-dev flac-dev
24 autoconf automake"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Update for giflib >= 5 api
30 sed -i 's|DGifCloseFile.*gif|&,NULL|' \
31 src/modules/evas/loaders/gif/evas_image_load_gif.c
33 autoreconf -v &&
34 ac_aux_dir=$src ./configure \
35 --disable-static \
36 --disable-doc \
37 --disable-pulseaudio \
38 --disable-physics \
39 $CONFIGURE_ARGS &&
40 make && make -j1 install DESTDIR=$install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/e* $fs/usr/lib
50 cp -a $install/usr/share $fs/usr/
51 rm -rf $fs/usr/share/mime
52 }