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