snapcast: update to 0.22.0

This commit is contained in:
heitbaum 2020-12-28 13:49:11 +00:00
parent 881e2d7861
commit 2b24e16c01
2 changed files with 11 additions and 17 deletions

View File

@ -2,12 +2,12 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="snapcast"
PKG_VERSION="0.15.0"
PKG_SHA256="7c584fad4941a299339fe060174e33c4d810b1cbe80d6efbee54da3dafb252cc"
PKG_VERSION="0.22.0"
PKG_SHA256="b5156f346c32557bc1347c81fd5071fd4a32be61adc582e63323c11b105c9ff6"
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"
PKG_DEPENDS_TARGET="toolchain aixlog alsa-lib asio avahi flac libvorbis popl boost opus"
PKG_LONGDESC="Synchronous multi-room audio player."
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="-sysroot"

View File

@ -1,29 +1,23 @@
--- snapcast-0.14.0/client/Makefile 2018-04-27 19:43:25.000000000 +0200
+++ snapcast-0.14.0.makefiles/client/Makefile 2018-05-21 13:14:12.388757526 +0200
@@ -78,10 +78,8 @@
@@ -83,7 +83,6 @@
else
-CXX = g++
-STRIP = strip
CXXFLAGS += -pthread -DHAS_VORBIS -DHAS_ALSA -DHAS_AVAHI -DHAS_DAEMON
-LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -static-libgcc -static-libstdc++ -latomic
-LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -latomic
+LDFLAGS += -lrt -lasound -lvorbis -lavahi-client -lavahi-common -logg
OBJ += ../common/daemon.o player/alsaPlayer.o browseZeroConf/browseAvahi.o
endif
OBJ += ../common/daemon.o player/alsa_player.o browseZeroConf/browse_avahi.o
diff -Naur snapcast-0.14.0/server/Makefile snapcast-0.14.0.makefiles/server/Makefile
--- snapcast-0.14.0/server/Makefile 2018-04-27 19:43:25.000000000 +0200
+++ snapcast-0.14.0.makefiles/server/Makefile 2018-05-21 13:14:56.881206277 +0200
@@ -84,10 +84,8 @@
@@ -88,7 +88,6 @@
else
-CXX = g++
-STRIP = strip
CXXFLAGS += -DHAS_AVAHI -DHAS_DAEMON -pthread
-LDFLAGS += -lrt -lavahi-client -lavahi-common -static-libgcc -static-libstdc++
+LDFLAGS += -lrt -lavahi-client -lavahi-common -logg
OBJ += ../common/daemon.o publishZeroConf/publishAvahi.o
endif
CXXFLAGS += -DHAS_AVAHI -DHAS_DAEMON -DHAS_ALSA -pthread
-LDFLAGS += -lrt -lasound -lavahi-client -lavahi-common -latomic
+LDFLAGS += -lrt -lasound -lavahi-client -lavahi-common
OBJ += ../common/daemon.o publishZeroConf/publish_avahi.o streamreader/alsa_stream.o