mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
tracker: update to 3.6.0.
This commit is contained in:
parent
56140a4472
commit
6aacd3b435
1 changed files with 14 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'tracker'
|
# Template file for 'tracker'
|
||||||
pkgname=tracker
|
pkgname=tracker
|
||||||
version=3.5.0
|
version=3.6.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir"
|
build_helper="gir qemu"
|
||||||
configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
|
configure_args="-Ddocs=false -Dman=true -Dstemmer=disabled
|
||||||
-Dsystemd_user_services=false"
|
-Dsystemd_user_services=false"
|
||||||
hostmakedepends="gettext pkg-config glib-devel vala asciidoc
|
hostmakedepends="gettext pkg-config glib-devel vala asciidoc
|
||||||
|
@ -17,11 +17,12 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://wiki.gnome.org/Projects/Tracker"
|
homepage="https://wiki.gnome.org/Projects/Tracker"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/tracker/-/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/tracker/-/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz"
|
||||||
checksum=13294275dbbbad9634b3a8390c08e6f12bebfe84f6ccafb72b27b0c23ba8da2f
|
checksum=52592cfe19baffd16dbe47475be7da750dbd0b6333fd7acb60faa9da5bc40df2
|
||||||
make_check_pre="dbus-run-session"
|
make_check_pre="dbus-run-session"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" dbus"
|
hostmakedepends+=" dbus"
|
||||||
|
configure_args+=" --cross-file=${XBPS_WRAPPERDIR}/meson/xbps_sqlite.cross"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${XBPS_TARGET_WORDSIZE}" = "32" ]; then
|
if [ "${XBPS_TARGET_WORDSIZE}" = "32" ]; then
|
||||||
|
@ -31,7 +32,15 @@ fi
|
||||||
post_patch() {
|
post_patch() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Tell the build system that we have internal fts5 in sqlite3
|
# Tell the build system that we have internal fts5 in sqlite3
|
||||||
vsed -i "/\[properties\]/a sqlite3_has_fts5 = 'true'" xbps_meson.cross
|
cat > "${XBPS_WRAPPERDIR}/meson/xbps_sqlite.cross" <<-EOF
|
||||||
|
[properties]
|
||||||
|
sqlite3_has_fts5 = 'true'
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Patch out error due to y2k38 on musl
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ] && [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||||
|
vsed -e "s/error('Libc implementation has broken 4-digit years implementation.')/year_modifier = '%2C%y'/" -i meson.build
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue