0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
Termux Github Actions fae4d39865 bump(main/snapcast-server): 0.29.0
This commit has been automatically submitted by Github Actions.
2024-08-25 12:15:13 +00:00

26 lines
901 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/badaix/snapcast
TERMUX_PKG_DESCRIPTION="A multiroom client-server audio player (server)"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.29.0"
TERMUX_PKG_SRCURL=https://github.com/badaix/snapcast/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ecfb2c96a4920adc4121b1180b37bb86566c359914c14831c0abea4e65d23f92
TERMUX_PKG_DEPENDS="libc++, libexpat, libflac, libopus, libsoxr, libvorbis"
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBoost_INCLUDE_DIR=$TERMUX_PREFIX/include
-DANDROID_NO_TERMUX=OFF
-DBUILD_TESTS=OFF
"
TERMUX_PKG_AUTO_UPDATE=true
termux_step_post_get_source() {
# Future-proof way of pretending not to be Android.
find . -name CMakeLists.txt | xargs -n 1 \
sed -i -E 's/if\s*\((.*\s|)ANDROID/\0_NO_TERMUX/g'
}
termux_step_pre_configure() {
LDFLAGS+=" -llog"
}