diff --git a/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk new file mode 100644 index 0000000000..e0073b7617 --- /dev/null +++ b/packages/addons/addon-depends/multimedia-tools-depends/squeezelite/package.mk @@ -0,0 +1,45 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="squeezelite" +PKG_VERSION="94bffda" +PKG_REV="0" +PKG_ARCH="any" +PKG_LICENSE="GPLv3" +PKG_SITE="https://github.com/ralph-irving/squeezelite" +PKG_URL="https://github.com/ralph-irving/squeezelite/archive/94bffda.zip" +PKG_DEPENDS_TARGET="faad2 ffmpeg flac lirc libmad libvorbis mpg123 soxr" +PKG_SECTION="tools" +PKG_PRIORITY="optional" +PKG_SHORTDESC="squeezelite" +PKG_LONGDESC="A client for the Logitech Media Server" + +PKG_IS_ADDON="yes" +PKG_AUTORECONF="no" + +make_target () { + OPTS="$OPTS -DDSD -DIR -DFFMPEG -DRESAMPLE -DVISEXPORT -DIR" + CFLAGS="$CFLAGS -Wall -fPIC -O2 $OPTS" + LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt" + EXECUTABLE="squeezelite" + make -f Makefile +} + +makeinstall_target() { + : +}