ansible/roles/pi-squeezelite-custom/custom build/readme_build.md

1.3 KiB

Repository: https://github.com/ralph-irving/squeezelite.git Version: c89faf3280c5dca3f04906a4ff7796a0043e99f0

Packages to build: - libmad0 - libmpg123-0 - libflac8 - libvorbisfile3 - libfaad2 # for building libssl-dev, libasound2-dev, libflac-dev, libvorbis-dev, libsoxr-dev, libfaad-dev, libmad0-dev, libmpg123-dev

Adapted makefile.rpi #OPTS = -DRESAMPLE -DDSD -DUSE_SSL -DLINKALL -I./include -I./include/opus -I./include/alac -I/usr/local/include -s -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s

Old

Repository: https://github.com/ralph-irving/squeezelite.git Version: 779fe9035a2dfcaeeb5335497a012d5e7241a409

Custom Makefile based on Makefile.rpi:

OPTS = -DLINUX -DUSE_SSL -DLINKALL -I./include -I./include/opus -I./include/alac -I/usr/local/include -s -march=armv6 -mfloat-abi=hard -mfpu=vfp
  
LDFLAGS=-L./lib -L/usr/local/lib -s -lgomp -lasound

include Makefile

Required packages:

apt-get install libasound2 libasound2-dev libflac-dev libmad0-dev libfaad-dev libmpg123-dev libvorbis-dev
  • no RPI switch (this is only when wanting to do switiching based on GPIO headers)
  • manually added -lasound (don't know why it wasn't in there)

Then just build with make -f mymakefile (on a raspi)