Merge pull request #345 from awiouy/squeezelite

squeezelite: create addon and dependencies
This commit is contained in:
Christian Hewitt 2016-05-18 17:13:28 +04:00
commit 1766a7e888
5 changed files with 94 additions and 3 deletions

View File

@ -24,7 +24,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://mediaarea.net/en/MediaInfo/Download/Source"
PKG_URL="http://mediaarea.net/download/source/libmediainfo/$PKG_VERSION/libmediainfo_$PKG_VERSION.tar.bz2"
PKG_SOURCE_DIR="MediaInfoLib"
PKG_DEPENDS_TARGET="toolchain libzen"
PKG_DEPENDS_TARGET="toolchain libzen zlib"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files"

View File

@ -0,0 +1,35 @@
################################################################################
# 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="mpg123"
PKG_VERSION="1.23.4"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="LGPLv2"
PKG_SITE="http://www.mpg123.org/"
PKG_URL="http://netcologne.dl.sourceforge.net/project/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib SDL2"
PKG_SECTION="tools"
PKG_PRIORITY="optional"
PKG_SHORTDESC="mpg123"
PKG_LONGDESC="A fast MP3 Player"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"

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() {
:
}

View File

@ -1,2 +1,5 @@
8.0.101
- Add mpg123 and squeezelite
8.0.100
- Initial Release

View File

@ -18,7 +18,7 @@
PKG_NAME="multimedia-tools"
PKG_VERSION=""
PKG_REV="100"
PKG_REV="101"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE=""
@ -27,7 +27,7 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of multimedia tools and programs"
PKG_LONGDESC="This bundle currently includes mediainfo, mesa-demos, opencaster, tsdecrypt and tstools."
PKG_LONGDESC="This bundle currently includes mediainfo, mesa-demos, mpg123, opencaster, squeezelite, tsdecrypt and tstools."
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Multimedia Tools"
@ -40,7 +40,9 @@ PKG_AUTORECONF="no"
PKG_DEPENDS_TARGET="toolchain \
mediainfo \
mesa-demos \
mpg123 \
opencaster \
squeezelite \
tsdecrypt \
tstools"
@ -54,9 +56,15 @@ addon() {
cp -P $(get_build_dir mesa-demos)/.$TARGET_NAME/src/xdemos/glxgears $ADDON_BUILD/$PKG_ADDON_ID/bin 2>/dev/null || :
cp -P $(get_build_dir mesa-demos)/.$TARGET_NAME/src/xdemos/glxinfo $ADDON_BUILD/$PKG_ADDON_ID/bin 2>/dev/null || :
# mpg123
cp -P $(get_build_dir mpg123)/.install_pkg/usr/bin/* $ADDON_BUILD/$PKG_ADDON_ID/bin/
# opencaster
cp -P $(get_build_dir opencaster)/.install_pkg/* $ADDON_BUILD/$PKG_ADDON_ID/bin/
# squeezelite
cp -P $(get_build_dir squeezelite)/squeezelite $ADDON_BUILD/$PKG_ADDON_ID/bin/
# tsdecrypt
cp -P $(get_build_dir tsdecrypt)/tsdecrypt $ADDON_BUILD/$PKG_ADDON_ID/bin