squeezelite: add SSL support
authorRobert Högberg <[email protected]>
Wed, 12 Oct 2022 08:31:58 +0000 (10:31 +0200)
committerRosen Penev <[email protected]>
Fri, 21 Oct 2022 22:04:23 +0000 (15:04 -0700)
Signed-off-by: Robert Högberg <[email protected]>
sound/squeezelite/Makefile

index ca6c0c944553cf2e5d563e2060bd84a696c1fc76..cf1d9fb0be520032a39513206dbbd24e7d25ce97 100644 (file)
@@ -36,7 +36,8 @@ define Package/squeezelite-full
     $(call Package/squeezelite/default)
     TITLE+= (full)
     DEPENDS+= +libflac +libvorbis +libmpg123 +libfaad2 \
-              +SQUEEZELITE_WMA:libffmpeg-audio-dec
+              +SQUEEZELITE_WMA:libffmpeg-audio-dec \
+              +SQUEEZELITE_SSL:libopenssl
     VARIANT:=full
 endef
 
@@ -64,7 +65,13 @@ define Package/squeezelite/config/default
        config SQUEEZELITE_DSD
            bool "DSD playback over PCM (DoP)"
            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
 endef
 
@@ -114,6 +121,10 @@ ifeq ($(CONFIG_SQUEEZELITE_RESAMPLE),y)
     opts+= -DRESAMPLE
 endif
 
+ifeq ($(CONFIG_SQUEEZELITE_SSL),y)
+    opts+= -DUSE_SSL
+endif
+
 ifeq ($(BUILD_VARIANT),full)
     opts+= -DLINKALL
 endif