Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anydesk: add missing dependencies #366250

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions pkgs/by-name/an/anydesk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
cairo,
gdk-pixbuf,
glib,
gnome2,
gtk2,
gtk3,
dbus,
harfbuzz,
libz,
libGLU,
libGL,
pango,
Expand Down Expand Up @@ -48,10 +50,12 @@ stdenv.mkDerivation (finalAttrs: {
cairo
gdk-pixbuf
glib
gtk2
gtk3
dbus
harfbuzz
libz
stdenv.cc.cc
pango
gnome2.gtkglext
libGLU
libGL
minizip
Expand Down Expand Up @@ -112,18 +116,15 @@ stdenv.mkDerivation (finalAttrs: {
--set-rpath "${lib.makeLibraryPath finalAttrs.buildInputs}" \
$out/bin/anydesk

# pangox is not actually necessary (it was only added as a part of gtkglext)
patchelf \
--remove-needed libpangox-1.0.so.0 \
$out/bin/anydesk

wrapProgram $out/bin/anydesk \
--prefix PATH : ${
lib.makeBinPath [
lsb-release
pciutils
]
}
} \
--prefix GDK_BACKEND : x11 \
--set GTK_THEME Adwaita
'';

passthru = {
Expand Down
Loading