mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
phonon: Fix building (on gcc5 maybe)
This commit is contained in:
parent
6bb4c1e89f
commit
45a7d4829e
|
@ -18,11 +18,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
||||
"-DPHONON_BUILD_PHONON4QT5=ON"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
]
|
||||
++ optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://phonon.kde.org/;
|
||||
|
|
Loading…
Reference in a new issue