mpd_clientlib: 2.11 -> 2.13

This commit is contained in:
Franz Pletz 2017-10-02 20:26:09 +02:00
parent 15cca009c1
commit a69aa46ad8
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
3 changed files with 6 additions and 22 deletions

View file

@ -17,11 +17,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preConfigure = ''
export LIBMPDCLIENT_LIBS=${mpd_clientlib}/lib/libmpdclient.${if stdenv.isDarwin then mpd_clientlib.majorVersion + ".dylib" else "so." + mpd_clientlib.majorVersion + ".0." + mpd_clientlib.minorVersion}
export LIBMPDCLIENT_CFLAGS=${mpd_clientlib}
'';
meta = with stdenv.lib; {
description = "A minimalist command line interface to MPD";
homepage = http://www.musicpd.org/clients/mpc/;

View file

@ -1,24 +1,17 @@
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen }:
{ stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation rec {
version = "${passthru.majorVersion}.${passthru.minorVersion}";
version = "2.13";
name = "libmpdclient-${version}";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "libmpdclient";
rev = "v${version}";
sha256 = "06rv2j8rw9v9l4nwpvbh28nad8bbg368hzd8s58znbr5pgb8dihd";
sha256 = "1g1n6rk8kn87mbjqxxj0vi7haj8xx21xmqlzbrx2fvyp5357zvsq";
};
nativeBuildInputs = [ autoreconfHook doxygen ];
enableParallelBuilding = true;
passthru = {
majorVersion = "2";
minorVersion = "11";
};
nativeBuildInputs = [ meson ninja ];
meta = with stdenv.lib; {
description = "Client library for MPD (music player daemon)";

View file

@ -10,12 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
};
buildInputs = [ mpd_clientlib curl glib pkgconfig ];
preConfigure = ''
export LIBMPDCLIENT_LIBS=${mpd_clientlib}/lib/libmpdclient.so.${mpd_clientlib.majorVersion}.0.${mpd_clientlib.minorVersion}
export LIBMPDCLIENT_CFLAGS=${mpd_clientlib}
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ mpd_clientlib curl glib ];
meta = with stdenv.lib; {
description = "A Music Player Daemon (MPD) client which submits information about tracks beeing played to a scrobbler (e.g. last.fm)";