wok-next view clutter/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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="devel@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="glib-dev cogl-dev atk-dev json-glib-dev \
16 gobject-introspection-dev gettext-dev pango-dev"
17 SPLIT="$PACKAGE-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 }