wok-current view clutter-gtk/receipt @ rev 25416
updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 09:20:59 2022 +0100 (2022-08-04) |
parents | 0ed75c3919b1 |
children |
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"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://gitlab.gnome.org/Archive/clutter-gtk/-/tags?sort=updated_desc' 2>/dev/null | \
21 sed '/item-title/!d;s|.*">||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 patch -Np1 -i $stuff/fix-gir.patch
29 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
30 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
31 clutter-gtk/gtk-clutter-embed.c
32 autoreconf -i
33 ./configure \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
46 }