# Template file for 'tracker-miners'
pkgname=tracker-miners
version=2.2.0
revision=2
build_style=meson
configure_args="-Dtracker_core=system -Ddocs=false -Dextract=true
 -Dfunctional_tests=false -Dcue=enabled -Dexif=enabled -Dflac=enabled
 -Dgif=enabled -Dgsf=enabled -Diptc=enabled -Diso=enabled -Djpeg=enabled
 -Dpdf=enabled -Dplaylist=enabled -Dpng=enabled -Draw=enabled -Dtaglib=enabled
 -Dtiff=enabled -Dvorbis=enabled -Dxml=enabled -Dxmp=enabled -Dxps=enabled
 -Dbattery_detection=upower -Dcharset_detection=enca
 -Dgeneric_media_extractor=gstreamer -Dgstreamer_backend=discoverer
 -Dsystemd_user_services=no"
hostmakedepends="pkg-config glib-devel intltool"
makedepends="tracker-devel ffmpeg-devel dbus-devel exempi-devel libflac-devel
 libglib-devel libgexiv2-devel gstreamer1-devel enca-devel libcue-devel
 libexif-devel libgsf-devel libgxps-devel libiptcdata-devel libjpeg-turbo-devel
 libosinfo-devel libpng-devel libseccomp-devel tiff-devel libxml2-devel
 libvorbis-devel poppler-glib-devel taglib-devel totem-pl-parser-devel
 upower-devel zlib-devel gst-plugins-base1-devel giflib-devel"
short_desc="Data miners for tracker"
maintainer="Sir_Boops <admin@boops.me>"
license="GPL-2.0-or-later"
homepage="https://developer.gnome.org/libtracker-miner/stable"
distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz"
checksum=4a3953d8e549212a73edfb7e795108f4c03d91692560c8ed96c65d84b6ab4e01

# Missing libgrss
configure_args+=" -Dminer_rss=false"