playerctl: switch to meson and fix build
This commit is contained in:
parent
38c529f57a
commit
0cd638b291
|
@ -1,5 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, which, gnome2, glib,
|
{ stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gobjectIntrospection }:
|
||||||
pkgconfig, gobjectIntrospection }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "playerctl-${version}";
|
name = "playerctl-${version}";
|
||||||
|
@ -12,13 +11,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0jnylj5d6i29c5y6yjxg1a88r2qfbac5pj95f2aljjkfh9428jbb";
|
sha256 = "0jnylj5d6i29c5y6yjxg1a88r2qfbac5pj95f2aljjkfh9428jbb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
|
||||||
buildInputs = [
|
buildInputs = [ glib ];
|
||||||
which autoconf automake libtool gnome2.gtkdoc glib
|
|
||||||
gobjectIntrospection
|
|
||||||
];
|
|
||||||
|
|
||||||
preConfigure = "./autogen.sh";
|
# docs somehow crashes the install phase:
|
||||||
|
# https://github.com/acrisci/playerctl/issues/85
|
||||||
|
mesonFlags = [ "-Dgtk-doc=false" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Command-line utility and library for controlling media players that implement MPRIS";
|
description = "Command-line utility and library for controlling media players that implement MPRIS";
|
||||||
|
|
Loading…
Reference in New Issue