gtksearchengine: Add tracker3 search engine
Make this dependency optional at build time, and prefer it over the old tracker <= 2.x implementation.
This commit is contained in:
		| @ -655,6 +655,10 @@ gtk_unix_sources = files( | ||||
|   'gtksearchenginetracker.c', | ||||
| ) | ||||
|  | ||||
| if os_unix and tracker3_enabled | ||||
|   gtk_unix_sources += 'gtksearchenginetracker3.c' | ||||
| endif | ||||
|  | ||||
| if os_unix | ||||
|   gtk_sources += gtk_unix_sources | ||||
| endif | ||||
| @ -916,6 +920,10 @@ if cloudproviders_enabled | ||||
|   gtk_deps += cloudproviders_dep | ||||
| endif | ||||
|  | ||||
| if os_unix and tracker3_enabled | ||||
|   gtk_deps += tracker3_dep | ||||
| endif | ||||
|  | ||||
| # Unconditional. If libintl isn't found, | ||||
| # the object just does nothing being in the deplist | ||||
| gtk_deps += libintl_dep | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Carlos Garnacho
					Carlos Garnacho