1
0
Fork 1
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:
William A. Kennington III 2015-06-24 21:57:59 -07:00
parent 6bb4c1e89f
commit 45a7d4829e

View file

@ -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/;