mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-12 16:03:39 +00:00
Closes #21970 The program fails to start with `fatal error: Could not establish mDNS advertisement!` error, most likely the package is broken due to android app sandbox restrictions and not going to be fixed.
24 lines
786 B
Bash
24 lines
786 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/mikebrady/shairport-sync
|
|
TERMUX_PKG_DESCRIPTION="An AirPlay audio player"
|
|
TERMUX_PKG_LICENSE="custom"
|
|
TERMUX_PKG_LICENSE_FILE="LICENSES"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
# Cannot simply be updated to a newer version due to `pthread_cancel` being used
|
|
TERMUX_PKG_VERSION=3.1.2
|
|
TERMUX_PKG_REVISION=6
|
|
TERMUX_PKG_SRCURL=https://github.com/mikebrady/shairport-sync/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=8c13f7ebbd417e8cab07ea9f74392ced0f54315d8697d4513580f472859a9c65
|
|
TERMUX_PKG_DEPENDS="libconfig, libdaemon, libpopt, libsoxr, openssl, pulseaudio"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--with-pa
|
|
--with-soxr
|
|
--with-ssl=openssl
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
autoreconf -fi
|
|
|
|
CFLAGS+=" -fcommon"
|
|
}
|