qt, glew: propagate glu
After removing qt's dependency on the symlinked combination of mesa and glu,
many qt apps were missing it now (since e9f0d10
).
I resove this to a compromise.
This commit is contained in:
parent
72a8019334
commit
de5b992ecf
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, mesa, x11, libXmu, libXi }:
|
||||
{ stdenv, fetchurl, mesa_glu, x11, libXmu, libXi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glew-1.9.0";
|
||||
@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa x11 libXmu libXi ];
|
||||
buildInputs = [ x11 libXmu libXi ];
|
||||
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, substituteAll
|
||||
, libXrender, libXinerama, libXcursor, libXmu , libXv, libXext
|
||||
, libXfixes, libXrandr, libSM, freetype, fontconfig
|
||||
, zlib, libjpeg, libpng, libmng, which, mesa, openssl, dbus, cups, pkgconfig
|
||||
, zlib, libjpeg, libpng, libmng, which, mesa, mesa_glu, openssl, dbus, cups, pkgconfig
|
||||
, libtiff, glib, icu
|
||||
, mysql, postgresql, sqlite
|
||||
, perl, coreutils, libXi
|
||||
@ -103,7 +103,8 @@ stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs =
|
||||
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes libXv libXi
|
||||
libSM zlib libpng openssl dbus.libs freetype fontconfig glib ]
|
||||
++ optional (stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms) mesa
|
||||
# Qt doesn't directly need GLU (just GL), but many apps use, it's small and doesn't remain a runtime-dep if not used
|
||||
++ optional (stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms) mesa_glu
|
||||
++ optional ((buildWebkit || buildMultimedia) && stdenv.isLinux ) alsaLib
|
||||
++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst_plugins_base ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user