2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3
|
2018-01-02 07:14:26 +00:00
|
|
|
, libpulseaudio, mplayer, gnome_mplayer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gmtk";
|
2018-01-02 07:14:26 +00:00
|
|
|
version = "1.0.9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kdekorte";
|
|
|
|
repo = "gmtk";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1zb5m1y1gckal3140gvx31572a6xpccwfmdwa1w5lx2wdq1pwk1i";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ libtool pkg-config intltool ];
|
2018-01-02 07:14:26 +00:00
|
|
|
buildInputs = [ glib gtk3 libpulseaudio ];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
mplayer = "${mplayer}/bin/mplayer";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-01-02 07:14:26 +00:00
|
|
|
description = "Common functions for gnome-mplayer and gecko-mediaplayer";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer";
|
2018-01-02 07:14:26 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = gnome_mplayer.meta.maintainers;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|