Compare commits
1 Commits
pr-systemd
...
wip-system
Author | SHA1 | Date | |
---|---|---|---|
2e1bd5f0c6 |
@@ -24,20 +24,13 @@ executable('buffyboard',
|
|||||||
|
|
||||||
install_data('buffyboard.conf', install_dir: get_option('sysconfdir'))
|
install_data('buffyboard.conf', install_dir: get_option('sysconfdir'))
|
||||||
|
|
||||||
systemd = dependency('systemd', required: get_option('systemd-buffyboard-service'))
|
|
||||||
if systemd.found()
|
|
||||||
system_unit_dir = systemd.get_variable(
|
|
||||||
pkgconfig: 'systemd_system_unit_dir',
|
|
||||||
pkgconfig_define: ['prefix', get_option('prefix')],
|
|
||||||
)
|
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input : 'buffyboard.service.in',
|
input : 'buffyboard.service.in',
|
||||||
output : 'buffyboard.service',
|
output : 'buffyboard.service',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : system_unit_dir,
|
install_dir : get_option('libdir') / 'systemd/system',
|
||||||
configuration : {
|
configuration : {
|
||||||
'bindir' : get_option('prefix') / get_option('bindir'),
|
'bindir' : get_option('prefix') / get_option('bindir'),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
endif
|
|
||||||
|
@@ -1,3 +1,2 @@
|
|||||||
option('with-drm', type: 'feature', value: 'auto', description: 'Enable DRM backend')
|
option('with-drm', type: 'feature', value: 'auto', description: 'Enable DRM backend')
|
||||||
option('man', type: 'boolean', value: true, description: 'Install manual pages')
|
option('man', type: 'boolean', value: true, description: 'Install manual pages')
|
||||||
option('systemd-buffyboard-service', type: 'feature', value: 'auto', description: 'Install systemd service file for buffyboard')
|
|
||||||
|
Reference in New Issue
Block a user