# HG changeset patch # User Pascal Bellard # Date 1645635297 0 # Node ID 544e47246b3381cff8253490b7c139f9076639ae # Parent ca9faecbdfadd468c9b4b36524f979423f5d4852 Add some current_version diff -r ca9faecbdfad -r 544e47246b33 clutter-gtk/receipt --- a/clutter-gtk/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/clutter-gtk/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ 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() { diff -r ca9faecbdfad -r 544e47246b33 clutter/receipt --- a/clutter/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/clutter/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -17,6 +17,13 @@ json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \ gobject-introspection-dev pkg-config libxml2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.gnome.org/GNOME/clutter/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 consonance/receipt --- a/consonance/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/consonance/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -19,6 +19,13 @@ libmad-dev libmodplug-dev libnotify-dev libogg-dev libsndfile-dev libvorbis-dev sqlite-dev taglib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/tgalal/consonance/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 deluge/receipt --- a/deluge/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/deluge/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -15,6 +15,13 @@ twisted xdg-utils pygtk python-six" BUILD_DEPENDS="python-dev python-setuptools librsvg-dev intltool" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/deluge-torrent/deluge/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 dfc/receipt --- a/dfc/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/dfc/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev cmake gettext" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rolinh/dfc/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 enki/receipt --- a/enki/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/enki/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="subversion cmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/andreikop/enki/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 fbreader/receipt --- a/fbreader/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/fbreader/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="expat-dev liblinebreak-dev curl-dev fribidi-dev bzip2-dev sqlite-dev gtk+-dev" DEPENDS="expat liblinebreak curl fribidi bzip2 sqlite gtk+" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/geometer/FBReader/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 fcitx-configtool/receipt --- a/fcitx-configtool/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/fcitx-configtool/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="fcitx libunique-dev gtk+-dev cmake intltool xorg-libXrender-dev \ pkg-config cairo-dev pango-dev fcitx-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/fcitx/fcitx-configtool/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 fcitx-googlepinyin/receipt --- a/fcitx-googlepinyin/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/fcitx-googlepinyin/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="fcitx libgooglepinyin" BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc fcitx fcitx-dev libgooglepinyin-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/fcitx/fcitx-googlepinyin/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 fcitx/receipt --- a/fcitx/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/fcitx/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libfcitx fcitx-skin-default gtk+" BUILD_DEPENDS="cmake intltool cairo-dev pango-dev gtk+-dev dbus-dev opencc-dev gcc" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/fcitx/fcitx/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 flmusic/receipt --- a/flmusic/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/flmusic/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="fltk alsa-lib sox" BUILD_DEPENDS="fltk-dev alsa-lib-dev sox-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/bbidulock/flmusic/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 fontconfig-infinality/receipt --- a/fontconfig-infinality/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/fontconfig-infinality/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="fontconfig" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/bohoomil/fontconfig-ultimate/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-||g;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r ca9faecbdfad -r 544e47246b33 ftjam/receipt --- a/ftjam/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/ftjam/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="glibc-base" BUILD_DEPENDS="bison" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/freetype/files/ftjam/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ftjam/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { cd $src diff -r ca9faecbdfad -r 544e47246b33 gcc+gcj/receipt --- a/gcc+gcj/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/gcc+gcj/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -26,6 +26,13 @@ xorg-kbproto xorg-libXtst xorg-randrproto xorg-renderproto xorg-xextproto xorg-xproto \ elfutils elfutils-dev util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gcc.gnu.org/git/?p=gcc.git;a=summary' 2>/dev/null | \ + sed '/ release/!d;s|.*GCC ||;s| release.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 gcc/receipt --- a/gcc/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/gcc/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -26,6 +26,13 @@ languages="c,c++" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gcc.gnu.org/git/?p=gcc.git;a=summary' 2>/dev/null | \ + sed '/ release/!d;s|.*GCC ||;s| release.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 geeqie/receipt --- a/geeqie/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/geeqie/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ lcms" BUILD_DEPENDS="gettext intltool gtk+-dev lcms-dev wget automake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/BestImageViewer/geeqie/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 gf2x/receipt --- a/gf2x/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/gf2x/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.inria.fr/gf2x/gf2x/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">gf2x-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 glusterfs/receipt --- a/glusterfs/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/glusterfs/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python readline mpc-library elfutils openssl" BUILD_DEPENDS="flex python readline-dev mpc-library elfutils openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/gluster/glusterfs/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 gnome-mplayer/receipt --- a/gnome-mplayer/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/gnome-mplayer/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="mplayer gtk+ dbus-glib libnotify alsa-lib libgpod" BUILD_DEPENDS="$DEPENDS dbus-dev dbus-glib-dev libnotify-dev libgpod-dev pkg-config xorg-libX11-dev libxcb-dev gtk+-dev xorg-libXss-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kdekorte/gnome-mplayer/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 icecast/receipt --- a/icecast/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/icecast/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libogg libtheora libvorbis libxml2 libxslt" BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev libxml2-dev libxslt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://gitlab.xiph.org/xiph/icecast-server/-/tags 2>/dev/null | \ + sed '/item-title/!d;s|.*">v||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 iptraf-ng/receipt --- a/iptraf-ng/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/iptraf-ng/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncursesw" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/iptraf-ng/iptraf-ng/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 kactivities/receipt --- a/kactivities/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/kactivities/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -15,6 +15,13 @@ shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl \ polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative kdelibs kdelibs-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/KDE/kactivities/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 kate/receipt --- a/kate/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/kate/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -16,6 +16,13 @@ strigi-dev libdbusmenu-qt-dev dbus-dev polkit-qt-dev libQtDeclarative" # kactivities shared-mime-info-dev +# What is the latest version available today? +current_version() +{ + wget -O - https://apps.kde.org/kate/ 2>/dev/null | \ + sed '/release mt/!d;s|.*">||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 kfilemetadata/receipt --- a/kfilemetadata/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/kfilemetadata/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -19,6 +19,13 @@ polkit-qt-dev libdbusmenu-qt-dev alsa-lib-dev exiv2-dev attica-dev \ libQtDeclarative kdelibs kdelibs-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/KDE/kfilemetadata/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 konsole/receipt --- a/konsole/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/konsole/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -17,6 +17,13 @@ polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev exiv2-dev \ attica-dev kactivities kdelibs kdelibs-dev " +# What is the latest version available today? +current_version() +{ + wget -O - https://apps.kde.org/konsole/ 2>/dev/null | \ + sed '/release mt/!d;s|.*">||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libesmtp/receipt --- a/libesmtp/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libesmtp/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libltdl libssl" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/libesmtp/libESMTP/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libguess/receipt --- a/libguess/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libguess/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base glibc-base" BUILD_DEPENDS="git" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kaniini/libguess/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libmrss-dev/receipt --- a/libmrss-dev/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libmrss-dev/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -8,7 +8,6 @@ LICENSE="GPL" WEB_SITE="http://www.autistici.org/bakunin" TARBALL="$PACKAGE-$VERSION.tar.gz" -#WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" WANTED="libmrss" DEPENDS="libmrss pkg-config libnxml libcurl curl-dev" diff -r ca9faecbdfad -r 544e47246b33 libmrss/receipt --- a/libmrss/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libmrss/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libnxml" BUILD_DEPENDS="libnxml libnxml-dev libcurl curl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/bakulf/libmrss/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libnxml-dev/receipt --- a/libnxml-dev/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libnxml-dev/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -8,7 +8,6 @@ LICENSE="GPL" WEB_SITE="http://www.autistici.org/bakunin" TARBALL="$PACKAGE-$VERSION.tar.gz" -#WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" WANTED="libnxml" DEPENDS="libnxml pkg-config libcurl curl-dev" diff -r ca9faecbdfad -r 544e47246b33 libnxml/receipt --- a/libnxml/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libnxml/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="libcurl curl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/bakulf/libnxml/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libshout/receipt --- a/libshout/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libshout/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libtheora libvorbis speex" BUILD_DEPENDS="libogg-dev libtheora-dev libvorbis-dev speex-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.xiph.org/xiph/icecast-libshout/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">v||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libtheora/receipt --- a/libtheora/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libtheora/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libogg libvorbis" BUILD_DEPENDS="libogg-dev libvorbis-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/xiph/theora/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 libxfcegui4/receipt --- a/libxfcegui4/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/libxfcegui4/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev libglade-dev xcb-util-dev intltool util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://git.xfce.org/archive/libxfcegui4/ 2>/dev/null | \ + sed '/tag.?h=/!d;s|.*libxfcegui4-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 lite/receipt --- a/lite/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/lite/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -22,6 +22,13 @@ export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rxi/lite/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 lorcon/receipt --- a/lorcon/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/lorcon/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="subversion" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kismetwireless/lorcon/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|\.||g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 marlin/receipt --- a/marlin/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/marlin/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -17,6 +17,13 @@ dbus-glib-dev libnotify-gtk3-dev dconf-dev tumbler-dev ffmpegthumbnailer-dev \ granite-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/marlin/files/ 2>/dev/null | \ + sed '/sub-label/!d;s|.*marlin-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 mdk3/receipt --- a/mdk3/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/mdk3/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/charlesxsh/mdk3-master/master/CHANGELOG 2>/dev/null | \ + sed '/^version/!d;s|version |v|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 musique/receipt --- a/musique/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/musique/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -15,6 +15,13 @@ phonon phonon-backend-gstreamer taglib" BUILD_DEPENDS="wget cacerts Qt4-dev qmake taglib-dev phonon-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/flaviotordini/musique/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ca9faecbdfad -r 544e47246b33 mysql/receipt --- a/mysql/receipt Wed Feb 23 15:32:13 2022 +0100 +++ b/mysql/receipt Wed Feb 23 16:54:57 2022 +0000 @@ -18,6 +18,13 @@ gcc-lib-base openssl readline" BUILD_DEPENDS="cmake openssl-dev zlib-dev ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mysql/mysql-server/tags 2>/dev/null | \ + sed '/mysql-[0-9]/!d;/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() {