mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
[gh-actions] Remove build of sqlite from MacOS workflow mk2
Homebrew's sqlite now comes with sqlite3_unlock_notify (Homebrew issue #55077), so a custom build is no longer required.
This commit is contained in:
17
.github/workflows/macos.yml
vendored
17
.github/workflows/macos.yml
vendored
@@ -43,16 +43,13 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Install sqlite
|
- name: Install sqlite
|
||||||
# Brew package does not have unlock-notify
|
# MacOS package does not have unlock-notify, but brew 3.42.0_1+ does, so
|
||||||
|
# install that and make sure it's used
|
||||||
run: |
|
run: |
|
||||||
wget https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz
|
brew install sqlite
|
||||||
tar xzf sqlite-autoconf-3310100.tar.gz
|
export LD_LIBRARY_PATH=$(brew --prefix sqlite)/lib
|
||||||
cd sqlite-autoconf-3310100
|
export CPATH=$(brew --prefix sqlite)/include
|
||||||
export CFLAGS='-DSQLITE_ENABLE_UNLOCK_NOTIFY=1'
|
export PKG_CONFIG_PATH=$(brew --prefix sqlite)/lib/pkgconfig
|
||||||
./configure
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Install ffmpeg
|
- name: Install ffmpeg
|
||||||
# The libbluray ffmpeg dependency fails without the chown (source: stackoverflow)
|
# The libbluray ffmpeg dependency fails without the chown (source: stackoverflow)
|
||||||
@@ -61,7 +58,7 @@ jobs:
|
|||||||
brew install ffmpeg
|
brew install ffmpeg
|
||||||
|
|
||||||
- name: Install other dependencies
|
- name: Install other dependencies
|
||||||
run: brew install libunistring libmxml confuse libplist sqlite libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl
|
run: brew install libunistring libmxml confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user