package/dvblast: requires NPTL

dvblast uconditionally believes that any Linux system will have support
for clock nanosleep().

However, clock_nanosleep() is only availabe with NPTL.

Fixing dvblast is not really complicated, but not trivial either. So we
just make it depend on NPTL.

Fixes:
    http://autobuild.buildroot.org/?reason=dvblast-3.0
    http://autobuild.buildroot.org/results/dbe/dbe91dd6543b4b88fbf1e5b09d4997d2dc730747/
    http://autobuild.buildroot.org/results/32b/32bee5071f46b86de61db7f35a2cd04e270bc73c/
    [and many more...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2016-07-04 17:11:16 +02:00 committed by Thomas Petazzoni
parent 68af095845
commit ec875d9bf9

View File

@ -4,13 +4,13 @@ config BR2_PACKAGE_DVBLAST
select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
depends on !BR2_bfin # libev
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
help
DVBlast is a simple and powerful MPEG-2/TS demux and
streaming application.
http://www.videolan.org/projects/dvblast.html
comment 'dvblast needs a toolchain w/ threads'
comment 'dvblast needs a toolchain w/ NPTL'
depends on !BR2_bfin # libev
depends on !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL