-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
docker run --rm -it ubuntu:18.04 bash | ||
|
||
apt update && apt upgrade | ||
apt install -y git cmake build-essential autoconf openjdk-17-jdk wget nano | ||
apt install -y git cmake build-essential autoconf openjdk-17-jdk wget nano libsamplerate-dev | ||
|
||
wget http://ftp.de.debian.org/debian/pool/main/a/automake-1.16/automake_1.16.1-4_all.deb | ||
dpkg -i automake_1.16.1-4_all.deb | ||
|
||
git clone https://github.com/markozajc/lavaplayer | ||
git clone https://github.com/lavalink-devs/lavaplayer | ||
git checkout patch/bump-natives | ||
cd lavaplayer | ||
chmod +x ./gradlew | ||
cd natives | ||
|
||
nano build.gradle >> ext.mpg123Version = '1.32.3' | ||
|
||
../gradlew load | ||
|
||
# comment out PKG_CHECK_MODULES: L | ||
|
||
# downgrade cmake version to 3.10 | ||
|
||
apt install libsamplerate-dev | ||
|
||
touch opus/opus-1.4/aclocal.m4 configure | ||
../gradlew compileNatives |