about summary refs log tree commit diff
path: root/pkgs/applications/audio/lmms
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-06-26 21:25:07 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-06-26 21:56:47 +0200
commit4e39e578f2af9f41439d40914d0475f5a926a70f (patch)
tree6c821adf07701a09134839fed0baeabe33c1281a /pkgs/applications/audio/lmms
parente80ec957f04e6f867518756ead9d0767ca2584b7 (diff)
downloadnixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar.gz
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar.bz2
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar.lz
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar.xz
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.tar.zst
nixlib-4e39e578f2af9f41439d40914d0475f5a926a70f.zip
lmms: fix build with freetype-2.5
Diffstat (limited to 'pkgs/applications/audio/lmms')
-rw-r--r--pkgs/applications/audio/lmms/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix
index 5195ddd42a13..46d5017c4fe1 100644
--- a/pkgs/applications/audio/lmms/default.nix
+++ b/pkgs/applications/audio/lmms/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jackaudio, libogg
-, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4
+, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype
 }:
 
 stdenv.mkDerivation  rec {
@@ -16,6 +16,11 @@ stdenv.mkDerivation  rec {
     libsndfile pkgconfig pulseaudio qt4
   ];
 
+  # work around broken build system of 0.4.*
+  NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
+
+  enableParallelBuilding = true;
+
   meta = with stdenv.lib; {
     description = "Linux MultiMedia Studio";
     homepage = "http://lmms.sourceforge.net";