rustdesk: Add libayatana-appindicator to rpath
To allow using --tray flag, used through tray-icon, libappindicator, libappindicator_sys transitive rust crates dependencies
This commit is contained in:
parent
5c6e85ee47
commit
b9f5606a55
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
, glib
|
, glib
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, libayatana-appindicator
|
||||||
, libgit2
|
, libgit2
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, libsodium
|
, libsodium
|
||||||
|
@ -145,6 +146,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
install -Dm0644 $src/res/logo.svg $out/share/icons/hicolor/scalable/apps/rustdesk.svg
|
install -Dm0644 $src/res/logo.svg $out/share/icons/hicolor/scalable/apps/rustdesk.svg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
patchelf --add-rpath "${libayatana-appindicator}/lib" "$out/lib/rustdesk/rustdesk"
|
||||||
|
'';
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
SODIUM_USE_PKG_CONFIG = true;
|
SODIUM_USE_PKG_CONFIG = true;
|
||||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||||
|
|
Loading…
Reference in a new issue