wok-next view clutter/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clutter"
4 VERSION="1.26.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Animated graphical user interfaces library"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/clutter/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/clutter.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="atk-dev cogl-dev gettext-dev glib-dev
16 gobject-introspection-dev json-glib-dev pango-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules()
20 {
21 ./configure \
22 --enable-egl-backend \
23 --enable-introspection \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 ln -s clutter-1.0.pc $install/usr/lib/pkgconfig/clutter.pc
30 }
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 clutter)
36 copy @std
38 DEPENDS="atk cogl fontconfig glib json-glib libcairo
39 libx11 libxcomposite libxdamage pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="atk-dev cairo-dev clutter cogl-dev glib-dev
44 json-glib-dev libx11-dev libxcomposite-dev
45 libxdamage-dev libxext-dev pango-dev"
46 ;;
47 esac
48 }