Fixing ardour3 theme, it uses its own version of clearlooks which gtk needs to know how to find

svn path=/nixpkgs/trunk/; revision=33522
This commit is contained in:
Cillian de Roiste 2012-04-01 18:31:28 +00:00
parent 1d2ec6c314
commit a582e6185a

View File

@ -1,8 +1,9 @@
{ stdenv, fetchsvn, alsaLib, aubio, boost, cairomm, curl, fftw,
fftwSinglePrec, flac, glib, glibmm, gtk, gtkmm, jackaudio,
libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf,
librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile,
libusb, libuuid, libxml2, libxslt, pango, perl, pkgconfig, python }:
{ stdenv, fetchsvn, alsaLib, aubio, boost, cairomm, curl, fftw
, fftwSinglePrec, flac, glib, glibmm, gtk, gtkmm, jackaudio
, libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg, librdf
, librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile
, libusb, libuuid, libxml2, libxslt, makeWrapper, pango, perl, pkgconfig
, python }:
let
rev = "11483";
@ -35,6 +36,12 @@ stdenv.mkDerivation {
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
'';
meta = with stdenv.lib; {
description = "Multi-track hard disk recording software";
longDescription = ''