wok-next view clutter/receipt @ rev 21097

gtk-girepository: forgot to remove HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 13:46:24 2019 +0200 (2019-01-01)
parents d5aab818505e
children 82b613cfd1e0
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 libx11 libxcomposite libxdamage"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="clutter atk-dev cairo-dev cogl-dev glib-dev json-glib-dev \
41 pango-dev libx11-dev libxcomposite-dev \
42 libxdamage-dev libxext-dev"
43 ;;
44 esac
45 }