# HG changeset patch # User Pascal Bellard # Date 1644344423 0 # Node ID 932cd974e0813cae0d1a5a1cf195277eaf414742 # Parent afae00265386661e1cdeb10f5a6c114c7e21a9a3 Add some current_version diff -r afae00265386 -r 932cd974e081 gambas2/receipt --- a/gambas2/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gambas2/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev jpeg-dev \ libpng-dev autoconf automake libtool freetype-dev fontconfig-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gambas/files/gambas2/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gambas2/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gavl/receipt --- a/gavl/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gavl/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gmerlin/files/gavl/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gavl/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 genext2fs/receipt --- a/genext2fs/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/genext2fs/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -10,6 +10,14 @@ WEB_SITE="http://genext2fs.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/genext2fs/files/genext2fs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/genext2fs/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 ggseq/receipt --- a/ggseq/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/ggseq/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="wxWidgets28 libsndfile libsamplerate" BUILD_DEPENDS="wxWidgets28-dev libsndfile-dev libsamplerate-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ggseq/files/ggseq/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ggseq/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gif2apng/receipt --- a/gif2apng/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gif2apng/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gif2apng/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 giflib/receipt --- a/giflib/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/giflib/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,13 @@ xorg-libXdmcp" BUILD_DEPENDS="util-linux-uuid-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/giflib/files/ 2>/dev/null | \ + sed '/scope="row/!d;/tar.gz/!d;s|.*/giflib-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gitmail/receipt --- a/gitmail/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gitmail/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gitmail/files/gitmail/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gitmail/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 glew/receipt --- a/glew/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/glew/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -22,6 +22,13 @@ xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/glew/files/glew/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/glew/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gmerlin/receipt --- a/gmerlin/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gmerlin/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \ libpng-dev mesa-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gmerlin/files/gmerlin/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gmerlin/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gmrun/receipt --- a/gmrun/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gmrun/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+ gcc-lib-base popt" BUILD_DEPENDS="gtk+-dev popt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gmrun/files/gmrun/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gmrun/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gmtp/receipt --- a/gmtp/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gmtp/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="flac-dev GConf-dev gtk+-dev libid3tag-dev libmtp-dev libvorbis-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gmtp/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gMTP-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gnaughty/receipt --- a/gnaughty/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gnaughty/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="curl GConf glib gtk+ libglade pcre" BUILD_DEPENDS="curl-dev GConf-dev glib-dev gtk+-dev libglade-dev pcre-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gnaughty/files/gnaughty-stable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gnaughty-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gnomad2/receipt --- a/gnomad2/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gnomad2/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="glib-dev gtk+-dev hal-dev intltool libid3tag-dev libmtp-dev libnjb-dev libusb-compat-dev taglib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gnomad2/files/gnomad2/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*%20||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gnu-netcat/receipt --- a/gnu-netcat/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gnu-netcat/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/netcat/files/netcat/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/netcat/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gnucash/receipt --- a/gnucash/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gnucash/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -17,6 +17,13 @@ libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \ util-linux-uuid-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://sourceforge.net/projects/gnucash/files/gnucash (stable)/' 2>/dev/null | \ + sed '/scope="row/!d;s|.*stable%29/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gnuplot/receipt --- a/gnuplot/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gnuplot/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -17,6 +17,14 @@ freetype-dev libpng-dev xorg-libXpm-dev xorg-libX11-dev xorg-libXau-dev \ xorg-libXdmcp-dev fontconfig-dev expat-dev wxWidgets-dev pango-dev cairo-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gnuplot/files/gnuplot/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gnuplot/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 goldendict/receipt --- a/goldendict/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/goldendict/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="libvorbis-dev zlib-dev hunspell-dev xorg-dev qmake Qt4-dev \ xorg-libXtst-dev phonon-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/goldendict/files/goldendict/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/-src/!d;s|.*/goldendict-||;s|-src.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gperiodic/receipt --- a/gperiodic/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gperiodic/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gperiodic/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gperiodic-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gphoto2/receipt --- a/gphoto2/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gphoto2/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="jpeg libexif libgphoto2 libltdl ncurses popt readline" BUILD_DEPENDS="jpeg-dev libgphoto2-dev libtool popt-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gphoto/files/gphoto/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gphoto/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gphotofs/receipt --- a/gphotofs/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gphotofs/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="fuse libgphoto2 glib" BUILD_DEPENDS="fuse-dev libgphoto2-dev glib-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gphoto/files/gphotofs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gphotofs/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gptfdisk/receipt --- a/gptfdisk/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gptfdisk/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gcc-lib-base ncursesw popt util-linux-uuid" BUILD_DEPENDS="ncursesw-dev popt-dev util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gptfdisk/files/gptfdisk/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gptfdisk/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gputils/receipt --- a/gputils/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gputils/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gputils/files/gputils/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gputils-||;s|.tar.*||;s|-|.|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gqview/receipt --- a/gqview/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gqview/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gqview/files/unstable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/unstable/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 graphicsmagick/receipt --- a/graphicsmagick/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/graphicsmagick/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -16,6 +16,14 @@ xorg-libICE xorg-libSM" BUILD_DEPENDS="util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/graphicsmagick/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 grub4dos/receipt --- a/grub4dos/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/grub4dos/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -12,6 +12,14 @@ BUILD_DEPENDS="lzma gcc3 binutils" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/grub4dos/files/GRUB4DOS/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*%20||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gsim51/receipt --- a/gsim51/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gsim51/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gsim51/files/gsim51/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gSim51v||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gsoap/receipt --- a/gsoap/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gsoap/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libssl zlib" BUILD_DEPENDS="autoconf automake flex openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gsoap2/files/ 2>/dev/null | \ + sed '/scope="row/!d;/zip/!d;s|.*/gsoap_||;s|.zip.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtk-gnutella/receipt --- a/gtk-gnutella/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtk-gnutella/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -18,6 +18,14 @@ BUILD_DEPENDS="glib-dev gtk+-dev libxml2-dev pkg-config xorg-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtk-gnutella/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtk-recordmydesktop/receipt --- a/gtk-recordmydesktop/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtk-recordmydesktop/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python pygtk recordmydesktop" BUILD_DEPENDS="python-dev pygtk-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/recordmydesktop/files/gtk-recordMyDesktop/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtk-recordMyDesktop/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtk-screenshot/receipt --- a/gtk-screenshot/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtk-screenshot/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="autoconf automake gtk+-dev libxml2-dev xorg-libXext-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtk-screenshot/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtk-screenshot-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtkdatabox/receipt --- a/gtkdatabox/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtkdatabox/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="pkg-config libffi gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkdatabox/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;/gtkdatabox/!d;s|.*/gtkdatabox-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtkglext/receipt --- a/gtkglext/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtkglext/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \ util-linux-uuid-dev autoconf pangox-compat-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkglext/files/gtkglext/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtkglext/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtklp/receipt --- a/gtklp/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtklp/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="cups gtk+" BUILD_DEPENDS="autoconf automake cups-dev file gtk+-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtklp/files/gtklp/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtklp/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtkperf/receipt --- a/gtkperf/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtkperf/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev gettext autoconf" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkperf/files/gtkperf/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtkperf/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtkpod/receipt --- a/gtkpod/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtkpod/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal" BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkpod/files/gtkpod/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gtkpod-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gtkspell3/receipt --- a/gtkspell3/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gtkspell3/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -16,6 +16,14 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkspell/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 guacamole/receipt --- a/guacamole/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/guacamole/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -19,6 +19,13 @@ libssh2-dev xorg-dev libjson-c-dev libsndfile-dev flac-dev dbus-dev \ libgcrypt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/guacamole/files/current/source/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/guacamole-client-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gujin/receipt --- a/gujin/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gujin/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gujin/files/gujin/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gujin/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 guvcview/receipt --- a/guvcview/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/guvcview/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gtk+3-dev portaudio-dev ffmpeg-dev libsdl2-dev libv4l-dev \ libgudev-dev libusb-dev gsl-dev alsa-lib-dev jack-audio-connection-kit-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/guvcview/files/source/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/guvcview-src-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r afae00265386 -r 932cd974e081 gvolwheel/receipt --- a/gvolwheel/receipt Tue Feb 08 16:59:06 2022 +0000 +++ b/gvolwheel/receipt Tue Feb 08 18:20:23 2022 +0000 @@ -17,6 +17,13 @@ xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" BUILD_DEPENDS="alsa-lib-dev gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Junker/gvolwheel/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() {