mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
musescore: 2.0.0 -> 2.0.1
This commit is contained in:
parent
13cc88f273
commit
d866d4616d
@ -1,27 +1,47 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, cmake, qt5, pkgconfig, alsaLib, portaudio, jack2
|
{ stdenv, fetchurl, cmake, pkgconfig
|
||||||
, lame, libsndfile, libvorbis }:
|
, alsaLib, freetype, jack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
|
||||||
|
, portaudio, qt5 #, tesseract
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "musescore-${version}";
|
name = "musescore-${version}";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/musescore/MuseScore/archive/v${version}.tar.gz";
|
url = "https://github.com/musescore/MuseScore/archive/v${version}.tar.gz";
|
||||||
sha256 = "1a4fz9pqwz59brfa7qn61364hyd07lsq3lflkzn1w2q21d7xd20w";
|
sha256 = "0n4xk35jggdq2dcizqjq1kdpclih4scpl93ymmxahvfa1vvwn5iw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
makeFlags = [
|
||||||
makeWrapper cmake qt5.base pkgconfig alsaLib portaudio jack2 lame libsndfile libvorbis
|
"PREFIX=$(out)"
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
cmakeFlags = [
|
||||||
sed s,"/usr/local",$out, -i Makefile
|
"-DAEOLUS=OFF"
|
||||||
|
"-DZERBERUS=ON"
|
||||||
|
"-DOSC=ON=ON"
|
||||||
|
"-DOMR=OFF" # TODO: add OMR support, CLEF_G not declared error
|
||||||
|
"-DOCR=OFF" # Not necessary without OMR
|
||||||
|
"-DSOUNDFONT3=ON"
|
||||||
|
"-DHAS_AUDIOFILE=ON"
|
||||||
|
"-DBUILD_JACK=ON"
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
make lupdate
|
||||||
|
make lrelease
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = "make lrelease";
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib jack2 freetype lame libogg libpulseaudio libsndfile libvorbis
|
||||||
|
portaudio qt5.base qt5.declarative qt5.enginio qt5.script qt5.svg qt5.tools
|
||||||
|
qt5.webkit qt5.xmlpatterns #tesseract
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Qt-based score editor";
|
description = "Music notation and composition software";
|
||||||
homepage = http://musescore.org/;
|
homepage = http://musescore.org/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user