parent
e7459e0576
commit
390c335562
|
@ -49,36 +49,17 @@ jobs:
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Install sqlite
|
|
||||||
# When GH actions has 3.43.0_1+, which has unlock-notify, then this can be
|
|
||||||
# removed and we can just install brew's sqlite
|
|
||||||
run: |
|
|
||||||
wget https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz
|
|
||||||
tar xzf sqlite-autoconf-3310100.tar.gz
|
|
||||||
cd sqlite-autoconf-3310100
|
|
||||||
export CFLAGS='-DSQLITE_ENABLE_UNLOCK_NOTIFY=1'
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Install ffmpeg
|
|
||||||
# The libbluray ffmpeg dependency fails without the chown (source: stackoverflow)
|
|
||||||
run: |
|
|
||||||
sudo chown -R $(whoami) $(brew --prefix)/*
|
|
||||||
brew install ffmpeg
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
- name: Install other dependencies
|
||||||
# libxml2 is included with Mac OS
|
# libxml2 is included with Mac OS
|
||||||
run: |
|
run: |
|
||||||
brew install libunistring confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl
|
brew install libunistring confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl ffmpeg sqlite
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
# We configure a non-privileged setup, since how to add a "owntone" system
|
# We configure a non-privileged setup, since how to add a "owntone" system
|
||||||
# user in MacOS isn't clear to me (useradd etc. isn't available)
|
# user in MacOS isn't clear to me (useradd etc. isn't available)
|
||||||
run: |
|
run: |
|
||||||
export CFLAGS="-I$(brew --prefix)/include"
|
export CFLAGS="-I$(brew --prefix)/include -I$(brew --prefix sqlite)/include"
|
||||||
export LDFLAGS="-L$(brew --prefix)/lib"
|
export LDFLAGS="-L$(brew --prefix)/lib -L$(brew --prefix sqlite)/lib"
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
./configure --prefix=$HOME/owntone_data/usr --sysconfdir=$HOME/owntone_data/etc --localstatedir=$HOME/owntone_data/var --enable-chromecast --with-pulseaudio
|
./configure --prefix=$HOME/owntone_data/usr --sysconfdir=$HOME/owntone_data/etc --localstatedir=$HOME/owntone_data/var --enable-chromecast --with-pulseaudio
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue