Ardour3 fix gtk theme engine
This commit is contained in:
parent
ce9500ea1d
commit
626cdf1cb6
@ -20,12 +20,11 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ alsaLib aubio boost cairomm curl fftw fftwSinglePrec
|
[ alsaLib aubio boost cairomm curl fftw fftwSinglePrec flac glibc
|
||||||
flac glibc glibmm gtk gtkmm jackaudio libgnomecanvas
|
glibmm gtk gtkmm jackaudio libgnomecanvas libgnomecanvasmm liblo
|
||||||
libgnomecanvasmm liblo libmad libogg librdf librdf_raptor
|
libmad libogg librdf librdf_raptor librdf_rasqal libsamplerate
|
||||||
librdf_rasqal libsamplerate libsigcxx libsndfile libusb libuuid
|
libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv lv2
|
||||||
libxml2 libxslt lilv lv2 pango perl pkgconfig python serd sord
|
makeWrapper pango perl pkgconfig python serd sord sratom suil
|
||||||
sratom suil
|
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -39,13 +38,14 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildPhase = "python waf";
|
buildPhase = "python waf";
|
||||||
|
|
||||||
installPhase = "python waf install";
|
# For the custom ardour clearlooks gtk-engine to work, it must be
|
||||||
|
# moved to a directory called "engines" and added to GTK_PATH
|
||||||
postInstall = ''
|
installPhase = ''
|
||||||
mkdir -pv $out/gtk-2.0/2.10.0/engines
|
python waf install
|
||||||
mv lib/ardour3/libclearlooks.so $out/gtk-2.0/2.10.0/engines/
|
mkdir -pv $out/gtk2/engines
|
||||||
wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk-2.0
|
mv $out/lib/ardour3/libclearlooks.so $out/gtk2/engines/
|
||||||
'';
|
wrapProgram $out/bin/ardour3 --prefix GTK_PATH : $out/gtk2
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Multi-track hard disk recording software";
|
description = "Multi-track hard disk recording software";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user