squeezelite: create addon

This commit is contained in:
Anton Voyl 2016-05-14 20:33:46 +02:00 committed by jc
parent 23a5535fec
commit df26835ec4

View File

@ -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 <http://www.gnu.org/licenses/>.
################################################################################
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() {
:
}