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