SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "clutter-gtk"

# SliTaz package receipt.

PACKAGE="clutter-gtk"
VERSION="0.10.8"
CATEGORY="x-window"
SHORT_DESC="GTK+ libraries for Clutter."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://clutter-project.org/"
WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ clutter"
BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
libtool gtk-doc"

# What is the latest version available today?
current_version()
{
    wget -O - 'https://gitlab.gnome.org/Archive/clutter-gtk/-/tags?sort=updated_desc' 2>/dev/null | \
    sed '/item-title/!d;s|.*">||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -Np1 -i $stuff/fix-gir.patch
    sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
           -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
           clutter-gtk/gtk-clutter-embed.c
    autoreconf -i
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)