Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: shairport-sync-classic-4.3.2
@ 2023-12-05 14:42 misterupkeep
  2023-12-05 14:52 ` ahesford
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: misterupkeep @ 2023-12-05 14:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

There is a new pull request by misterupkeep against master on the void-packages repository

https://github.com/misterupkeep/void-packages shairport-sync-classic
https://github.com/void-linux/void-packages/pull/47596

New package: shairport-sync-classic-4.3.2
Implementation of an Airplay 1 audio receiver. [Homepage](https://github.com/mikebrady/shairport-sync).

Note: the source can be built into either an Airplay 1 or Airplay 2 receiver. The Airplay 2 version is packaged as another package `shairport-sync-airplay2`. Both packages provide the alternative `shairport-sync:/usr/bin/shairport-sync`.

The application supports virtually all audio systems, and it builds with support for ALSA, Pulse, JACK, and PipeWire by default (audio systems available in the Void repos). It does not build with Unix pipe output support -- (imo) use cases for this should be handled by the user's audio system instead.

I've been using this package for ~a year on Pulse and PipeWire now without issue.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, `x86_64-glibc`
- I built this PR locally for these architectures:
  - aarch64-musl
  - aarch64
  - armv7l-musl
  - armv7l
  - armv6l-musl
  - armv6l


A patch file from https://github.com/void-linux/void-packages/pull/47596.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shairport-sync-classic-47596.patch --]
[-- Type: text/x-diff, Size: 4177 bytes --]

From 90b7be492e12d19d0498963cf0326c950144b12c Mon Sep 17 00:00:00 2001
From: dvdrw <admin@dvdrw.dev>
Date: Tue, 5 Dec 2023 01:08:32 +0100
Subject: [PATCH] New package: shairport-sync-classic-4.3.2

---
 srcpkgs/shairport-sync-classic/template | 61 +++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 srcpkgs/shairport-sync-classic/template

diff --git a/srcpkgs/shairport-sync-classic/template b/srcpkgs/shairport-sync-classic/template
new file mode 100644
index 0000000000000..803bfb68e6f58
--- /dev/null
+++ b/srcpkgs/shairport-sync-classic/template
@@ -0,0 +1,61 @@
+# Template file for 'shairport-sync-classic'
+pkgname=shairport-sync-classic
+version=4.3.2
+revision=1
+build_style=gnu-configure
+configure_args="(vopt_if dns_sd CPPFLAGS=-I/usr/include/avahi-compat-libdns_sd/ ) --with-configfiles --program-suffix=-classic --sysconfdir=/etc --with-metadata --with-ssl=$(vopt_if openssl openssl)$(vopt_if mbedtls mbedtls) $(vopt_with avahi) $(vopt_with tinysvcmdns) $(vopt_with dns_sd) $(vopt_with mqtt mqtt-client) $(vopt_with dbus dbus-interface) $(vopt_with mpris mpris-interface) $(vopt_with soxr) $(vopt_with convolution) $(vopt_with alac apple-alac) $(vopt_with alsa) $(vopt_with sndio) $(vopt_with pa) $(vopt_with pw) $(vopt_with jack) $(vopt_with stdout) $(vopt_with pipe)"
+hostmakedepends="autoconf automake pkg-config $(vopt_if dbus glib-devel) $(vopt_if mpris glib-devel)"
+makedepends="popt-devel libconfig-devel libconfig $(vopt_if openssl openssl-devel) $(vopt_if mdebtls mbedtls-devel) $(vopt_if avahi avahi-libs-devel) $(vopt_if mqtt libmosquitto-devel) $(vopt_if dbus glib-devel) $(vopt_if mpris glib-devel) $(vopt_if soxr libsoxr-devel) $(vopt_if alac alac-devel) $(vopt_if convolution libsndfile-devel) $(vopt_if alsa alsa-lib-devel) $(vopt_if sndio sndio-devel) $(vopt_if pa pulseaudio-devel) $(vopt_if pw pipewire-devel) $(vopt_if jack jack-devel)"
+short_desc="AirPlay 1 audio player"
+maintainer="dvdrw <void@dvdrw.dev>"
+# MIT except for tinysvcmdns under BSD-3-Clause, FFTConvolver under
+# GPL3-or-later, audio_sndio.c under ISC, tinyhttp under BSD-2-Clause
+license="MIT, BSD-2-Clause, BSD-3-Clause, GPL-3.0-or-later, ISC"
+homepage="https://github.com/mikebrady/shairport-sync"
+changelog="https://github.com/mikebrady/shairport-sync/releases"
+distfiles="https://github.com/mikebrady/shairport-sync/archive/refs/tags/${version}.tar.gz"
+checksum=dfb485c0603398032a00e51f84b874749bbf155b257adda3d270d5989de08bfd
+alternatives="shairport-sync:/usr/bin/shairport-sync:/usr/bin/shairport-sync-classic"
+
+# Package build options
+build_options="openssl mbedtls avahi tinysvcmdns dns_sd mqtt dbus mpris alac soxr convolution alsa sndio pa pw jack stdout pipe"
+
+# SSL library options
+desc_option_openssl="Use openssl as the TLS library"
+desc_option_mbedtls="Use mbedtls as the TLS library"
+vopt_conflict openssl mbedtls
+
+# Server advertising options
+desc_option_avahi="Enables Avahi mDNS advertising backend"
+desc_option_tinysvcmdns="Enables tinysvcmdns mDNS advertising backend"
+desc_option_dns_sd="Enables dns_sd (legacy Apple Bonjour) mDNS advertising backend"
+
+# IPC options
+desc_option_mqtt="Include a client for MQTT"
+desc_option_dbus="Expose the native Shairport Sync D-Bus interface"
+desc_option_mpris="Expose an MPRIS D-Bus interface"
+
+# Audio processing options
+desc_option_soxr="Use libsoxr resampling for improved interpolation"
+desc_option_alac="Use Apple ALAC decoder to support ALAC-compressed streams"
+desc_option_convolution="Enables convolution filtering. Uses libsndfile"
+
+# Audio backend options
+desc_option_alsa="Enables ALSA audio output support"
+desc_option_sndio="Enables sndio audio output support"
+desc_option_pa="Enables PulseAudio audio output support"
+desc_option_pw="Enables PipeWire audio output support"
+desc_option_jack="Enables JACK audio output support"
+desc_option_stdout="Enables stdout audio output support"
+desc_option_pipe="Enables Unix pipe audio output support"
+
+build_options_default="openssl avahi dbus mpris soxr alac convolution alsa pa pw jack
+stdout pipe"
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vlicense LICENSES
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
@ 2023-12-05 14:52 ` ahesford
  2023-12-05 14:54 ` ahesford
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2023-12-05 14:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47596#issuecomment-1840950480

Comment:
Don't add all these build options; this isn't Gentoo. Just configure it the way that makes sense for you and, if somebody later decides adding or removing features makes sense, that person can propose individual options.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
  2023-12-05 14:52 ` ahesford
@ 2023-12-05 14:54 ` ahesford
  2023-12-05 14:57 ` misterupkeep
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2023-12-05 14:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47596#issuecomment-1840953706

Comment:
Also, there's no value building with `mbedtls`. OpenSSL is part of the base system, so just build with that.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
  2023-12-05 14:52 ` ahesford
  2023-12-05 14:54 ` ahesford
@ 2023-12-05 14:57 ` misterupkeep
  2023-12-05 14:59 ` ahesford
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: misterupkeep @ 2023-12-05 14:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

New comment by misterupkeep on void-packages repository

https://github.com/void-linux/void-packages/pull/47596#issuecomment-1840960761

Comment:
I see, thanks for the tips. 

Since the same codebase builds for an Airplay 2 version (which I've packaged separately), and that version has its own dependency that needs to be packaged, should I bundle them all into this one PR?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
                   ` (2 preceding siblings ...)
  2023-12-05 14:57 ` misterupkeep
@ 2023-12-05 14:59 ` ahesford
  2024-03-05  1:44 ` github-actions
  2024-03-19  1:44 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2023-12-05 14:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47596#issuecomment-1840965458

Comment:
Ideally, you would have one template that builds the same source twice (once for each AirPlay version) and splits the resulting products between the main package and a subpackage.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
                   ` (3 preceding siblings ...)
  2023-12-05 14:59 ` ahesford
@ 2024-03-05  1:44 ` github-actions
  2024-03-19  1:44 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2024-03-05  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/47596#issuecomment-1977792354

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: shairport-sync-classic-4.3.2
  2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
                   ` (4 preceding siblings ...)
  2024-03-05  1:44 ` github-actions
@ 2024-03-19  1:44 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2024-03-19  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

There's a closed pull request on the void-packages repository

New package: shairport-sync-classic-4.3.2
https://github.com/void-linux/void-packages/pull/47596

Description:
Implementation of an Airplay 1 audio receiver. [Homepage](https://github.com/mikebrady/shairport-sync).

Note: the source can be built into either an Airplay 1 or Airplay 2 receiver. The Airplay 2 version is packaged as another package `shairport-sync-airplay2`. Both packages provide the alternative `shairport-sync:/usr/bin/shairport-sync`.

The application supports virtually all audio systems, and it builds with support for ALSA, Pulse, JACK, and PipeWire by default (audio systems available in the Void repos). It does not build with Unix pipe output support -- (imo) use cases for this should be handled by the user's audio system instead.

I've been using this package for ~a year on Pulse and PipeWire now without issue.

Needs [alac](https://github.com/void-linux/void-packages/pull/47597) to build.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, `x86_64-glibc`
- I built this PR locally for these architectures:
  - aarch64-musl
  - aarch64
  - armv7l-musl
  - armv7l
  - armv6l-musl
  - armv6l


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-19  1:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05 14:42 [PR PATCH] New package: shairport-sync-classic-4.3.2 misterupkeep
2023-12-05 14:52 ` ahesford
2023-12-05 14:54 ` ahesford
2023-12-05 14:57 ` misterupkeep
2023-12-05 14:59 ` ahesford
2024-03-05  1:44 ` github-actions
2024-03-19  1:44 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).