Merge pull request #213500 from ryanorendorff/patch-2
reaper: add curl and libxml2 ld_library_path deps
This commit is contained in:
commit
b8ea5a12fc
1 changed files with 4 additions and 1 deletions
|
@ -4,8 +4,10 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
|
, curl
|
||||||
, gtk3
|
, gtk3
|
||||||
, lame
|
, lame
|
||||||
|
, libxml2
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, vlc
|
, vlc
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
|
@ -69,8 +71,9 @@ stdenv.mkDerivation rec {
|
||||||
# Setting the rpath of the plugin shared object files does not
|
# Setting the rpath of the plugin shared object files does not
|
||||||
# seem to have an effect for some plugins.
|
# seem to have an effect for some plugins.
|
||||||
# We opt for wrapping the executable with LD_LIBRARY_PATH prefix.
|
# We opt for wrapping the executable with LD_LIBRARY_PATH prefix.
|
||||||
|
# Note that libcurl and libxml2 are needed for ReaPack to run.
|
||||||
wrapProgram $out/opt/REAPER/reaper \
|
wrapProgram $out/opt/REAPER/reaper \
|
||||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ lame ffmpeg vlc xdotool ]}"
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ curl lame libxml2 ffmpeg vlc xdotool stdenv.cc.cc.lib ]}"
|
||||||
|
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
ln -s $out/opt/REAPER/reaper $out/bin/
|
ln -s $out/opt/REAPER/reaper $out/bin/
|
||||||
|
|
Loading…
Reference in a new issue