2020-04-24 23:36:52 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, qmake, qtscript }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "smplayer";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "20.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0c59gfgm2ya8yb2nx7gy1zc0nrr4206213xy86y7jw0bk9mmjxmy";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtscript ];
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
|
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A complete front-end for MPlayer";
|
|
|
|
longDescription = "Either mplayer or mpv should also be installed for smplayer to play medias";
|
|
|
|
homepage = "https://www.smplayer.info";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|