Skip to content

Commit 2704bfb

Browse files
committed
Script: modify script to support deepin
1 parent 0ccb71a commit 2704bfb

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Script/build_depend.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,8 @@ if [ $BASE_LIBS -eq 1 ]; then
558558
libxcb-cursor-dev libxcb-xkb-dev libxcb-keysyms1-dev \
559559
libxcb-* libxcb-cursor0 \
560560
libxkbcommon-dev
561-
if ! [[ $DISTRO_VERSION =~ 26\.[0-9]+ ]]; then
562-
package_install xserver-xorg-input-kbd xserver-xorg-input-mouse
563-
fi
564561
# Base dependency
565-
package_install liblzo2-dev libssl-dev libcrypt-dev libicu-dev zlib1g-dev libtelnet-dev
562+
package_install liblzo2-dev libssl-dev libcrypt-dev libicu-dev zlib1g-dev
566563
# RabbitCommon dependency
567564
package_install libcmark-dev cmark
568565
# VNC dependency
@@ -574,6 +571,14 @@ if [ $BASE_LIBS -eq 1 ]; then
574571
package_install libpcap-dev
575572
# FFmpeg needed by QtMultimedia and freerdp
576573
package_install libavcodec-dev libavformat-dev libresample1-dev libswscale-dev
574+
case "$DISTRO" in
575+
ubuntu|debian)
576+
package_install libresample1-dev
577+
;;
578+
deepin)
579+
package_install libresample-dev
580+
;;
581+
esac
577582
package_install libx264-dev libx265-dev
578583
# Needed by QtMultimedia
579584
package_install pipewire

0 commit comments

Comments
 (0)