Merge pull request #32205 from cillianderoiste/mhwaveedit

mhwaveedit: fix src url (gna is dead) and use autoreconf for build
This commit is contained in:
adisbladis 2017-11-30 23:00:03 +08:00 committed by GitHub
commit 88417853e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, SDL , alsaLib, gtk2, libjack2, ladspaH
{ stdenv, fetchurl, makeWrapper, SDL, alsaLib, autoreconfHook, gtk2, libjack2, ladspaH
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame
, vorbis-tools }:
@ -7,12 +7,18 @@ stdenv.mkDerivation rec {
version = "1.4.23";
src = fetchurl {
url = "http://download.gna.org/mhwaveedit/${name}.tar.bz2";
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
url = "https://github.com/magnush/mhwaveedit/archive/v${version}.tar.gz";
sha256 = "1lvd54d8kpxwl4gihhznx1b5skhibz4vfxi9k2kwqg808jfgz37l";
};
buildInputs = [ SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
pkgconfig libpulseaudio makeWrapper ];
nativeBuildInputs = [ autoreconfHook ];
preAutoreconf = "(cd docgen && sh gendocs.sh)";
buildInputs = [
SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
pkgconfig libpulseaudio makeWrapper
];
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";