initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
config BR2_PACKAGE_SQUEEZELITE
|
||||
bool "squeezelite"
|
||||
depends on BR2_USE_WCHAR # flac
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_USE_MMU # mpg123
|
||||
depends on !BR2_STATIC_LIBS # dlopen
|
||||
select BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
select BR2_PACKAGE_FLAC
|
||||
select BR2_PACKAGE_LIBMAD
|
||||
select BR2_PACKAGE_LIBVORBIS
|
||||
select BR2_PACKAGE_MPG123
|
||||
help
|
||||
Logitech Media Server client
|
||||
|
||||
https://github.com/ralph-irving/squeezelite/
|
||||
|
||||
if BR2_PACKAGE_SQUEEZELITE
|
||||
|
||||
config BR2_PACKAGE_SQUEEZELITE_FFMPEG
|
||||
bool "Enable WMA and ALAC decoding"
|
||||
default y
|
||||
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
|
||||
config BR2_PACKAGE_SQUEEZELITE_DSD
|
||||
bool "Enable DSD decoding"
|
||||
|
||||
config BR2_PACKAGE_SQUEEZELITE_LIRC
|
||||
bool "Enable lirc support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_LIRC_TOOLS
|
||||
|
||||
comment "lirc support needs a toolchain with C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_SQUEEZELITE_RESAMPLE
|
||||
bool "Enable resampling support"
|
||||
select BR2_PACKAGE_LIBSOXR
|
||||
|
||||
config BR2_PACKAGE_SQUEEZELITE_VISEXPORT
|
||||
bool "Enable visualiser support"
|
||||
|
||||
endif
|
||||
|
||||
comment "squeezelite needs a toolchain w/ wchar, NPTL, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
||||
|| BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 7f0342f4943d3c3498d930060f5a1e8d63ccb7282b9c21f964926e310449d592 squeezelite-71c012ad9ba102feb95823b7b9dc17e5305689c7.tar.gz
|
||||
sha256 dc01c3da33fea11ed918f9e437b88baa59c70401aab0dad747e33dd9e8035706 LICENSE.txt
|
||||
@@ -0,0 +1,53 @@
|
||||
################################################################################
|
||||
#
|
||||
# squeezelite
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SQUEEZELITE_VERSION = 71c012ad9ba102feb95823b7b9dc17e5305689c7
|
||||
SQUEEZELITE_SITE = $(call github,ralph-irving,squeezelite,$(SQUEEZELITE_VERSION))
|
||||
SQUEEZELITE_LICENSE = GPL-3.0
|
||||
SQUEEZELITE_LICENSE_FILES = LICENSE.txt
|
||||
SQUEEZELITE_DEPENDENCIES = alsa-lib flac libmad libvorbis mpg123
|
||||
SQUEEZELITE_MAKE_OPTS = -DLINKALL
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FAAD2),y)
|
||||
SQUEEZELITE_DEPENDENCIES += faad2
|
||||
else
|
||||
SQUEEZELITE_MAKE_OPTS += -DNO_FAAD
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQUEEZELITE_FFMPEG),y)
|
||||
SQUEEZELITE_DEPENDENCIES += ffmpeg
|
||||
SQUEEZELITE_MAKE_OPTS += -DFFMPEG
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQUEEZELITE_DSD),y)
|
||||
SQUEEZELITE_MAKE_OPTS += -DDSD
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQUEEZELITE_LIRC),y)
|
||||
SQUEEZELITE_DEPENDENCIES += lirc-tools
|
||||
SQUEEZELITE_MAKE_OPTS += -DIR
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQUEEZELITE_RESAMPLE),y)
|
||||
SQUEEZELITE_DEPENDENCIES += libsoxr
|
||||
SQUEEZELITE_MAKE_OPTS += -DRESAMPLE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SQUEEZELITE_VISEXPORT),y)
|
||||
SQUEEZELITE_MAKE_OPTS += -DVISEXPORT
|
||||
endif
|
||||
|
||||
define SQUEEZELITE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
OPTS="$(SQUEEZELITE_MAKE_OPTS)" -C $(@D) all
|
||||
endef
|
||||
|
||||
define SQUEEZELITE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/squeezelite \
|
||||
$(TARGET_DIR)/usr/bin/squeezelite
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user