2020-11-25 17:01:25 +00:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitLab, fetchpatch, pkg-config, qmake, qtx11extras, qttools, mpv }:
|
2018-02-28 14:20:52 +00:00
|
|
|
|
2020-04-16 17:55:41 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mpc-qt";
|
2020-04-16 17:55:41 +00:00
|
|
|
version = "2019-06-09";
|
2018-02-28 14:20:52 +00:00
|
|
|
|
2020-04-16 17:55:41 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "mpc-qt";
|
2018-02-28 14:20:52 +00:00
|
|
|
repo = "mpc-qt";
|
2020-04-16 17:55:41 +00:00
|
|
|
rev = "2abe6e7fc643068d50522468fe75d614861555ad";
|
|
|
|
sha256 = "1cis8dl9pm91mpnp696zvwsfp96gkwr8jgs45anbwd7ldw78w4x5";
|
2018-02-28 14:20:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-25 12:41:12 +00:00
|
|
|
patches = [
|
2020-11-25 17:01:25 +00:00
|
|
|
(fetchpatch {
|
2020-11-25 12:41:12 +00:00
|
|
|
url = "https://gitlab.com/mpc-qt/mpc-qt/-/commit/02f2bc7a22e863a89ba322b9acb61cf1aef23ba0.diff";
|
2020-11-25 17:01:25 +00:00
|
|
|
sha256 = "0khld55i194zgi18d0wch5459lfzzkbfdbl1im8akvq8ks5xijis";
|
2020-11-25 12:41:12 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config qmake qttools ];
|
2018-02-28 14:20:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ mpv qtx11extras ];
|
|
|
|
|
|
|
|
qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Media Player Classic Qute Theater";
|
2020-04-16 17:55:41 +00:00
|
|
|
homepage = "https://gitlab.com/mpc-qt/mpc-qt";
|
2018-02-28 14:20:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|