Diff tracker-miners-3.5.2 with a tracker-miners-3.6.0

/usr/portage/app-misc/tracker-miners/tracker-miners-3.6.0.ebuild 2023-10-09 14:52:28.824368333 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
PYTHON_COMPAT=( python3_{9..11} )
5
PYTHON_COMPAT=( python3_{10..12} )
6 6

  
7 7
inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg
8 8

  
......
16 16
REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg
17 17
RESTRICT="!test? ( test )"
18 18

  
19
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
19
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
20 20

  
21
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred)
21
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead);
22
# so choose ICU over enca always here for the time being (ICU is preferred)
22 23
RDEPEND="
23 24
	>=dev-libs/glib-2.70:2
24
	>=app-misc/tracker-3.5.0:3
25
	>=app-misc/tracker-3.6_rc:3
25 26

  
26 27
	>=sys-apps/dbus-1.3.1
27 28
	xmp? ( >=media-libs/exempi-2.1.0:= )
......
95 96
src_prepare() {
96 97
	default
97 98

  
98
	# Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that
99
	# Avoid gst-inspect calls that may trigger sandbox;
100
	# instead assume the detection will succeed and add the needed test deps for that
99 101
	if use gstreamer; then
100 102
		sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die
101 103
	else
......
149 151
		$(meson_feature xps)
150 152

  
151 153
		-Dbattery_detection=$(usex upower upower none)
152
		-Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
154
		# enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
155
		-Dcharset_detection=icu
153 156
		-Dgeneric_media_extractor=${media_extractor}
154 157
		# gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default
155 158
		-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
......
159 162

  
160 163
src_test() {
161 164
	export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
165
	export PYTHONPATH="${EROOT}"/usr/$(get_libdir)/tracker-3.0
162 166
	dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
163 167
}
164 168

  
Thank you!