wok diff gamin/receipt @ rev 24936

created recipe for mypaint-brushes
author Hans-G?nter Theisgen
date Thu Apr 14 09:08:33 2022 +0100 (2022-04-14)
parents 86790a278e70
children 00e3b45c063b
line diff
     1.1 --- a/gamin/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/gamin/receipt	Thu Apr 14 09:08:33 2022 +0100
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="LGPL2"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://www.gnome.org/~veillard/gamin/"
     1.8 +WEB_SITE="https://gitlab.gnome.org/Archive/gamin"
     1.9  WGET_URL="https://www.gnome.org/~veillard/gamin/sources/$TARBALL"
    1.10  
    1.11  #HOST_ARCH="i486 arm"
    1.12 @@ -16,6 +16,13 @@
    1.13  DEPENDS="glib"
    1.14  BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - https://gitlab.gnome.org/Archive/gamin/-/tags?sort=updated_desc 2>/dev/null | \
    1.20 +	sed '/item-title/!d;s|.*GAMIN_||;s|<.*||;s|_|.|g;q'
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {