Skip to content

Commit 778066a

Browse files
committed
Bump neatvnc package dependency
Bump neatvnc from v0.8.1 to v0.9.5 and ensure compatibility with the proper aml version. According to meson.build:66, neatvnc requires aml in the range `>=0.3.0` and `<0.4.0`.
1 parent 62142a0 commit 778066a

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

tools/build-neatvnc.sh

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,31 @@ sudo apt install -y meson ninja-build libpixman-1-dev zlib1g-dev libdrm-dev pkg-
66

77
TOP_DIR=$(pwd)
88
# Clone and build aml
9-
git clone https://github.com/any1/aml && pushd aml
9+
if [ ! -d "aml" ]; then
10+
git clone https://github.com/any1/aml --depth=1 -b v0.3.0
11+
else
12+
pushd aml
13+
git fetch --tags
14+
git checkout v0.3.0
15+
popd
16+
fi
17+
pushd aml
1018
meson -Dprefix=$TOP_DIR/_static --default-library=static build
1119
ninja -C build install
1220
popd
1321

1422
export PKG_CONFIG_PATH=$TOP_DIR/_static/lib/$(uname -m)-linux-gnu/pkgconfig
1523

1624
# Clone and build NeatVNC
17-
git clone https://github.com/any1/neatvnc --depth=1 -b v0.8.1 && pushd neatvnc
25+
if [ ! -d "neatvnc" ]; then
26+
git clone https://github.com/any1/neatvnc --depth=1 -b v0.9.5
27+
else
28+
pushd neatvnc
29+
git fetch --tags
30+
git checkout v0.9.5
31+
popd
32+
fi
33+
pushd neatvnc
1834
meson -Dprefix=$TOP_DIR/_static --default-library=static build
1935
ninja -C build install
2036
popd

0 commit comments

Comments
 (0)