mpd_clientlib: 2.11 -> 2.13
This commit is contained in:
parent
15cca009c1
commit
a69aa46ad8
@ -17,11 +17,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "A minimalist command line interface to MPD";
|
description = "A minimalist command line interface to MPD";
|
||||||
homepage = http://www.musicpd.org/clients/mpc/;
|
homepage = http://www.musicpd.org/clients/mpc/;
|
||||||
|
@ -1,24 +1,17 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen }:
|
{ stdenv, fetchFromGitHub, meson, ninja }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "${passthru.majorVersion}.${passthru.minorVersion}";
|
version = "2.13";
|
||||||
name = "libmpdclient-${version}";
|
name = "libmpdclient-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MusicPlayerDaemon";
|
owner = "MusicPlayerDaemon";
|
||||||
repo = "libmpdclient";
|
repo = "libmpdclient";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06rv2j8rw9v9l4nwpvbh28nad8bbg368hzd8s58znbr5pgb8dihd";
|
sha256 = "1g1n6rk8kn87mbjqxxj0vi7haj8xx21xmqlzbrx2fvyp5357zvsq";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook doxygen ];
|
nativeBuildInputs = [ meson ninja ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
majorVersion = "2";
|
|
||||||
minorVersion = "11";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Client library for MPD (music player daemon)";
|
description = "Client library for MPD (music player daemon)";
|
||||||
|
@ -10,12 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
|
sha256 = "0hgb7xh3w455m00lpldwkyrc5spjn3q1pl2ry3kf7w3hiigjpphw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mpd_clientlib curl glib pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ mpd_clientlib curl glib ];
|
||||||
preConfigure = ''
|
|
||||||
export LIBMPDCLIENT_LIBS=${mpd_clientlib}/lib/libmpdclient.so.${mpd_clientlib.majorVersion}.0.${mpd_clientlib.minorVersion}
|
|
||||||
export LIBMPDCLIENT_CFLAGS=${mpd_clientlib}
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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)";
|
description = "A Music Player Daemon (MPD) client which submits information about tracks beeing played to a scrobbler (e.g. last.fm)";
|
||||||
|
Loading…
Reference in New Issue
Block a user