# Template file for 'localsearch' pkgname=localsearch version=3.9.0 revision=1 build_style=meson build_helper=qemu configure_args="-Dextract=true -Dcue=enabled -Dexif=enabled -Dlibav=enabled -Dgif=enabled -Dgsf=enabled -Diptc=enabled -Diso=enabled -Djpeg=enabled -Dpdf=enabled -Dplaylist=enabled -Dpng=enabled -Draw=enabled -Dtiff=enabled -Dxml=enabled -Dxmp=enabled -Dxps=enabled -Dbattery_detection=upower -Dcharset_detection=icu -Dsystemd_user_services=false $(vopt_feature landlock)" hostmakedepends="pkg-config glib-devel intltool asciidoc" makedepends="tinysparql-devel ffmpeg6-devel dbus-devel exempi-devel libglib-devel libgexiv2-devel gstreamer1-devel icu-devel libcue-devel libexif-devel libgsf-devel libgxps-devel libiptcdata-devel libjpeg-turbo-devel libosinfo-devel libpng-devel libseccomp-devel tiff-devel libxml2-devel poppler-glib-devel totem-pl-parser-devel libgirepository-devel upower-devel zlib-devel gst-plugins-base1-devel giflib-devel libharfbuzz" checkdepends="python3-gobject localsearch tinysparql dbus gst-plugins-good1 gst-plugins-bad1" short_desc="File search framework of the GNOME desktop" maintainer="oreo639 " license="GPL-2.0-or-later" homepage="https://tracker.gnome.org/" changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/main/NEWS" #changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/localsearch-3.9/NEWS" distfiles="${GNOME_SITE}/localsearch/${version%.*}/localsearch-${version}.tar.xz" checksum=d42f408dc3fb28fe54f5a9abbf5f1decf5818db9c2e9ec51c09464bdfd0c14b9 make_check_pre="dbus-run-session" make_check=ci-skip # TODO: d-bus tests timeout ci build_options="landlock" desc_option_landlock="Enable enhanced sandboxing (requires linux5.13+ kernel support)" build_options_default="landlock" if [ "$XBPS_TARGET_LIBC" = "musl" ]; then CFLAGS+=" -DSYS_landlock_create_ruleset=444 -DSYS_landlock_add_rule=445 -DSYS_landlock_restrict_self=446" configure_args+=" -Dfanotify=disabled" fi pre_check() { # Tests must run inside of home directory for changes to be tracked oldhome="$HOME" HOME="${wrksrc}" } post_check() { HOME="$oldhome" } tracker-miners_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - transitional dummy package" build_style=meta } tracker3-miners_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - transitional dummy package" build_style=meta }