Comments (3)
Debian does not currently package a new enough version. The package they supply as libgpiod2 is really only version 1.6.3
Squeezelite requires libgpiod v 2.0.1 or newer https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/
from squeezelite.
See https://forums.slimdevices.com/forum/developer-forums/developers/106074-build-squeezelite/page3#post1677817 for an example of how to get it to compile on Debian.
from squeezelite.
Thank you for the links.
Below my Dockerfile if someone is interested.
I use libgpiod-2.0.2.tar.gz but a newer version can be used !
FROM balenalib/rpi-raspbian
MAINTAINER christo
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y apt-utils
RUN apt-get install -y \
usbutils \
libflac-dev \
libfaad2 \
libmad0 \
libasound2-dev \
libasound2 \
libasound2-data \
unzip \
make gcc g++ \
libc6 libc6-dev openssl libssl-dev libmad0-dev libvorbis-dev libmpg123-dev libsoxr-dev \
liblirc-dev libfaad-dev \
# gpiod libgpiod-dev \
wget \
git \
autoconf automake autoconf-archive libtool build-essential raspberrypi-kernel-headers pkg-config help2man
# Debian does not currently package a new enough version. The package they supply as libgpiod2 is really only version 1.6.3
# Squeezelite requires libgpiod v 2.0.1 or newer
# https://github.com/ralph-irving/squeezelite/issues/227
# https://forums.slimdevices.com/forum/developer-forums/developers/106074-build-squeezelite/page3#post1677817
RUN cd ~ && \
wget https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/libgpiod-2.0.2.tar.gz && tar xvzf libgpiod-2.0.2.tar.gz && \
cd libgpiod-2.0.2 && \
./configure && \
make && \
make install && \
cd ~ \
rm -rf libgpiod-2.0.2* && \
ldconfig
RUN cd ~ && \
wget https://github.com/ralph-irving/squeezelite/archive/master.zip && \
unzip master.zip && \
cd squeezelite-master && \
sed 's/-DOPUS -DALAC//g' Makefile.rpi > Makefile2.rpi && \
sed 's/-I.\/include\/opus -I.\/include\/alac//g' Makefile2.rpi > Makefile3.rpi && \
make -f Makefile3.rpi && \
mv squeezelite /usr/bin && \
chmod +x /usr/bin/squeezelite && \
cd ~ && \
rm -rf master.zip squeezelite-master
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD squeezelite -o $SOUNDDEVICE -s $SERVER -n $CLIENTNAME -m $CLIENTMAC
from squeezelite.
Related Issues (20)
- flac and ogf streams HOT 3
- output threshold is incorrect HOT 2
- Power controls (gpio/script) tied to output device being open rather than soft power button state
- Build fails on 1466 (commit c89faf3) HOT 15
- Build error in flac.c on revision 1466 HOT 2
- Whole-album flacs with embedded cuesheet playback broken by commit c89faf3 Ogg metadata (and a bit more) HOT 11
- relay-script toggles off/on/off during start HOT 9
- Version 1476 - Error compiling on X86 and Raspberry 4 HOT 13
- Request: Create Release HOT 4
- OggFlac chaining HOT 2
- unhandled grfe HOT 4
- squeezelite-pulse sync issues
- Issue with mp3 playback on Alpine Linux with recent squeezelite versions HOT 8
- Crash on Arch Linux
- Building on macOS does not use libraries installed by package managers HOT 5
- macOS M1 binary release Squeezelite.app is corrupted HOT 2
- Meta-package squeezelite-2.0.0.1488-aarch64 HOT 1
- Squeezelite-2.0.0.1488 dont play FLAC radios
- Native DSD not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.