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, lv2, pkgconfig, python, serd, sord, sratom }:
|
||||
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lilv-${version}";
|
||||
@@ -9,15 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0f24cd7wkk5l969857g2ydz2kjjrkvvddg1g87xzzs78lsvq8fy3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ lv2 python serd sord sratom ];
|
||||
|
||||
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "${python.interpreter} waf";
|
||||
|
||||
installPhase = "${python.interpreter} waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://drobilla.net/software/lilv;
|
||||
description = "A C library to make the use of LV2 plugins";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python }:
|
||||
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lvtk-${version}";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python ];
|
||||
nativeBuildInputs = [ pkgconfig python wafHook ];
|
||||
buildInputs = [ boost gtkmm2 lv2 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -19,15 +19,10 @@ stdenv.mkDerivation rec {
|
||||
sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
python waf configure --prefix=$out \
|
||||
--boost-includes="${boost.dev}/include" \
|
||||
--boost-libs="${boost.out}/lib"
|
||||
'';
|
||||
|
||||
buildPhase = "python waf";
|
||||
|
||||
installPhase = "python waf install";
|
||||
configureFlags = [
|
||||
"--boost-includes=${boost.dev}/include"
|
||||
"--boost-libs=${boost.out}/lib"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A set C++ wrappers around the LV2 C API";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2 }:
|
||||
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ntk-${version}";
|
||||
@@ -10,20 +10,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [
|
||||
cairo libjpeg libXft python2
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
python waf configure --prefix=$out
|
||||
python waf
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
python waf install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fork of FLTK 1.3.0 with additional functionality";
|
||||
version = "${version}";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, boost, gtk2, pkgconfig, python }:
|
||||
{ stdenv, fetchgit, boost, gtk2, pkgconfig, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "raul-unstable-${rev}";
|
||||
@@ -10,15 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ boost gtk2 python ];
|
||||
|
||||
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "${python.interpreter} waf";
|
||||
|
||||
installPhase = "${python.interpreter} waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A C++ utility library primarily aimed at audio/musical applications";
|
||||
homepage = http://drobilla.net/software/raul;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord }:
|
||||
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sratom-${version}";
|
||||
@@ -9,15 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0lz883ravxjf7r9wwbx2gx9m8vhyiavxrl9jdxfppjxnsralll8a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ lv2 python serd sord ];
|
||||
|
||||
configurePhase = "${python.interpreter} waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "${python.interpreter} waf";
|
||||
|
||||
installPhase = "${python.interpreter} waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://drobilla.net/software/sratom;
|
||||
description = "A library for serialising LV2 atoms to/from RDF";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, gtk2, lv2, pkgconfig, python, serd, sord, sratom
|
||||
, wafHook
|
||||
, withQt4 ? true, qt4 ? null
|
||||
, withQt5 ? false, qt5 ? null }:
|
||||
|
||||
@@ -16,17 +17,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0j489gm3fhnmwmbgw30bvd4byw1vsy4yazdlnji8jzhcz0qwb5cq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||
buildInputs = [ gtk2 lv2 python serd sord sratom ]
|
||||
++ (lib.optionals withQt4 [ qt4 ])
|
||||
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
|
||||
|
||||
configurePhase = "python waf configure --prefix=$out";
|
||||
|
||||
buildPhase = "python waf";
|
||||
|
||||
installPhase = "python waf install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://drobilla.net/software/suil;
|
||||
description = "A lightweight C library for loading and wrapping LV2 plugin UIs";
|
||||
|
||||
Reference in New Issue
Block a user