forked from mirrors/nixpkgs
Merge pull request #99591 from santicalcagno/fix-fbpanel-build
fbpanel: fix build by adding gdk-pixbuf-xlib
This commit is contained in:
commit
c35af7b345
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig
|
||||
, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg
|
||||
, libX11, libXmu, libXpm, gtk2, libpng, libjpeg, libtiff, librsvg, gdk-pixbuf, gdk-pixbuf-xlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -10,10 +10,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
|
||||
};
|
||||
buildInputs =
|
||||
[ pkgconfig libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg ];
|
||||
[ pkgconfig libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg gdk-pixbuf gdk-pixbuf-xlib.dev ];
|
||||
|
||||
preConfigure = "patchShebangs .";
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace config.mk \
|
||||
--replace "CFLAGSX =" "CFLAGSX = -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS="-lX11";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue