-
Notifications
You must be signed in to change notification settings - Fork 823
Expand file tree
/
Copy pathdebian
More file actions
53 lines (48 loc) · 1.02 KB
/
debian
File metadata and controls
53 lines (48 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3 || true)
REQUIRED_DEV_PACKAGES=(
autoconf
build-essential
ninja-build
cmake
extra-cmake-modules
file
gettext
git
wget
libgstreamerd-3-dev
libsecret-1-dev
libosmesa6-dev
libssl-dev
eglexternalplatform-dev
libcurl4-openssl-dev
libdbus-1-dev
libglew-dev
libudev-dev
libmspack-dev
libgl1-mesa-dev
libgtk-3-dev
libxkbcommon-dev
libtool
libunwind-dev
libfuse2
texinfo
nasm
yasm
libx264-dev
libbz2-dev
)
if [[ -n "$UPDATE_LIB" ]]
then
REQUIRED_DEV_PACKAGES+=(libwebkit2gtk-4.1-dev)
if [[ -n "$BUILD_DEBUG" ]]
then
REQUIRED_DEV_PACKAGES+=(libssl-dev libcurl4-openssl-dev)
fi
# TODO: optimize this by checking which, if any, packages are already installed
# install them all at once
sudo apt update
sudo apt install -y ${REQUIRED_DEV_PACKAGES[@]}
echo -e "done\n"
exit 0
fi
FOUND_GTK3_DEV=$(dpkg -l libgtk* | grep gtk-3-dev || echo '')