mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
parent
5782b2b46d
commit
654664799b
4 changed files with 19 additions and 0 deletions
|
@ -20,6 +20,19 @@ desktop_file = i18n.merge_file(
|
||||||
install_dir : join_paths(sysconfdir, 'xdg/autostart')
|
install_dir : join_paths(sysconfdir, 'xdg/autostart')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# DBus service
|
||||||
|
service_data = configuration_data()
|
||||||
|
service_data.set('bindir', full_bindir)
|
||||||
|
service_file = 'org.gnome.Calls.service'
|
||||||
|
|
||||||
|
configure_file(
|
||||||
|
input : service_file + '.in',
|
||||||
|
output : service_file,
|
||||||
|
configuration : service_data,
|
||||||
|
install : true,
|
||||||
|
install_dir : full_servicedir,
|
||||||
|
)
|
||||||
|
|
||||||
desktop_utils = find_program('desktop-file-validate', required: false)
|
desktop_utils = find_program('desktop-file-validate', required: false)
|
||||||
if desktop_utils.found()
|
if desktop_utils.found()
|
||||||
test('Validate desktop file', desktop_utils,
|
test('Validate desktop file', desktop_utils,
|
||||||
|
|
3
data/org.gnome.Calls.service.in
Normal file
3
data/org.gnome.Calls.service.in
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[D-BUS Service]
|
||||||
|
Name=org.gnome.Calls
|
||||||
|
Exec=@bindir@/gnome-calls --daemon
|
1
debian/gnome-calls.install
vendored
1
debian/gnome-calls.install
vendored
|
@ -2,6 +2,7 @@
|
||||||
/usr/bin
|
/usr/bin
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/share/applications
|
/usr/share/applications
|
||||||
|
/usr/share/dbus-1
|
||||||
/usr/share/glib-2.0
|
/usr/share/glib-2.0
|
||||||
/usr/share/icons
|
/usr/share/icons
|
||||||
/usr/share/locale
|
/usr/share/locale
|
||||||
|
|
|
@ -41,7 +41,9 @@ top_include = include_directories('.')
|
||||||
|
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
builddir = meson.current_build_dir()
|
builddir = meson.current_build_dir()
|
||||||
|
full_bindir = join_paths(prefix, get_option('bindir'))
|
||||||
libdir = get_option('libdir')
|
libdir = get_option('libdir')
|
||||||
|
full_servicedir = join_paths(prefix, get_option('datadir'), 'dbus-1', 'services')
|
||||||
localedir = get_option('localedir')
|
localedir = get_option('localedir')
|
||||||
full_localedir = join_paths(prefix, localedir)
|
full_localedir = join_paths(prefix, localedir)
|
||||||
full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins')
|
full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins')
|
||||||
|
|
Loading…
Reference in a new issue