wok annotate clutter/receipt @ rev 24540
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 16:54:57 2022 +0000 (2022-02-23) |
parents | 03b2309fd335 |
children |
rev | line source |
---|---|
pankso@4423 | 1 # SliTaz package receipt. |
pankso@4423 | 2 |
pankso@4423 | 3 PACKAGE="clutter" |
erjo@11532 | 4 VERSION="1.6.20" |
pankso@4423 | 5 CATEGORY="x-window" |
pankso@4423 | 6 SHORT_DESC="Animated graphical user interfaces library." |
pankso@4423 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
jozee@5018 | 9 SUGGESTED="nvidia" |
slaxemulator@7639 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4423 | 11 WEB_SITE="http://clutter-project.org/" |
slaxemulator@7637 | 12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@4423 | 13 |
pankso@9808 | 14 DEPENDS="atk libgio gdk-pixbuf cairo pango json-glib mesa libdrm \ |
pankso@9808 | 15 xorg-libXcomposite" |
pankso@9808 | 16 BUILD_DEPENDS="atk-dev libgio-dev gdk-pixbuf-dev cairo-dev pango-dev \ |
pankso@9808 | 17 json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \ |
pascal@14998 | 18 gobject-introspection-dev pkg-config libxml2-dev" |
pankso@9808 | 19 |
pascal@24540 | 20 # What is the latest version available today? |
pascal@24540 | 21 current_version() |
pascal@24540 | 22 { |
pascal@24540 | 23 wget -O - 'https://gitlab.gnome.org/GNOME/clutter/-/tags?sort=updated_desc' 2>/dev/null | \ |
pascal@24540 | 24 sed '/item-title/!d;s|.*">||;s|<.*||;q' |
pascal@24540 | 25 } |
pascal@24540 | 26 |
pankso@4423 | 27 # Rules to configure and make the package. |
pankso@4423 | 28 compile_rules() |
pankso@4423 | 29 { |
pankso@4423 | 30 cd $src |
pankso@4423 | 31 ./configure \ |
slaxemulator@10217 | 32 --enable-introspection \ |
pankso@4423 | 33 $CONFIGURE_ARGS && |
slaxemulator@10217 | 34 make && make install |
pankso@4423 | 35 } |
pankso@4423 | 36 |
pankso@4423 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4423 | 38 genpkg_rules() |
pankso@4423 | 39 { |
pankso@4423 | 40 mkdir -p $fs/usr/lib |
pascal@13796 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13796 | 42 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@4423 | 43 } |
psychomaniak@19154 | 44 |