wok-next view clutter/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | ef21df344980 |
children | d5aab818505e |
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/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 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 }