package/ncmpc: needs threads

threads dependency was wrongly removed by commit
d29d136847

Fixes:
 - http://autobuild.buildroot.org/results/151765cb4000643048e8d86c7a49bc8bcbf9f390

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-12-27 20:06:36 +01:00 committed by Thomas Petazzoni
parent 2b7c0d7d04
commit 7e53aedcdd
2 changed files with 4 additions and 4 deletions

View file

@ -3,6 +3,7 @@ config BR2_PACKAGE_NCMPC
depends on BR2_USE_MMU # fork()
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
select BR2_PACKAGE_LIBMPDCLIENT
select BR2_PACKAGE_NCURSES
@ -13,7 +14,7 @@ config BR2_PACKAGE_NCMPC
http://www.musicpd.org/clients/ncmpc/
comment "ncmpc needs a toolchain w/ C++, wchar, gcc >= 7"
comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7

View file

@ -20,8 +20,7 @@ NCMPC_CPE_ID_VENDOR = ncmpc_project
NCMPC_CONF_OPTS = \
-Dcurses=ncurses \
-Ddocumentation=disabled \
$(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled) \
$(if $(BR2_TOOLCHAIN_HAS_THREADS),-Dsignalfd=true,-Dsignalfd=false)
$(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled)
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
NCMPC_DEPENDENCIES += lirc-tools