From 4a05cb06d319d882aad02ff1285eeeabf04a87da Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 7 Apr 2018 21:13:51 +0200 Subject: [PATCH] Remove dependency on Avahi If Avahi is installed, Snapcast will benefit from it automatically. But depending on it draws in DBus as well and blows up the image. --- buildroot-external/package/snapcast/Config.in | 5 ----- buildroot-external/package/snapcast/snapcast.mk | 2 +- openwrt/snapcast/Makefile | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/buildroot-external/package/snapcast/Config.in b/buildroot-external/package/snapcast/Config.in index f6e13b8..bf706c1 100644 --- a/buildroot-external/package/snapcast/Config.in +++ b/buildroot-external/package/snapcast/Config.in @@ -1,13 +1,8 @@ config BR2_PACKAGE_SNAPCAST bool "Snapcast" - depends on BR2_USE_MMU # avahi - depends on !BR2_STATIC_LIBS # avahi depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP select BR2_PACKAGE_AIXLOG - select BR2_PACKAGE_AVAHI - select BR2_PACKAGE_AVAHI_DAEMON - select BR2_PACKAGE_DBUS select BR2_PACKAGE_POPL select BR2_PACKAGE_ASIO select BR2_PACKAGE_FLAC diff --git a/buildroot-external/package/snapcast/snapcast.mk b/buildroot-external/package/snapcast/snapcast.mk index 294331a..33d164e 100644 --- a/buildroot-external/package/snapcast/snapcast.mk +++ b/buildroot-external/package/snapcast/snapcast.mk @@ -6,7 +6,7 @@ SNAPCAST_VERSION = v0.13.0 SNAPCAST_SITE = $(call github,badaix,snapcast,$(SNAPCAST_VERSION)) -SNAPCAST_DEPENDENCIES = libogg alsa-lib avahi # libstdcpp libatomic libflac libvorbisidec +SNAPCAST_DEPENDENCIES = libogg alsa-lib # libstdcpp libatomic libflac libvorbisidec SNAPCAST_LICENSE = GPL-3.0+ SNAPCAST_LICENSE_FILES = LICENSE diff --git a/openwrt/snapcast/Makefile b/openwrt/snapcast/Makefile index 37339b8..6aa3e40 100644 --- a/openwrt/snapcast/Makefile +++ b/openwrt/snapcast/Makefile @@ -25,7 +25,7 @@ define Package/snapcast/Default SECTION := multimedia CATEGORY := Multimedia TITLE := snapcast - DEPENDS := +libstdcpp +libavahi-client +libatomic +libogg +libflac + DEPENDS := +libstdcpp +libatomic +libogg +libflac endef define Package/snapcast/description/Default