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

build on systems with libwebkit2gtk-4.1 #5135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion linux.d/debian
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ REQUIRED_DEV_PACKAGES=(
libssl-dev
libtool
libudev-dev
libwebkit2gtk-4.0-dev
ninja-build
texinfo
wget
Expand All @@ -38,6 +37,16 @@ then
then
REQUIRED_DEV_PACKAGES+=(libssl-dev libcurl4-openssl-dev)
fi

# check which version of libwebkit2gtk is available
apt show --quiet libwebkit2gtk-4.0-dev >/dev/null 2>&1
if [ "$?" == "0" ]
then
REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.0-dev)
else
REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.1-dev)
fi

# TODO: optimize this by checking which, if any, packages are already installed

# install them all at once
Expand Down