mhwaveedit: fix src url (gna is dead) and use autoreconf for build
This commit is contained in:
parent
8bc0bf6785
commit
77882b6dc4
@ -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
|
, ladspaPlugins, libsamplerate, libsndfile, pkgconfig, libpulseaudio, lame
|
||||||
, vorbis-tools }:
|
, vorbis-tools }:
|
||||||
|
|
||||||
@ -7,12 +7,18 @@ stdenv.mkDerivation rec {
|
|||||||
version = "1.4.23";
|
version = "1.4.23";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gna.org/mhwaveedit/${name}.tar.bz2";
|
url = "https://github.com/magnush/mhwaveedit/archive/v${version}.tar.gz";
|
||||||
sha256 = "010rk4mr631s440q9cfgdxx2avgzysr9aq52diwdlbq9cddifli3";
|
sha256 = "1lvd54d8kpxwl4gihhznx1b5skhibz4vfxi9k2kwqg808jfgz37l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL alsaLib gtk2 libjack2 ladspaH libsamplerate libsndfile
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
pkgconfig libpulseaudio makeWrapper ];
|
|
||||||
|
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";
|
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user