Commit 0474967e authored by Sigmanificient's avatar Sigmanificient
Browse files

deadbeef: cleanup

parent 0a58c86f
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -3,8 +3,7 @@
  config,
  clangStdenv,
  fetchFromGitHub,
  autoconf,
  automake,
  autoreconfHook,
  libtool,
  intltool,
  pkg-config,
@@ -147,8 +146,7 @@ clangStdenv.mkDerivation {
  ];

  nativeBuildInputs = [
    autoconf
    automake
    autoreconfHook
    intltool
    libtool
    pkg-config
@@ -157,17 +155,6 @@ clangStdenv.mkDerivation {

  enableParallelBuilding = true;

  preConfigure = ''
    ./autogen.sh
  '';

  postPatch = ''
    # Fix the build on c++17 compiler:
    #   https://github.com/DeaDBeeF-Player/deadbeef/issues/3012
    # TODO: remove after 1.9.5 release.
    substituteInPlace plugins/adplug/Makefile.am --replace 'adplug_la_CXXFLAGS = ' 'adplug_la_CXXFLAGS = -std=c++11 '
  '';

  meta = with lib; {
    description = "Ultimate Music Player for GNU/Linux";
    mainProgram = "deadbeef";