2021-02-12 11:31:57 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libtool
|
|
|
|
, intltool
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, curl
|
|
|
|
, libmpdclient
|
|
|
|
, libsoup
|
|
|
|
, gob2
|
|
|
|
, vala
|
|
|
|
, libunique
|
|
|
|
, libSM
|
|
|
|
, libICE
|
|
|
|
, sqlite
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, wrapGAppsHook
|
2013-04-04 15:42:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gmpc";
|
2013-04-04 15:42:17 +00:00
|
|
|
version = "11.8.16";
|
|
|
|
|
|
|
|
libmpd = stdenv.mkDerivation {
|
2022-09-29 19:53:30 +00:00
|
|
|
pname = "libmpd";
|
|
|
|
version = "11.8.17";
|
2013-04-04 15:42:17 +00:00
|
|
|
src = fetchurl {
|
2022-09-29 19:53:30 +00:00
|
|
|
url = "https://download.sarine.nl/Programs/gmpc/${lib.versions.majorMinor version}/libmpd-${version}.tar.gz";
|
2013-04-04 15:42:17 +00:00
|
|
|
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
|
|
|
};
|
2014-12-10 08:55:22 +00:00
|
|
|
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
2017-09-14 19:24:37 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ glib ];
|
2013-04-04 15:42:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ];
|
2013-04-04 15:42:17 +00:00
|
|
|
buildInputs = [
|
2021-02-12 11:31:57 +00:00
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
curl
|
|
|
|
libmpdclient
|
|
|
|
libsoup
|
|
|
|
libunique
|
|
|
|
libmpd
|
|
|
|
libSM
|
|
|
|
libICE
|
|
|
|
sqlite
|
|
|
|
hicolor-icon-theme
|
2013-04-04 15:42:17 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gmpclient.org";
|
2013-04-04 15:42:17 +00:00
|
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
|
|
license = licenses.gpl2;
|
2019-08-20 13:24:01 +00:00
|
|
|
maintainers = [];
|
2013-04-05 07:36:45 +00:00
|
|
|
platforms = platforms.linux;
|
2013-04-04 15:42:17 +00:00
|
|
|
};
|
|
|
|
}
|
2021-02-12 11:31:57 +00:00
|
|
|
# TODO: what is this libmpd derivation embedded above?
|