Skip to content

Commit fcdad92

Browse files
Fixup for website urls presented on downloads page: use manifest to override dead links
1 parent 062db07 commit fcdad92

File tree

7 files changed

+26
-2
lines changed

7 files changed

+26
-2
lines changed

build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ for my $package (@packages) {
340340
system ("cp '$fname' '$path/'") && die "Failed to copy $fname to $path\n";
341341
}
342342
}
343+
344+
my $webpage = $manifest->{metadata}->{webpage};
343345

344346
# get plugin version, and generate descr file
345347
# this is needed e.g. for build-md script to find the right plugin zip
@@ -372,6 +374,10 @@ for my $package (@packages) {
372374
# write description file
373375
print "Got descr from $curr\n";
374376
print F $config;
377+
if (defined $webpage) {
378+
# override descr website with manifest website entry
379+
print F "website=${webpage}\n";
380+
}
375381
$found = 1;
376382
last;
377383
}

plugins/ddb_replaygain_control/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
'gtk2/ddb_misc_replaygain_control_GTK2.so',
2121
'gtk3/ddb_misc_replaygain_control_GTK3.so',
2222
]
23+
},
24+
metadata: {
25+
"webpage": "https://github.com/cboxdoerfer/ddb_replaygain_control"
2326
}
2427
}

plugins/deadbeef-gnome-mmkeys/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
out: [
1717
"ddb_gnome_mmkeys.so"
1818
],
19+
},
20+
metadata: {
21+
"webpage": "https://github.com/barthez/deadbeef-gnome-mmkeys"
1922
}
2023
}

plugins/deadbeef-vgmstream/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
out: [
1717
"vgm.so"
1818
],
19+
},
20+
metadata: {
21+
"webpage": "https://github.com/jchv/deadbeef-vgmstream"
1922
}
2023
}

plugins/jack/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
supported_platforms: ['linux'],
33
source: {
44
type: "git",
5-
url: "https://github.com/Alexey-Yakovenko/jack.git",
5+
url: "https://github.com/DeaDBeeF-Player/jack",
66
patches: [
77
"buildfix.diff"
88
],
@@ -15,5 +15,8 @@
1515
out: [
1616
"jack.so"
1717
],
18+
},
19+
metadata: {
20+
"webpage": "https://github.com/DeaDBeeF-Player/jack"
1821
}
1922
}

plugins/stereo_widener/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
supported_platforms: ['linux','mac','windows'],
33
source: {
44
type: "git",
5-
url: "https://github.com/Alexey-Yakovenko/stereo-widener.git",
5+
url: "https://github.com/DeaDBeeF-Player/stereo-widener.git",
66
patches: [
77
"makefix.diff"
88
],
@@ -15,5 +15,8 @@
1515
out: [
1616
"stereo_widener.so"
1717
],
18+
},
19+
metadata: {
20+
"webpage": "https://github.com/DeaDBeeF-Player/stereo-widener"
1821
}
1922
}

plugins/vfs_rar/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
out: [
1717
"vfs_rar.so"
1818
],
19+
},
20+
metadata: {
21+
"webpage": "https://github.com/DeaDBeeF-Player/vfs_rar"
1922
}
2023
}

0 commit comments

Comments
 (0)