wok-next view clutter-gtk/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c654f3c3a858 |
children | ef21df344980 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clutter-gtk"
4 VERSION="0.10.8"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ libraries for Clutter"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://clutter-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
15 libtool gtk-doc expat-dev xorg-libxshmfence-dev"
16 SPLIT="clutter-gtk-dev"
18 compile_rules() {
19 export LDFLAGS="$LDFLAGS -lm -lgthread-2.0"
21 patch -Np1 -i $stuff/fix-gir.patch
22 sed \
23 -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
24 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
25 -i clutter-gtk/gtk-clutter-embed.c
26 autoreconf -i
27 ./configure $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 clutter-gtk)
36 copy @std
37 DEPENDS="gtk+ clutter"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }