diff --git a/common/shlibs b/common/shlibs index c08bcb7478b..e04f7bc1ff7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3144,6 +3144,8 @@ libcppcms.so.1 cppcms-1.0.5_1 libcppdb.so.0 cppdb-0.3.1_1 libtracker-control-2.0.so.0 libtracker-2.0.0_1 libtracker-sparql-2.0.so.0 libtracker-2.0.0_1 +libtracker-miner-2.0.so.0 libtracker-2.0.1_1 +libtracker-sparql-3.0.so.0 libtracker3-3.0.0_1 libdockapp.so.3 libdockapp-0.7.2_1 libkrdccore.so.5 krdc-17.04.3_1 libArcus.so.3 libArcus-3.1.0_1 @@ -3162,7 +3164,6 @@ libvaladoc-0.50.so.0 libvaladoc-0.50.0_1 libvalaccodegen.so libvala-0.44.0_1 libphodav-2.0.so.0 phodav-2.2_1 libgfshare.so.2 libgfshare-2.0.0_1 -libtracker-miner-2.0.so.0 libtracker-2.0.1_1 libtacacs.so.1 tacacs-4.0.4.28_1 libffms2.so.4 libffms2-2.23.1_1 libddcutil.so.3 ddcutil-0.9.9_1 diff --git a/srcpkgs/libtracker3 b/srcpkgs/libtracker3 new file mode 120000 index 00000000000..59dd6911b3b --- /dev/null +++ b/srcpkgs/libtracker3 @@ -0,0 +1 @@ +tracker3 \ No newline at end of file diff --git a/srcpkgs/tracker3-devel b/srcpkgs/tracker3-devel new file mode 120000 index 00000000000..59dd6911b3b --- /dev/null +++ b/srcpkgs/tracker3-devel @@ -0,0 +1 @@ +tracker3 \ No newline at end of file diff --git a/srcpkgs/tracker3/template b/srcpkgs/tracker3/template new file mode 100644 index 00000000000..1c2100f26ca --- /dev/null +++ b/srcpkgs/tracker3/template @@ -0,0 +1,57 @@ +# Template file for 'tracker3' +pkgname=tracker3 +version=3.0.0 +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 " +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=70864515f5752b0596f9c442d7e86585734f42b82a9233e55dae6ac2b0d33837 + +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 + } +} diff --git a/srcpkgs/tracker3/update b/srcpkgs/tracker3/update new file mode 100644 index 00000000000..e9847e25b54 --- /dev/null +++ b/srcpkgs/tracker3/update @@ -0,0 +1 @@ +pattern="\Qtracker\E-\K[0-9]+\.[0-9]*\.[0-9.]*[0-9](?=)"