tracker-miners: Disable seccomp support on musl

seccomp support piece needs APIs e.g. tgkill which are
unimplimented in musl [1]

Secondly, remove libseccomp from unconditional dependencies
it will be only added when packageconfig is selected.

[1] https://www.openwall.com/lists/musl/2019/08/02/1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-03-23 20:01:32 -07:00
parent 5e7ee914a6
commit 37ef4d73a2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = " \
DEPENDS = " \
intltool-native \
libseccomp \
tracker \
zlib \
"
@ -43,6 +42,9 @@ PACKAGECONFIG ??= " \
battery \
networkmanager \
"
# Needs tgkill API which musl does not support
# see https://www.openwall.com/lists/musl/2019/08/02/1
PACKAGECONFIG:remove:libc-musl = "seccomp"
PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower"
PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue"