2013-04-04 16:42:17 +01:00
|
|
|
{ stdenv, fetchurl, libtool, intltool, pkgconfig, glib
|
2017-12-19 05:06:17 +00:00
|
|
|
, gtk2, curl, mpd_clientlib, libsoup, gob2, vala, libunique
|
2018-02-25 02:23:58 +00:00
|
|
|
, libSM, libICE, sqlite, hicolor-icon-theme, wrapGAppsHook
|
2013-04-04 16:42:17 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gmpc";
|
2013-04-04 16:42:17 +01:00
|
|
|
version = "11.8.16";
|
|
|
|
|
|
|
|
libmpd = stdenv.mkDerivation {
|
|
|
|
name = "libmpd-11.8.17";
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz";
|
2013-04-04 16:42:17 +01:00
|
|
|
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
|
|
|
};
|
2014-12-10 08:55:22 +00:00
|
|
|
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
2017-09-14 20:24:37 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ glib ];
|
2013-04-04 16:42:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
|
|
};
|
|
|
|
|
2017-12-19 05:06:17 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig libtool intltool gob2 vala wrapGAppsHook ];
|
2013-04-04 16:42:17 +01:00
|
|
|
buildInputs = [
|
2017-12-19 05:06:17 +00:00
|
|
|
glib gtk2 curl mpd_clientlib libsoup
|
2018-02-25 02:23:58 +00:00
|
|
|
libunique libmpd libSM libICE sqlite hicolor-icon-theme
|
2013-04-04 16:42:17 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gmpclient.org";
|
2013-04-04 16:42:17 +01:00
|
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
|
|
license = licenses.gpl2;
|
2019-08-20 14:24:01 +01:00
|
|
|
maintainers = [];
|
2013-04-05 08:36:45 +01:00
|
|
|
platforms = platforms.linux;
|
2013-04-04 16:42:17 +01:00
|
|
|
};
|
|
|
|
}
|