57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
# Template file for 'tracker3'
|
|
pkgname=tracker3
|
|
version=3.0.2
|
|
revision=1
|
|
wrksrc=tracker-${version}
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Ddocs=false -Dman=true -Dnetwork_manager=enabled
|
|
-Dstemmer=disabled -Dsystemd_user_services=false"
|
|
hostmakedepends="gettext pkg-config glib-devel vala asciidoc"
|
|
makedepends="dbus-devel libglib-devel icu-devel json-glib-devel
|
|
libsoup-devel libxml2-devel sqlite-devel NetworkManager-devel
|
|
bash-completion"
|
|
checkdepends="tar python3-gobject"
|
|
short_desc="Personal search tool and storage system"
|
|
maintainer="q66 <daniel@octaforge.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://live.gnome.org/Tracker"
|
|
distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz"
|
|
checksum=a60041cf47947ebbcfbba926d3b470bfdead21f3c12ce7aa93eaf1969a185c60
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" dbus"
|
|
fi
|
|
|
|
# needs a dbus setup
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
tracker3-devel_package() {
|
|
depends="libtracker3>=${version}_${revision} libglib-devel json-glib-devel
|
|
libsoup-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"
|
|
}
|
|
}
|
|
|
|
libtracker3_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove usr/lib/girepository-1.0
|
|
}
|
|
}
|