Skip to content

Commit f37edd8

Browse files
authored
Merge pull request mixxxdj#16594 from jclsn/feat/arch-linux-buildenv
build: Add Arch Linux build dependency script
2 parents 81e3fec + 1f2b84d commit f37edd8

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

tools/archlinux_buildenv.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!//bin/bash
2+
3+
set -o pipefail
4+
5+
sudo pacman -S --needed --noconfirm protobuf vamp-plugin-sdk \
6+
chromaprint libid3tag rubberband soundtouch \
7+
lame libogg libmad libvorbis libmp4v2 faad2 opusfile wavpack \
8+
libshout libsndfile portmidi portaudio \
9+
sqlite upower lilv libebur128 libmodplug \
10+
qt6-declarative qtkeychain-qt6 qt6-svg qt6-shadertools \
11+
qt6-5compat qt6-multimedia-ffmpeg qt6-scxml microsoft-gsl
12+
13+
# Checking if taglib is installed and build it from the AUR if this
14+
# is not the case
15+
if pacman -Qi taglib1 >/dev/null 2>&1; then
16+
taglib1_installed=true
17+
else
18+
taglib1_installed=false
19+
fi
20+
21+
if [ "$taglib1_installed" == false ]; then
22+
echo 'Building taglib1 from the AUR'
23+
rm -rf /tmp/taglib1 > /dev/null 2>&1
24+
git clone https://aur.archlinux.org/taglib1.git /tmp/taglib1 \
25+
&& cd /tmp/taglib1 \
26+
&& sed -i 's/arch=(x86_64)/arch=(x86_64 aarch64)/' PKGBUILD \
27+
&& makepkg -si --noconfirm
28+
fi

0 commit comments

Comments
 (0)