up
This commit is contained in:
parent
397e51b70b
commit
db1d345c9e
34
install.sh
Executable file
34
install.sh
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
########################
|
||||
# ./install.sh <git tag>
|
||||
########################
|
||||
|
||||
set -e
|
||||
|
||||
# Installation dépendences
|
||||
apt -y install \
|
||||
git autoconf automake libtool g++ qtbase5-dev libqt5sql5-mysql \
|
||||
qttools5-dev-tools libexpat1 libexpat1-dev libssl-dev libsamplerate-dev \
|
||||
libsndfile-dev libcdparanoia-dev libcoverart-dev libdiscid-dev libmusicbrainz5-dev \
|
||||
libid3-dev libtag1-dev libcurl4-gnutls-dev libpam0g-dev libsoundtouch-dev docbook5-xml \
|
||||
libxml2-utils docbook-xsl-ns xsltproc fop make libsystemd-dev libjack-jackd2-dev \
|
||||
libasound2-dev libflac-dev libflac++-dev libmp3lame-dev libmad0-dev libtwolame-dev \
|
||||
python3 python3-pycurl python3-pymysql python3-serial python3-requests
|
||||
|
||||
# Clone du code source
|
||||
git clone https://git.weblib.re/Autres/Rivendellaudio
|
||||
git checkout $1
|
||||
|
||||
# Variable d'environnement pour la doc
|
||||
export DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
|
||||
|
||||
# Compilation
|
||||
./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/var/www/rd-bin \
|
||||
--sysconfdir=/etc/apache2/conf-enabled \
|
||||
--enable-rdxport-debug MUSICBRAINZ_LIBS="-ldiscid -lmusicbrainz5cc -lcoverartcc"
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user