wxGTK28: fix building + minor update
This commit is contained in:
parent
aa0fb73064
commit
f549fc477d
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ pkgconfig ];
|
buildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ mesa_noglu ];
|
propagatedBuildInputs = [ mesa_noglu ];
|
||||||
|
|
||||||
passthru = { inherit (mesa_noglu) libdrm; };
|
passthru = { inherit (mesa_noglu) libdrm; inherit mesa_noglu; };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "OpenGL utility library";
|
description = "OpenGL utility library";
|
||||||
|
@ -7,12 +7,13 @@ assert withMesa -> mesa != null;
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "wxGTK-2.8.12";
|
version = "2.8.12.1";
|
||||||
|
name = "wxGTK-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/wxwindows/wxGTK-2.8.12.tar.gz;
|
url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
|
||||||
sha256 = "1gjs9vfga60mk4j4ngiwsk9h6c7j22pw26m3asxr1jwvqbr8kkqk";
|
sha256 = "1l1w4i113csv3bd5r8ybyj0qpxdq83lj6jrc5p7cc10mkwyiagqz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer gst_plugins_base GConf ]
|
buildInputs = [ gtk libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer gst_plugins_base GConf ]
|
||||||
@ -29,11 +30,12 @@ stdenv.mkDerivation {
|
|||||||
"--enable-mediactrl"
|
"--enable-mediactrl"
|
||||||
] ++ optional withMesa "--with-opengl";
|
] ++ optional withMesa "--with-opengl";
|
||||||
|
|
||||||
# This variable is used by configure to find some dependencies.
|
# These variables are used by configure to find some dependencies.
|
||||||
SEARCH_INCLUDE =
|
SEARCH_INCLUDE =
|
||||||
"${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";
|
"${libXinerama}/include ${libSM}/include ${libXxf86vm}/include";
|
||||||
|
SEARCH_LIB =
|
||||||
SEARCH_LIB = optionalString withMesa "${mesa}/lib";
|
"${libXinerama}/lib ${libSM}/lib ${libXxf86vm}/lib "
|
||||||
|
+ optionalString withMesa "${mesa.mesa_noglu}/lib ${mesa}/lib ";
|
||||||
|
|
||||||
# Work around a bug in configure.
|
# Work around a bug in configure.
|
||||||
NIX_CFLAGS_COMPILE = "-DHAVE_X11_XLIB_H=1";
|
NIX_CFLAGS_COMPILE = "-DHAVE_X11_XLIB_H=1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user