Implement search provider (#201)
* Begin work on search provider * Initial search provider work, organize meson * Initial work on icons * Implement LaunchSearch * Don't hold arbitrary reference to service I don't know why Lollypop does this * Send notification, pad images * Update translations * Fix init_search_term typing
This commit is contained in:
14
meson.build
14
meson.build
@@ -8,7 +8,12 @@ i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
python = import('python')
|
||||
|
||||
py_installation = python.find_installation('python3')
|
||||
python_dir = join_paths(get_option('prefix'), py_installation.get_install_dir())
|
||||
|
||||
python_dir = join_paths(get_option('prefix'), py_installation.get_install_dir())
|
||||
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
||||
libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
|
||||
|
||||
profile = get_option('profile')
|
||||
if profile == 'development'
|
||||
@@ -20,21 +25,24 @@ elif profile == 'release'
|
||||
endif
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('PYTHON', python.find_installation('python3').full_path())
|
||||
conf.set('PYTHON_VERSION', python.find_installation('python3').language_version())
|
||||
conf.set('PYTHON', py_installation.full_path())
|
||||
conf.set('PYTHON_VERSION', py_installation.language_version())
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('PREFIX', prefix)
|
||||
conf.set('VERSION', meson.project_version())
|
||||
conf.set('PROFILE', profile)
|
||||
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
conf.set('pkgdatadir', pkgdatadir)
|
||||
conf.set('libexecdir', libexecdir)
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
subdir('cartridges')
|
||||
subdir('po')
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
subdir('windows')
|
||||
else
|
||||
subdir('search-provider')
|
||||
endif
|
||||
|
||||
gnome.post_install(
|
||||
|
||||
Reference in New Issue
Block a user