kumquat-buildroot/package/tovid/Config.in
Fabrice Fontaine 720a68e33b package/mpv: needs NPTL
mpv unconditionally uses pthread_getcpuclockid since version 0.33.0 and
fd3caa264e
resulting in the following build failure without NPTL since commit
e3cf26dda3:

../common/stats.c: In function 'get_thread_cpu_time_ns':
../common/stats.c:75:9: error: implicit declaration of function 'pthread_getcpuclockid'; did you mean 'pthread_getspecific'? [-Werror=implicit-function-declaration]
   75 |     if (pthread_getcpuclockid(thread, &id) == 0 &&
      |         ^~~~~~~~~~~~~~~~~~~~~
      |         pthread_getspecific

Fixes:
 - http://autobuild.buildroot.org/results/98cde5cbb0844c6ef483a75cf9a6f3fd3a46c693

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-03-08 21:33:11 +01:00

51 lines
1.8 KiB
Plaintext

config BR2_PACKAGE_TOVID
bool "tovid"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mpv
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_PACKAGE_PYTHON3
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mpv
depends on BR2_TOOLCHAIN_HAS_ATOMIC # mpv
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mpv
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC # mpv
# The below dependencies are runtime dependencies only
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng
select BR2_PACKAGE_DVDAUTHOR
select BR2_PACKAGE_DVDRW_TOOLS
select BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_IMAGEMAGICK
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_MJPEGTOOLS
select BR2_PACKAGE_MPV
select BR2_PACKAGE_PROCPS_NG # pgrep and pkill
select BR2_PACKAGE_SOX
help
The tovid suite, also known simply as tovid, is a collection
of shell and Python scripts for creating DVDs and
(S)VCDs. It is pronounced "to vid" (because it converts to
video disc formats).
http://tovid.wikia.com/wiki/Installing_tovid
comment "tovid needs a toolchain w/ NPTL, C++, wchar, gcc >= 4.9"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|| !BR2_INSTALL_LIBSTDCPP \
|| !BR2_USE_WCHAR
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
comment "tovid depends on python3"
depends on !BR2_PACKAGE_PYTHON3
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC