76 lines
2.1 KiB
Bash
76 lines
2.1 KiB
Bash
# Template file for 'tracker'
|
|
pkgname=tracker
|
|
version=3.5.0
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
|
|
-Dsystemd_user_services=false"
|
|
hostmakedepends="gettext pkg-config glib-devel vala asciidoc
|
|
python3-gobject"
|
|
makedepends="dbus-devel libglib-devel icu-devel json-glib-devel
|
|
libsoup-devel libsoup3-devel libxml2-devel sqlite-devel bash-completion"
|
|
checkdepends="dbus tar python3-gobject"
|
|
short_desc="Personal search tool and storage system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/Tracker"
|
|
changelog="https://gitlab.gnome.org/GNOME/tracker/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz"
|
|
checksum=13294275dbbbad9634b3a8390c08e6f12bebfe84f6ccafb72b27b0c23ba8da2f
|
|
make_check_pre="dbus-run-session"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" dbus"
|
|
fi
|
|
|
|
if [ "${XBPS_TARGET_WORDSIZE}" = "32" ]; then
|
|
make_check=ci-skip # Test float comparison and time issues on 32-bit
|
|
fi
|
|
|
|
post_patch() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Tell the build system that we have internal fts5 in sqlite3
|
|
vsed -i "/\[properties\]/a sqlite3_has_fts5 = 'true'" xbps_meson.cross
|
|
fi
|
|
}
|
|
|
|
tracker-devel_package() {
|
|
depends="libtracker>=${version}_${revision} libglib-devel json-glib-devel
|
|
libsoup-devel libsoup3-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libtracker_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove usr/lib/girepository-1.0
|
|
}
|
|
}
|
|
|
|
tracker3_package() {
|
|
depends="tracker>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|
|
|
|
tracker3-devel_package() {
|
|
depends="tracker-devel>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|
|
|
|
libtracker3_package() {
|
|
depends="libtracker>=${version}_${revision}"
|
|
short_desc+=" - transitional dummy package"
|
|
build_style=meta
|
|
}
|