Commit 9acbea4f authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

data: Add tracker ontology

parent 553ce9d5
......@@ -64,5 +64,15 @@ configure_file (
install_dir: join_paths(datadir, 'glib-2.0', 'schemas'),
)
ontology_conf = configuration_data()
ontology_conf.set('appid', application_id)
configure_file (
input: 'org.gnome.Games.rule.in',
output: '@0@.rule'.format(application_id),
configuration: ontology_conf,
install: true,
install_dir: join_paths (datadir, 'tracker', 'domain-ontologies')
)
subdir ('icons')
subdir ('options')
[DomainOntology]
# All locations accept
# 1) Paths relative from a variable, the variables
# may be: HOME, XDG_CACHE_HOME, XDG_DATA_HOME, XDG_RUNTIME_DIR,
# XDG_DESKTOP_DIR, XDG_DOCUMENTS_DIR, XDG_DOWNLOAD_DIR,
# XDG_MUSIC_DIR, XDG_PICTURES_DIR, XDG_PUBLICSHARE_DIR,
# XDG_VIDEOS_DIR.
#
# eg. $XDG_CACHE_HOME/...
#
# 2) URIs
#
# eg. file:///var/...
#
# Location for the Tracker database (not optional)
CacheLocation=$XDG_CACHE_HOME/gnome-games/tracker
# Location for the data journal, used in data recovery
# situations (optional)
JournalLocation=$XDG_DATA_HOME/gnome-games/tracker/journal
# Name of the ontology to use, must be one located in
# $(sharedir)/tracker/ontologies
OntologyName=nepomuk
# DBus name for the owner (not optional). Tracker will use
# the domain as the prefix of the DBus name for all the
# services related to this domain ontology.
#
# eg. org.gnome.Photos
Domain=@appid@
# Miners that the domain ontology will require. This is
# purely a hint (mainly for libtracker-control), and not
# any sort of white list. Anything else knowing about this
# domain ontology may still perform updates, miners and
# non-miners.
Miners=Miner.Files;Miner.Extract;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment