about summary refs log tree commit diff
path: root/pkgs/applications/audio/ardour
diff options
context:
space:
mode:
authorCillian de Róiste <goibhniu@fsfe.org>2013-02-24 02:27:18 +0100
committerCillian de Róiste <goibhniu@fsfe.org>2013-02-24 02:27:18 +0100
commit626cdf1cb6f5af930ebfe8c545a464507a6d87d4 (patch)
tree62a12e332fa8be8af280d626ba5f4423b6d15dd2 /pkgs/applications/audio/ardour
parentce9500ea1d4e0cb4e38916306ffc29fc92570ebf (diff)
downloadnixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar.gz
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar.bz2
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar.lz
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar.xz
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.tar.zst
nixlib-626cdf1cb6f5af930ebfe8c545a464507a6d87d4.zip
Ardour3 fix gtk theme engine
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r--pkgs/applications/audio/ardour/ardour3.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkgs/applications/audio/ardour/ardour3.nix b/pkgs/applications/audio/ardour/ardour3.nix
index d2d2ab37d306..8a5a65f8ed09 100644
--- a/pkgs/applications/audio/ardour/ardour3.nix
+++ b/pkgs/applications/audio/ardour/ardour3.nix
@@ -20,12 +20,11 @@ stdenv.mkDerivation {
   };
 
   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 pango perl pkgconfig python serd sord
-      sratom suil
+    [ 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 = ''
@@ -39,13 +38,14 @@ stdenv.mkDerivation {
 
   buildPhase = "python waf";
 
-  installPhase = "python waf install";
-
-  postInstall = ''
-    mkdir -pv $out/gtk-2.0/2.10.0/engines
-    mv lib/ardour3/libclearlooks.so $out/gtk-2.0/2.10.0/engines/
-    wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk-2.0
-    '';
+  # 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
+    mv $out/lib/ardour3/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";