summary refs log tree commit diff
path: root/pkgs/tools/audio/playerctl
diff options
context:
space:
mode:
authorTor Hedin Brønner <torhedinbronner@gmail.com>2018-09-17 17:29:58 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-11-30 21:35:15 +0100
commit0cd638b2917f749cb60f0b96be0c804953856b13 (patch)
treeb6d359da0b133a7ad44975ef4949a8ee1fd8b50b /pkgs/tools/audio/playerctl
parent38c529f57aa50c1cdb36c1af0488dac363629b72 (diff)
downloadnixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar.gz
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar.bz2
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar.lz
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar.xz
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.tar.zst
nixpkgs-0cd638b2917f749cb60f0b96be0c804953856b13.zip
playerctl: switch to meson and fix build
Diffstat (limited to 'pkgs/tools/audio/playerctl')
-rw-r--r--pkgs/tools/audio/playerctl/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/tools/audio/playerctl/default.nix b/pkgs/tools/audio/playerctl/default.nix
index d2a7358ff8f..497e17e3cc0 100644
--- a/pkgs/tools/audio/playerctl/default.nix
+++ b/pkgs/tools/audio/playerctl/default.nix
@@ -1,5 +1,4 @@
-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, which, gnome2, glib,
-  pkgconfig, gobjectIntrospection }:
+{ stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gobjectIntrospection }:
 
 stdenv.mkDerivation rec {
   name = "playerctl-${version}";
@@ -12,13 +11,12 @@ stdenv.mkDerivation rec {
     sha256 = "0jnylj5d6i29c5y6yjxg1a88r2qfbac5pj95f2aljjkfh9428jbb";
   };
 
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [
-    which autoconf automake libtool gnome2.gtkdoc glib
-    gobjectIntrospection
-  ];
+  nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ];
+  buildInputs = [ glib ];
 
-  preConfigure = "./autogen.sh";
+  # docs somehow crashes the install phase:
+  # https://github.com/acrisci/playerctl/issues/85
+  mesonFlags = [ "-Dgtk-doc=false" ];
 
   meta = with stdenv.lib; {
     description = "Command-line utility and library for controlling media players that implement MPRIS";