mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 03:43:53 +02:00
squeezelite: add opus codec support
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
This commit is contained in:
parent
a3c81940b8
commit
15d7c57112
|
@ -36,8 +36,9 @@ 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_OPUS:libopusfile \
|
||||||
+SQUEEZELITE_SSL:libopenssl
|
+SQUEEZELITE_SSL:libopenssl \
|
||||||
|
+SQUEEZELITE_WMA:libffmpeg-audio-dec
|
||||||
VARIANT:=full
|
VARIANT:=full
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -73,6 +74,12 @@ define Package/squeezelite/config/default
|
||||||
help
|
help
|
||||||
Include SSL/TLS support for use with e.g. https media URLs
|
Include SSL/TLS support for use with e.g. https media URLs
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config SQUEEZELITE_OPUS
|
||||||
|
bool "Opus codec support"
|
||||||
|
help
|
||||||
|
Include Opus codec support
|
||||||
|
default n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/squeezelite-full/config
|
define Package/squeezelite-full/config
|
||||||
|
@ -91,7 +98,7 @@ define Package/squeezelite/description/default
|
||||||
Squeezelite is a small headless squeezebox emulator for linux using alsa audio output
|
Squeezelite is a small headless squeezebox emulator for linux using alsa audio output
|
||||||
It is aimed at supporting high quality audio at multiple sample rates including
|
It is aimed at supporting high quality audio at multiple sample rates including
|
||||||
44.1/48/88.2/96/176.4/192k/352.8/384kHz
|
44.1/48/88.2/96/176.4/192k/352.8/384kHz
|
||||||
Supported codecs: mp3, flac, ogg, aac, (wma and alac via ffmpeg)
|
Supported codecs: mp3, flac, ogg, aac, (wma and alac via ffmpeg), opus (optional)
|
||||||
Native support for PCM builtin
|
Native support for PCM builtin
|
||||||
Optional support of DSD playback via PCM for DoP capable DAC
|
Optional support of DSD playback via PCM for DoP capable DAC
|
||||||
Optional resampling to match sound device
|
Optional resampling to match sound device
|
||||||
|
@ -125,6 +132,11 @@ ifeq ($(CONFIG_SQUEEZELITE_SSL),y)
|
||||||
opts+= -DUSE_SSL
|
opts+= -DUSE_SSL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_SQUEEZELITE_OPUS),y)
|
||||||
|
opts+= -DOPUS
|
||||||
|
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/opus
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),full)
|
ifeq ($(BUILD_VARIANT),full)
|
||||||
opts+= -DLINKALL
|
opts+= -DLINKALL
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user