0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-23 07:57:02 +00:00
2024-05-02 04:50:26 +00:00

25 lines
907 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="snapcast"
PKG_VERSION="0.28.0"
PKG_SHA256="7911037dd4b06fe98166db1d49a7cd83ccf131210d5aaad47507bfa0cfc31407"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/badaix/snapcast"
PKG_URL="https://github.com/badaix/snapcast/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain aixlog alsa-lib asio avahi flac libvorbis popl pulseaudio boost opus"
PKG_LONGDESC="Synchronous multi-room audio player."
PKG_BUILD_FLAGS="-sysroot"
pre_configure_target() {
CXXFLAGS="${CXXFLAGS} -pthread \
-I$(get_install_dir aixlog)/usr/include \
-I$(get_install_dir asio)/usr/include \
-I$(get_install_dir popl)/usr/include"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -p ../bin/{snapclient,snapserver} ${INSTALL}/usr/bin
}