mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
sonic-pi: 3.0.1 -> 3.1.0
This commit is contained in:
parent
4f3c13b84f
commit
2e31732bc4
|
@ -20,14 +20,14 @@ let
|
|||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
name = "sonic-pi-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "samaaron";
|
||||
repo = "sonic-pi";
|
||||
rev = "v${version}";
|
||||
sha256 = "1l1892hijp1dj2h799sfjr699q6xp660n0siibab5kv238521a81";
|
||||
sha256 = "0gi4a73szaa8iz5q1gxgpsnyvhhghcfqm6bfwwxbix4m5csbfgh9";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -58,21 +58,21 @@ in stdenv.mkDerivation rec {
|
|||
export SONIC_PI_HOME=$TMPDIR
|
||||
export AUBIO_LIB=${aubio}/lib/libaubio.so
|
||||
|
||||
pushd app/server/bin
|
||||
pushd app/server/ruby/bin
|
||||
./compile-extensions.rb
|
||||
./i18n-tool.rb -t
|
||||
popd
|
||||
|
||||
pushd app/gui/qt
|
||||
cp -f ruby_help.tmpl ruby_help.h
|
||||
../../server/bin/qt-doc.rb -o ruby_help.h
|
||||
../../server/ruby/bin/qt-doc.rb -o ruby_help.h
|
||||
|
||||
substituteInPlace SonicPi.pro \
|
||||
--replace "LIBS += -lrt -lqt5scintilla2" \
|
||||
"LIBS += -lrt -lqscintilla2 -lqwt"
|
||||
|
||||
lrelease SonicPi.pro
|
||||
qmake SonicPi.pro
|
||||
qmake SonicPi.pro
|
||||
|
||||
make
|
||||
popd
|
||||
|
|
|
@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Programming language for real time audio synthesis";
|
||||
homepage = http://supercollider.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = [ "x686-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue