![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# squeezelite
|
|
#
|
|
################################################################################
|
|
|
|
SQUEEZELITE_VERSION = v1.8
|
|
SQUEEZELITE_SITE = $(call github,robadenshi,squeezelite,$(SQUEEZELITE_VERSION))
|
|
SQUEEZELITE_LICENSE = GPL-3.0
|
|
SQUEEZELITE_LICENSE_FILES = LICENSE.txt
|
|
SQUEEZELITE_DEPENDENCIES = alsa-lib flac libmad libvorbis faad2 mpg123
|
|
SQUEEZELITE_MAKE_OPTS = -DLINKALL
|
|
|
|
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_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))
|