about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2019-06-17 18:48:48 +0200
committerChristian Kögler <ck3d@gmx.de>2019-06-17 18:48:48 +0200
commit10d9abb1eb117f676d97e3e37574f56d3d21440f (patch)
tree137bc2e03085fc86da860d786643373acc733b1a /pkgs/applications/video
parent8eafd21f9e25d0de92079d04412d985558daeb4d (diff)
vdr-xineliboutput: introduced review comments
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/vdr/xineliboutput/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/applications/video/vdr/xineliboutput/default.nix b/pkgs/applications/video/vdr/xineliboutput/default.nix
index 2184730cd7653..d2215b7e486bd 100644
--- a/pkgs/applications/video/vdr/xineliboutput/default.nix
+++ b/pkgs/applications/video/vdr/xineliboutput/default.nix
@@ -12,13 +12,14 @@
     inherit name;
 
     src = fetchurl {
-      name = "src.tgz";
-      url = "https://sourceforge.net/projects/xineliboutput/files/xineliboutput/${name}/${name}.tgz/download";
-      sha256 = "6af99450ad0792bd646c6f4058f6e49541aab8ba3a10e131f82752f4d5ed19de";
+      url = "mirror://sourceforge/project/xineliboutput/xineliboutput/${name}/${name}.tgz";
+      sha256 = "1phrxpaz8li7z0qy241spawalhcmwkv5hh3gdijbv4h7mm899yba";
     };
 
-    configurePhase = ''
-      ./configure
+    # configure don't accept argument --prefix
+    dontAddPrefix = true;
+
+    postConfigure = ''
       sed -i config.mak \
         -e 's,XINEPLUGINDIR=/[^/]*/[^/]*/[^/]*/,XINEPLUGINDIR=/,'
     '';
@@ -53,11 +54,11 @@
     passthru.requiredXinePlugins = [ xineLib self ];
 
     meta = with lib;{
-      homepage = https://sourceforge.net/projects/xineliboutput/;
-      description = "xine-lib based software output device for VDR.";
+      homepage = "https://sourceforge.net/projects/xineliboutput/";
+      description = "Xine-lib based software output device for VDR";
       maintainers = [ maintainers.ck3d ];
       license = licenses.gpl2;
-      platforms = [ "i686-linux" "x86_64-linux" ];
+      inherit (vdr.meta) platforms;
     };
   };
 in self