nixpkgs/pkgs/applications/video/smplayer/default.nix

28 lines
630 B
Nix
Raw Normal View History

2016-04-28 23:37:16 +02:00
{ stdenv, fetchurl, qmakeHook, qtscript }:
2013-06-23 11:48:21 +02:00
stdenv.mkDerivation rec {
2016-01-28 23:37:42 +01:00
name = "smplayer-16.1.0";
2013-06-23 11:48:21 +02:00
src = fetchurl {
url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
2016-01-28 23:37:42 +01:00
sha256 = "1jfqpmbbjrs9lna44dp10zblj7b0cras9sb0nczycpkcsdi9np6j";
2013-06-23 11:48:21 +02:00
};
2014-10-11 02:23:01 +02:00
patches = [ ./basegui.cpp.patch ];
2016-04-28 23:37:16 +02:00
buildInputs = [ qmakeHook qtscript ];
dontUseQmakeConfigure = true;
2013-06-23 11:48:21 +02:00
preConfigure = ''
makeFlags="PREFIX=$out"
'';
meta = {
description = "A complete front-end for MPlayer";
homepage = "http://smplayer.sourceforge.net/";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
2013-06-23 11:48:21 +02:00
};
}