Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Dec 3, 2023
1 parent 976a2cf commit 9456b26
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions natives/instructions/linux-glibc-x86-64.sh
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

0 comments on commit 9456b26

Please sign in to comment.