renoise: add mpg123 to runtime deps
* renoise: add mpg123 to runtime deps (#47435) * renoise: split native build inputs
This commit is contained in:
parent
c1d760f0bf
commit
233a4ed573
|
@ -1,4 +1,5 @@
|
||||||
{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
|
{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib,
|
||||||
|
mpg123, makeWrapper, releasePath ? null }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
releasePath
|
releasePath
|
||||||
else throw "Platform is not supported by Renoise";
|
else throw "Platform is not supported by Renoise";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
|
buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -56,11 +58,12 @@ stdenv.mkDerivation rec {
|
||||||
ln -s $out/renoise $out/bin/renoise
|
ln -s $out/renoise $out/bin/renoise
|
||||||
|
|
||||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath $out/lib $out/renoise
|
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath $out/lib $out/renoise
|
||||||
|
wrapProgram "$out/renoise" --prefix LD_LIBRARY_PATH : "${mpg123}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Modern tracker-based DAW";
|
description = "Modern tracker-based DAW";
|
||||||
homepage = http://www.renoise.com/;
|
homepage = https://www.renoise.com/;
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = [];
|
maintainers = [];
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
|
|
Loading…
Reference in a new issue