@@ -12,13 +12,14 @@
1212 inherit name;
1313
1414 src = fetchurl {
15− name = "src.tgz";
16− url = "https://sourceforge.net/projects/xineliboutput/files/xineliboutput/${name}/${name}.tgz/download";
17− sha256 = "6af99450ad0792bd646c6f4058f6e49541aab8ba3a10e131f82752f4d5ed19de";
15+ url = "mirror://sourceforge/project/xineliboutput/xineliboutput/${name}/${name}.tgz";
16+ sha256 = "1phrxpaz8li7z0qy241spawalhcmwkv5hh3gdijbv4h7mm899yba";
1817 };
1918
20− configurePhase = ''
21− ./configure
19+ # configure don't accept argument --prefix
20+ dontAddPrefix = true;
21+
22+ postConfigure = ''
2223 sed -i config.mak \
2324 -e 's,XINEPLUGINDIR=/[^/]*/[^/]*/[^/]*/,XINEPLUGINDIR=/,'
2425 '';
@@ -53,11 +54,11 @@
5354 passthru.requiredXinePlugins = [ xineLib self ];
5455
5556 meta = with lib;{
56− homepage = https://sourceforge.net/projects/xineliboutput/;
57− description = "xine-lib based software output device for VDR.";
57+ homepage = "https://sourceforge.net/projects/xineliboutput/";
58+ description = "Xine-lib based software output device for VDR";
5859 maintainers = [ maintainers.ck3d ];
5960 license = licenses.gpl2;
60− platforms = [ "i686-linux" "x86_64-linux" ];
61+ inherit (vdr.meta) platforms;
6162 };
6263 };
6364in self