Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: cosminbro on June 11, 2023, 05:47:20 AM

Title: Install shairport
Post by: cosminbro on June 11, 2023, 05:47:20 AM
How can I install shairport (Airplay 2) and make it permanent? I found this source https://github.com/mikebrady/shairport-sync
Title: Re: Install shairport
Post by: Juanito on June 11, 2023, 05:52:07 AM
There’s build instructions at the url you gave and you can find extension making instructions in the tinycore wiki.
Title: Re: Install shairport
Post by: cosminbro on June 11, 2023, 05:55:58 AM
Thanks Juanito. I see that v7 version of piCore has shairport.tcz, why the next versions hasn't? Thanks.
Title: Re: Install shairport
Post by: Juanito on June 11, 2023, 06:13:14 AM
Possibly because an update to one of its dependencies (pulseaudio?) in 8.x stopped it from working?
Title: Re: Install shairport
Post by: cosminbro on June 11, 2023, 06:16:57 AM
I read the doc for building. Actually I need Alsa, not pulseaudio...
I'll try to compile the shairport sources, but I still can't figure out how to make a tcz extension after that...
Title: Re: Install shairport
Post by: Juanito on June 11, 2023, 06:50:49 AM
As mentioned, it’s explained in the wiki - there’s also several threads on the subject in the forums.
Title: Re: Install shairport
Post by: Rich on June 11, 2023, 08:59:57 AM
Hi cosminbro
The following assumes your home directory is  /home/tc.  Change it
to match your home directory if different.

Make sure you have  squashfs-tools.tcz  installed.

When you run the  make  command, include a  DESTDIR.  For example:
Code: [Select]
make DESTDIR=/home/tc/pkg --with-alsa blah blah blah
The program files should be installed under  /home/tc/pkg.

Then:
Code: [Select]
cd
mksquashfs pkg shairport.tcz -noappend