diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2014-03-16 11:32:56 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2014-03-16 11:32:56 +0100 |
commit | 1661501465f0a2d01697b11b53ebf0e5c85daf0c (patch) | |
tree | b25288a82ec3a080140a6312fc85fb5f2b9a6334 /pkgs/applications/audio/ardour/ardour3.nix | |
parent | 2ce7902059467db3b415309bb8e877bb762b7942 (diff) | |
download | nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar.gz nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar.bz2 nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar.lz nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar.xz nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.tar.zst nixlib-1661501465f0a2d01697b11b53ebf0e5c85daf0c.zip |
ardour: make ardour3 the default and remove ardour 2, it doesn't build
Diffstat (limited to 'pkgs/applications/audio/ardour/ardour3.nix')
-rw-r--r-- | pkgs/applications/audio/ardour/ardour3.nix | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/pkgs/applications/audio/ardour/ardour3.nix b/pkgs/applications/audio/ardour/ardour3.nix deleted file mode 100644 index 4315a5a7547e..000000000000 --- a/pkgs/applications/audio/ardour/ardour3.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ stdenv, fetchgit, alsaLib, aubio, boost, cairomm, curl, fftw -, fftwSinglePrec, flac, glibc, glibmm, gtk, gtkmm, jackaudio -, libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf -, librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile -, libusb, libuuid, libxml2, libxslt, lilv, lv2, makeWrapper, pango -, perl, pkgconfig, python, serd, sord, sratom, suil }: - -let - tag = "3.5.357"; -in - -stdenv.mkDerivation rec { - name = "ardour-${tag}"; - - src = fetchgit { - url = git://git.ardour.org/ardour/ardour.git; - rev = "refs/tags/${tag}"; - sha256 = "1e026fb9a6ad4179d52c4b578cc3861bdfd3629b9e7b7a7341d431c7d3692c42"; - }; - - buildInputs = - [ alsaLib aubio boost cairomm curl fftw fftwSinglePrec flac glibc - glibmm gtk gtkmm jackaudio libgnomecanvas libgnomecanvasmm liblo - libmad libogg librdf librdf_raptor librdf_rasqal libsamplerate - libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv lv2 - makeWrapper pango perl pkgconfig python serd sord sratom suil - ]; - - patchPhase = '' - # The funny revision number is from `git describe rev` - printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-gce4d125\"; }\n' > libs/ardour/revision.cc - # Note the different version number - sed -i '33i rev = \"3.5-357-gce4d125\"' wscript - sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript - sed -e 's|^#!/usr/bin/perl.*$|#!${perl}/bin/perl|g' -i tools/fmt-bindings - sed -e 's|^#!/usr/bin/env.*$|#!${perl}/bin/perl|g' -i tools/*.pl - ''; - - configurePhase = "python waf configure --optimize --prefix=$out"; - - buildPhase = "python waf"; - - # For the custom ardour clearlooks gtk-engine to work, it must be - # moved to a directory called "engines" and added to GTK_PATH - installPhase = '' - python waf install - mkdir -pv $out/gtk2/engines - cp build/libs/clearlooks-newer/libclearlooks.so $out/gtk2/engines/ - wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk2 - ''; - - meta = with stdenv.lib; { - description = "Multi-track hard disk recording software"; - longDescription = '' - Also read "The importance of Paying Something" on their homepage, please! - ''; - homepage = http://ardour.org/; - license = licenses.gpl2; - platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; - }; -} |