treewide: use wafHook
Replace "waf" phases with wafHook that manages everything automatically. Should make things more modular. Packages affected here are: - a2jmidid - ams-lv2 - ardour - fomp - guitarix - ingen - jalv - mda-lv2 - non - patchage - hamster-time-tracker - kupfer - xiphos - xfce4-dockbarx-plugin - xfce4-namebar-plugin - dropbox - clasp - aubio - liliv - lv2 - lvtk - ntk - raul - sratom - suil - ganv - ndn-cxx - ns3 - serd - sord - termbox - wxmupen64plus - jackaudio - pflask - blockhash - glmark2 - weighttp
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python }:
|
||||
{ stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lv2-${version}";
|
||||
@@ -9,15 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0chxwys3vnn3nxc9x2vchm74s9sx0vfra6y893byy12ci61jc1dq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ gtk2 libsndfile python ];
|
||||
|
||||
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "${python.interpreter} waf";
|
||||
|
||||
installPhase = "${python.interpreter} waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://lv2plug.in;
|
||||
description = "A plugin standard for audio systems";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, gtk2, libsndfile, pkgconfig, python }:
|
||||
{ stdenv, fetchgit, gtk2, libsndfile, pkgconfig, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lv2-unstable-${version}";
|
||||
@@ -10,15 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1gp2rd99dfmpibvpixrqn115mrhybzf3if3h8bssf6siyi13f29r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ gtk2 libsndfile python ];
|
||||
|
||||
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "${python.interpreter} waf";
|
||||
|
||||
installPhase = "${python.interpreter} waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://lv2plug.in;
|
||||
description = "A plugin standard for audio systems";
|
||||
|
||||
Reference in New Issue
Block a user