Build and install inih manually on macOS

reverse-scroll
nirenjan 2021-07-15 19:31:46 -07:00
parent e32f836485
commit 8545e28d09
1 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -x
# Install dependencies to build and test on Ubuntu runners # Install dependencies to build and test on Ubuntu runners
brew install \ brew install \
autoconf \ autoconf \
@ -9,9 +9,17 @@ brew install \
gettext \ gettext \
libusb \ libusb \
hidapi \ hidapi \
inih \
doxygen \ doxygen \
rsync \ rsync \
meson \
cmocka cmocka
# inih cannot be installed via Homebrew, install it manually
INIH_VER=r53
curl -LO https://github.com/benhoyt/inih/archive/refs/tags/${INIH_VER}.tar.gz
tar xvf ${INIH_VER}.tar.gz
cd inih-${INIH_VER}
meson build
meson install -C build
exit 0 exit 0