1 ################################################################################
5 ################################################################################
7 SQUEEZELITE_VERSION
= v1.8
8 SQUEEZELITE_SITE
= $(call github
,robadenshi
,squeezelite
,$(SQUEEZELITE_VERSION
))
9 SQUEEZELITE_LICENSE
= GPLv3
10 SQUEEZELITE_LICENSE_FILES
= LICENSE.txt
11 SQUEEZELITE_DEPENDENCIES
= alsa-lib flac libmad libvorbis faad2 mpg123
12 SQUEEZELITE_MAKE_OPTS
= -DLINKALL
14 ifeq ($(BR2_PACKAGE_SQUEEZELITE_FFMPEG
),y
)
15 SQUEEZELITE_DEPENDENCIES
+= ffmpeg
16 SQUEEZELITE_MAKE_OPTS
+= -DFFMPEG
19 ifeq ($(BR2_PACKAGE_SQUEEZELITE_DSD
),y
)
20 SQUEEZELITE_MAKE_OPTS
+= -DDSD
23 ifeq ($(BR2_PACKAGE_SQUEEZELITE_RESAMPLE
),y
)
24 SQUEEZELITE_DEPENDENCIES
+= libsoxr
25 SQUEEZELITE_MAKE_OPTS
+= -DRESAMPLE
28 ifeq ($(BR2_PACKAGE_SQUEEZELITE_VISEXPORT
),y
)
29 SQUEEZELITE_MAKE_OPTS
+= -DVISEXPORT
32 define SQUEEZELITE_BUILD_CMDS
33 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) \
34 OPTS
="$(SQUEEZELITE_MAKE_OPTS)" -C
$(@D
) all
37 define SQUEEZELITE_INSTALL_TARGET_CMDS
38 $(INSTALL
) -D
-m
0755 $(@D
)/squeezelite \
39 $(TARGET_DIR
)/usr
/bin
/squeezelite
42 $(eval
$(generic-package
))