wok diff deadbeef/receipt @ rev 24767

Up zbar (0.23.90)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 10:01:29 2022 +0000 (2022-03-19)
parents 109495182d5a
children 6b33f9da53d4
line diff
     1.1 --- a/deadbeef/receipt	Tue Jan 14 07:24:51 2020 +0100
     1.2 +++ b/deadbeef/receipt	Sat Mar 19 10:01:29 2022 +0000
     1.3 @@ -20,6 +20,14 @@
     1.4  	libmad-dev libogg-dev libsamplerate-dev libsndfile libsndfile-dev 
     1.5  	libvorbis-dev libzip-dev util-linux-uuid-dev yasm zlib-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/deadbeef/files/travis/linux/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;/deadbeef-[0-9]/!d;s|.*/deadbeef-||;s|.tar.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {