2019-10-31 03:56:05 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
#
|
|
|
|
# Generate the build-info.release file found on download.rockbox.org
|
|
|
|
|
|
|
|
require "./builds.pm";
|
|
|
|
|
2020-11-22 17:41:40 +00:00
|
|
|
my $baseurl="https://download.rockbox.org";
|
|
|
|
|
2019-10-31 03:56:05 +00:00
|
|
|
print "[release]\n";
|
2020-11-29 14:54:47 +00:00
|
|
|
print "build_url=$baseurl/release/%VERSION%/rockbox-%TARGET%-%VERSION%.zip\n";
|
|
|
|
print "voice_url=$baseurl/release/%VERSION%/%TARGET%-%VERSION%-%LANGUAGE%.zip\n";
|
|
|
|
print "manual_url=$baseurl/release/%VERSION%/rockbox-%TARGET%-%VERSION%%FORMAT%\n";
|
2020-11-22 17:41:40 +00:00
|
|
|
print "font_url=$baseurl/release/%VERSION%/rockbox-fonts-%VERSION%.zip\n";
|
|
|
|
print "source_url=$baseurl/release/%VERSION%/rockbox-%VERSION%.7z\n";
|
2019-10-31 03:56:05 +00:00
|
|
|
|
|
|
|
foreach my $b (&stablebuilds) {
|
2020-11-22 17:41:40 +00:00
|
|
|
my $ver;
|
2019-10-31 03:56:05 +00:00
|
|
|
if(exists($builds{$b}{release})) {
|
2020-11-22 17:41:40 +00:00
|
|
|
$ver = $builds{$b}{release};
|
2019-10-31 03:56:05 +00:00
|
|
|
}
|
|
|
|
else {
|
2020-11-22 17:41:40 +00:00
|
|
|
$ver = $publicrelease;
|
2019-10-31 03:56:05 +00:00
|
|
|
}
|
2020-11-22 17:41:40 +00:00
|
|
|
# print "$b=$ver,$baseurl/release/$ver/rockbox-$b-$ver.zip\n";
|
|
|
|
print "$b=$ver\n";
|
2019-10-31 03:56:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
print "[status]\n";
|
|
|
|
|
|
|
|
foreach my $b (&allbuilds) {
|
|
|
|
print "$b=$builds{$b}{status}\n";
|
|
|
|
}
|