mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
meson: Translate and install desktop file
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
68f9984ac0
commit
f5bc45a941
1 changed files with 16 additions and 0 deletions
|
|
@ -44,6 +44,22 @@ if x11_dep.found()
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : bindir,
|
install_dir : bindir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
desktop_file = i18n.merge_file(
|
||||||
|
input : 'pulseaudio.desktop.in',
|
||||||
|
output : 'pulseaudio.desktop',
|
||||||
|
po_dir : po_dir,
|
||||||
|
type : 'desktop',
|
||||||
|
install : true,
|
||||||
|
install_dir : join_paths(sysconfdir, 'xdg', 'autostart'),
|
||||||
|
)
|
||||||
|
|
||||||
|
desktop_utils = find_program('desktop-file-validate', required: false)
|
||||||
|
if desktop_utils.found()
|
||||||
|
test('Validate desktop file', desktop_utils,
|
||||||
|
args: [ desktop_file ],
|
||||||
|
)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Configuration files
|
# Configuration files
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue