Skip to content

Commit 9cee484

Browse files
authored
Merge pull request #1319 from WebPlatformForEmbedded/wpe-2.38-add-missing-dependencies
[wpe-2.38] Add missing dependencies
2 parents 042c5d1 + b4bb96d commit 9cee484

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

  • Tools/glib/dependencies

Tools/glib/dependencies/apt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ aptIfElse() {
1111
}
1212

1313
aptIfExists() {
14-
local ret=$(apt show "$1" 2>/dev/null)
14+
local ret
15+
16+
ret=$(apt show "$1" 2>/dev/null)
1517
if [[ $? -ne 0 ]]; then
1618
return
1719
fi
@@ -36,6 +38,7 @@ PACKAGES=(
3638
itstool
3739
libasound2-dev
3840
libatk1.0-dev
41+
$(aptIfExists libavif-dev)
3942
libepoxy-dev
4043
libevent-dev
4144
libfile-copy-recursive-perl
@@ -46,9 +49,11 @@ PACKAGES=(
4649
libjpeg-dev
4750
libkate-dev
4851
liblcms2-dev
52+
libnghttp2-dev
4953
libopenjp2-7-dev
5054
libpng-dev
5155
libseccomp-dev
56+
$(aptIfExists libsoup-3.0-dev)
5257
libsqlite3-dev
5358
libsystemd-dev
5459
libtasn1-6-dev
@@ -79,18 +84,24 @@ PACKAGES=(
7984
libglib2.0-bin
8085

8186
# These are dependencies necessary for building the jhbuild.
87+
bison
88+
flex
8289
git
90+
gobject-introspection
8391
gsettings-desktop-schemas-dev
8492
gyp
8593
libegl1-mesa-dev
8694
libexpat1-dev
8795
libfdk-aac-dev
96+
libgirepository1.0-dev
8897
libgles2-mesa-dev
8998
liborc-0.4-dev
9099
libproxy-dev
91100
libpsl-dev
101+
libssl-dev
92102
libtool-bin
93103
libxml-libxml-perl
104+
nasm
94105
python3-setuptools
95106
uuid-dev
96107
yasm

0 commit comments

Comments
 (0)