wok-next view clutter-gtk/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | 0ed75c3919b1 |
children | e323d0535e2c |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://clutter-project.org/"
11 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ clutter"
14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
15 libtool gtk-doc expat-dev xorg-libxshmfence-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -Np1 -i $stuff/fix-gir.patch
21 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
22 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
23 clutter-gtk/gtk-clutter-embed.c
24 autoreconf -i
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
38 }