2019-08-07 17:40:57 +01:00
|
|
|
{ lib, mkDerivation, fetchurl, qmake, qtscript }:
|
2013-06-23 10:48:21 +01:00
|
|
|
|
2019-08-07 17:40:57 +01:00
|
|
|
mkDerivation rec {
|
2019-11-03 15:33:19 +00:00
|
|
|
pname = "smplayer";
|
2020-07-07 16:02:23 +01:00
|
|
|
version = "20.6.0";
|
2013-06-23 10:48:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-03 15:33:19 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2020-07-07 16:02:23 +01:00
|
|
|
sha256 = "0c59gfgm2ya8yb2nx7gy1zc0nrr4206213xy86y7jw0bk9mmjxmy";
|
2013-06-23 10:48:21 +01:00
|
|
|
};
|
|
|
|
|
2017-01-14 12:44:19 +00:00
|
|
|
buildInputs = [ qtscript ];
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2016-04-28 22:37:16 +01:00
|
|
|
|
|
|
|
dontUseQmakeConfigure = true;
|
2013-06-23 10:48:21 +01:00
|
|
|
|
2019-11-03 15:33:19 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2013-06-23 10:48:21 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A complete front-end for MPlayer";
|
2019-11-03 15:33:19 +00:00
|
|
|
longDescription = "Either mplayer or mpv should also be installed for smplayer to play medias";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.smplayer.info";
|
2019-08-07 17:40:57 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2013-06-23 10:48:21 +01:00
|
|
|
};
|
|
|
|
}
|