wok annotate clutter-gtk/receipt @ rev 25695

sc-im: replaced released version by development version
author Hans-G?nter Theisgen
date Fri Apr 26 08:13:41 2024 +0100 (3 weeks ago)
parents 0ed75c3919b1
children
rev   line source
pankso@4423 1 # SliTaz package receipt.
pankso@4423 2
pankso@4423 3 PACKAGE="clutter-gtk"
slaxemulator@7547 4 VERSION="0.10.8"
pankso@4423 5 CATEGORY="x-window"
pankso@4423 6 SHORT_DESC="GTK+ libraries for Clutter."
pankso@4423 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@7638 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4423 10 WEB_SITE="http://clutter-project.org/"
slaxemulator@7638 11 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@4423 12
pascal@14996 13 DEPENDS="gtk+ clutter"
pascal@14996 14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
pascal@15009 15 libtool gtk-doc"
pascal@14996 16
pascal@24540 17 # What is the latest version available today?
pascal@24540 18 current_version()
pascal@24540 19 {
pascal@24540 20 wget -O - 'https://gitlab.gnome.org/Archive/clutter-gtk/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24540 21 sed '/item-title/!d;s|.*">||;s|<.*||;q'
pascal@24540 22 }
pascal@24540 23
pankso@4423 24 # Rules to configure and make the package.
pankso@4423 25 compile_rules()
pankso@4423 26 {
pankso@4423 27 cd $src
pankso@9699 28 patch -Np1 -i $stuff/fix-gir.patch
pascal@5718 29 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
pascal@5718 30 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
pascal@5718 31 clutter-gtk/gtk-clutter-embed.c
slaxemulator@12140 32 autoreconf -i
pankso@4423 33 ./configure \
pankso@4423 34 --prefix=/usr \
pankso@4423 35 $CONFIGURE_ARGS &&
pankso@4423 36 make &&
pascal@15045 37 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
pankso@4423 38 }
pankso@4423 39
pankso@4423 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4423 41 genpkg_rules()
pankso@4423 42 {
pankso@4423 43 mkdir -p $fs/usr/lib
pascal@14996 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14996 45 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pankso@4423 46 }