wok-next view clutter-gtk/receipt @ rev 20479
lua5.1: typo in patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 11 23:49:46 2018 +0100 (2018-03-11) |
parents | 639a8f8142dd |
children | dfe25744cfaf |
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 patch -Np1 -i $stuff/fix-gir.patch
20 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
21 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
22 clutter-gtk/gtk-clutter-embed.c
23 autoreconf -i
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 clutter-gtk)
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
37 DEPENDS="gtk+ clutter"
38 ;;
39 *-dev)
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $install/usr/lib/*.*a $fs/usr/lib
42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
43 cp -a $install/usr/include $fs/usr
44 cp -a $install/usr/share/gir-1.0 $fs/usr/share
45 ;;
46 esac
47 }