Merge pull request #48314 from c0deaddict/master
sonic-pi: 3.0.1 -> 3.1.0
This commit is contained in:
commit
192dde6411
@ -20,14 +20,14 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "3.0.1";
|
version = "3.1.0";
|
||||||
name = "sonic-pi-${version}";
|
name = "sonic-pi-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "samaaron";
|
owner = "samaaron";
|
||||||
repo = "sonic-pi";
|
repo = "sonic-pi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1l1892hijp1dj2h799sfjr699q6xp660n0siibab5kv238521a81";
|
sha256 = "0gi4a73szaa8iz5q1gxgpsnyvhhghcfqm6bfwwxbix4m5csbfgh9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -58,21 +58,21 @@ in stdenv.mkDerivation rec {
|
|||||||
export SONIC_PI_HOME=$TMPDIR
|
export SONIC_PI_HOME=$TMPDIR
|
||||||
export AUBIO_LIB=${aubio}/lib/libaubio.so
|
export AUBIO_LIB=${aubio}/lib/libaubio.so
|
||||||
|
|
||||||
pushd app/server/bin
|
pushd app/server/ruby/bin
|
||||||
./compile-extensions.rb
|
./compile-extensions.rb
|
||||||
./i18n-tool.rb -t
|
./i18n-tool.rb -t
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd app/gui/qt
|
pushd app/gui/qt
|
||||||
cp -f ruby_help.tmpl ruby_help.h
|
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 \
|
substituteInPlace SonicPi.pro \
|
||||||
--replace "LIBS += -lrt -lqt5scintilla2" \
|
--replace "LIBS += -lrt -lqt5scintilla2" \
|
||||||
"LIBS += -lrt -lqscintilla2 -lqwt"
|
"LIBS += -lrt -lqscintilla2 -lqwt"
|
||||||
|
|
||||||
lrelease SonicPi.pro
|
lrelease SonicPi.pro
|
||||||
qmake SonicPi.pro
|
qmake SonicPi.pro
|
||||||
|
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Programming language for real time audio synthesis";
|
description = "Programming language for real time audio synthesis";
|
||||||
homepage = http://supercollider.sourceforge.net/;
|
homepage = http://supercollider.sourceforge.net/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = [ "x686-linux" "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user