mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
Merge branch 'qt-5.7-fixes'
This commit is contained in:
commit
02bda5d2af
|
@ -76,5 +76,9 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://www.videolan.org/vlc/;
|
homepage = http://www.videolan.org/vlc/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
|
broken =
|
||||||
|
if withQt5
|
||||||
|
then builtins.compareVersions qtbase.version "5.7.0" >= 0
|
||||||
|
else false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-opengl"
|
"--enable-opengl"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
CXXFLAGS = "-std=c++11";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
|
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
|
||||||
|
|
||||||
|
CXXFLAGS = lib.optional qt5Support "-std=c++11";
|
||||||
|
|
||||||
configureFlags = with lib;
|
configureFlags = with lib;
|
||||||
[
|
[
|
||||||
"--enable-xpdf-headers"
|
"--enable-xpdf-headers"
|
||||||
|
|
Loading…
Reference in a new issue