59 lines
2.3 KiB
Bash
59 lines
2.3 KiB
Bash
# Template file for 'tracker-miners'
|
|
pkgname=tracker-miners
|
|
version=3.7.3
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=qemu
|
|
# missing libgrss for miner_rss
|
|
configure_args="-Dtracker_core=system -Dextract=true -Dcue=enabled -Dexif=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
|
|
-Dminer_rss=false -Dbattery_detection=upower -Dcharset_detection=icu
|
|
-Dgeneric_media_extractor=gstreamer -Dgstreamer_backend=discoverer
|
|
-Dsystemd_user_services=false -Dnetwork_manager=enabled
|
|
$(vopt_feature landlock)"
|
|
hostmakedepends="pkg-config glib-devel intltool asciidoc"
|
|
makedepends="tracker-devel ffmpeg-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
|
|
upower-devel zlib-devel gst-plugins-base1-devel giflib-devel
|
|
NetworkManager-devel libharfbuzz"
|
|
checkdepends="python3-gobject tracker dbus gst-plugins-good1 gst-plugins-bad1"
|
|
short_desc="Data miners for tracker"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://tracker.gnome.org/"
|
|
changelog="https://gitlab.gnome.org/GNOME/tracker-miners/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz"
|
|
checksum=e74388154b5c197b4b7ee42f0dce8c5fbbddd4d361093ef88d4fb303e33da5fe
|
|
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"
|
|
}
|
|
|
|
tracker3-miners_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|