WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Install shairport  (Read 1729 times)

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Install shairport
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: Install shairport
« Reply #1 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.

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Install shairport
« Reply #2 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: Install shairport
« Reply #3 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?

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Install shairport
« Reply #4 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...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: Install shairport
« Reply #5 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: Install shairport
« Reply #6 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