wok-next view clutter/receipt @ rev 20942

Updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 28 08:45:59 2018 +0300 (2018-08-28)
parents 835b3b8ce6ac
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clutter"
4 VERSION="1.26.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Animated graphical user interfaces library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/clutter/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev cogl-dev atk-dev json-glib-dev \
16 gobject-introspection-dev gettext pango-dev"
17 SPLIT="clutter-dev"
19 compile_rules() {
20 ./configure \
21 --enable-introspection \
22 --enable-egl-backend \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 ln -s clutter-1.0.pc $install/usr/lib/pkgconfig/clutter.pc
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 clutter)
34 copy @std
35 DEPENDS="atk cairo cogl fontconfig glib json-glib pango \
36 xorg-libX11 xorg-libXcomposite xorg-libXdamage"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="clutter atk-dev cairo-dev cogl-dev glib-dev json-glib-dev \
41 pango-dev xorg-libX11-dev xorg-libXcomposite-dev \
42 xorg-libXdamage-dev xorg-libXext-dev"
43 ;;
44 esac
45 }