squeezelite: add SSL support

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
This commit is contained in:
Robert Högberg 2022-10-12 10:31:58 +02:00 committed by 1582130940
parent 99a0689fd6
commit 9994f03aee

View File

@ -36,7 +36,8 @@ define Package/squeezelite-full
$(call Package/squeezelite/default) $(call Package/squeezelite/default)
TITLE+= (full) TITLE+= (full)
DEPENDS+= +libflac +libvorbis +libmpg123 +libfaad2 \ DEPENDS+= +libflac +libvorbis +libmpg123 +libfaad2 \
+SQUEEZELITE_WMA:libffmpeg-audio-dec +SQUEEZELITE_WMA:libffmpeg-audio-dec \
+SQUEEZELITE_SSL:libopenssl
VARIANT:=full VARIANT:=full
endef endef
@ -64,7 +65,13 @@ define Package/squeezelite/config/default
config SQUEEZELITE_DSD config SQUEEZELITE_DSD
bool "DSD playback over PCM (DoP)" bool "DSD playback over PCM (DoP)"
help help
Include support for DSD over PCM for compatible DAC" Include support for DSD over PCM for compatible DAC
default n
config SQUEEZELITE_SSL
bool "SSL/TLS support"
help
Include SSL/TLS support for use with e.g. https media URLs
default n default n
endef endef
@ -114,6 +121,10 @@ ifeq ($(CONFIG_SQUEEZELITE_RESAMPLE),y)
opts+= -DRESAMPLE opts+= -DRESAMPLE
endif endif
ifeq ($(CONFIG_SQUEEZELITE_SSL),y)
opts+= -DUSE_SSL
endif
ifeq ($(BUILD_VARIANT),full) ifeq ($(BUILD_VARIANT),full)
opts+= -DLINKALL opts+= -DLINKALL
endif endif