git.iko.soy/typeable/nixpkgs
on master help sign in
ardour: add a clarifying comment to patchPhase
commita8113e2c8c3c522e3a35d75c278c582cac444ddb authorFlorian Paul Schmidt <mista.tapas@gmx.net> dateThu 15 Oct 2015, 15:01 (11 years ago) parent7290986
1 file changed+3
pkgs/applications/audio/ardour/default.nix+3
pkgs/applications/audio/ardour/default.nix+3
@@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
3737 makeWrapper pango perl pkgconfig python rubberband serd sord-svn sratom suil taglib vampSDK
3838 ];
3939
40+ # ardour's wscript has a "tarball" target but that required the git revision
41+ # be available. Since this is an unzipped tarball fetched from github we
42+ # have to do that ourself.
4043 patchPhase = ''
4144 printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc
4245 sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript