Merge pull request #31361 from yegortimoshenko/lmms/1.2.0-rc4

lmms: 1.1.90 -> 1.2.0-rc4, Qt5, optional lame, libsoundio, portaudio
This commit is contained in:
Jörg Thalheim 2017-11-07 19:03:49 +00:00 committed by GitHub
commit 15e42939cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 12 deletions

View File

@ -1,31 +1,47 @@
{ stdenv, fetchFromGitHub, SDL, alsaLib, cmake, fftwSinglePrec, fluidsynth { stdenv, fetchFromGitHub, cmake, pkgconfig, alsaLib ? null, fftwFloat, fltk13
, fltk13, libjack2, libvorbis , libsamplerate, libsndfile, pkgconfig , fluidsynth ? null, lame ? null, libgig ? null, libjack2 ? null, libpulseaudio ? null
, libpulseaudio, qt4, freetype, libgig , libsamplerate, libsoundio ? null, libsndfile, libvorbis ? null, portaudio ? null
}: , qtbase, qttools, SDL ? null }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "lmms-${version}"; name = "lmms-${version}";
version = "1.1.90"; version = "1.2.0-rc4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LMMS"; owner = "LMMS";
repo = "lmms"; repo = "lmms";
rev = "v${version}"; rev = "v${version}";
sha256 = "0njiarndwqamqiinr1wbwkzjn87yzr1z5k9cfwk0jdkbalgakkq3"; sha256 = "1n3py18zqbvfnkdiz4wc6z60xaajpkd3kn1wxmby5dmc4vccvjj5";
}; };
nativeBuildInputs = [ cmake qttools pkgconfig ];
buildInputs = [ buildInputs = [
SDL alsaLib cmake fftwSinglePrec fltk13 fluidsynth libjack2 libgig alsaLib
libsamplerate libsndfile libvorbis pkgconfig libpulseaudio qt4 fftwFloat
fltk13
fluidsynth
lame
libgig
libjack2
libpulseaudio
libsamplerate
libsndfile
libsoundio
libvorbis
portaudio
qtbase
SDL # TODO: switch to SDL2 in the next version
]; ];
cmakeFlags = [ "-DWANT_QT5=ON" ];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Linux MultiMedia Studio"; description = "DAW similar to FL Studio (music production software)";
homepage = https://lmms.io; homepage = https://lmms.io;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ]; maintainers = with maintainers; [ goibhniu yegortimoshenko ];
}; };
} }

View File

@ -15489,8 +15489,10 @@ with pkgs;
llpp = ocaml-ng.ocamlPackages.callPackage ../applications/misc/llpp { }; llpp = ocaml-ng.ocamlPackages.callPackage ../applications/misc/llpp { };
lmms = callPackage ../applications/audio/lmms { lmms = libsForQt5.callPackage ../applications/audio/lmms {
stdenv = overrideCC stdenv gcc5; lame = null;
libsoundio = null;
portaudio = null;
}; };
loxodo = callPackage ../applications/misc/loxodo { }; loxodo = callPackage ../applications/misc/loxodo { };