0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-07 10:18:21 +00:00
2024-04-14 13:44:43 +00:00

26 lines
944 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="squeezelite"
PKG_VERSION="c751ef146265c243cdbd7c0353dd0b70ab51730c"
PKG_SHA256="19fd23ca52039b4e216ff74e7d93b7fd8079ab8bfd63d5fb2286bfb743e334ed"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/ralph-irving/squeezelite"
PKG_URL="https://github.com/ralph-irving/squeezelite/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain faad2 ffmpeg flac libmad libvorbis mpg123 soxr libogg"
PKG_DEPENDS_CONFIG="mpg123"
PKG_LONGDESC="A client for the Lyrion Music Server."
PKG_BUILD_FLAGS="-sysroot"
make_target() {
make \
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL" \
CFLAGS="${CFLAGS} $(pkg-config --cflags libmpg123 vorbisfile vorbis ogg)" \
LDFLAGS+=" $(pkg-config --libs libmpg123 vorbisfile vorbis ogg)"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -p squeezelite ${INSTALL}/usr/bin
}