2013-04-04 17:42:17 +02:00
|
|
|
{ stdenv, fetchurl, libtool, intltool, pkgconfig, glib
|
2016-08-21 18:20:34 +02:00
|
|
|
, gtk, curl, mpd_clientlib, libsoup, gob2, vala_0_23, libunique
|
2016-01-07 21:38:16 +01:00
|
|
|
, libSM, libICE, sqlite, hicolor_icon_theme, wrapGAppsHook
|
2013-04-04 17:42:17 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gmpc-${version}";
|
|
|
|
version = "11.8.16";
|
|
|
|
|
|
|
|
libmpd = stdenv.mkDerivation {
|
|
|
|
name = "libmpd-11.8.17";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz;
|
|
|
|
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
|
|
|
};
|
2014-12-10 09:55:22 +01:00
|
|
|
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
2013-04-04 17:42:17 +02:00
|
|
|
buildInputs = [ pkgconfig glib ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libtool intltool pkgconfig glib gtk curl mpd_clientlib libsoup
|
2016-08-21 18:20:34 +02:00
|
|
|
libunique libmpd gob2 vala_0_23 libSM libICE sqlite hicolor_icon_theme
|
2016-01-07 21:38:16 +01:00
|
|
|
wrapGAppsHook
|
2013-04-04 17:42:17 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://gmpclient.org;
|
|
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.rickynils ];
|
2013-04-05 09:36:45 +02:00
|
|
|
platforms = platforms.linux;
|
2013-04-04 17:42:17 +02:00
|
|
|
};
|
|
|
|
}
|