mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Make dektop file i18n.
This commit is contained in:
@@ -33,9 +33,18 @@ is_linux = ['linux'].contains(host_machine.system())
|
|||||||
is_windows = ['windows'].contains(host_machine.system())
|
is_windows = ['windows'].contains(host_machine.system())
|
||||||
|
|
||||||
if is_linux
|
if is_linux
|
||||||
install_subdir('applications',
|
desktop_file = i18n.merge_file(
|
||||||
install_dir: join_paths(prefix, datadir)
|
input: 'applications/com.github.rafostar.Clapper.desktop.in',
|
||||||
|
output: 'com.github.rafostar.Clapper.desktop',
|
||||||
|
type: 'desktop',
|
||||||
|
po_dir: '../po',
|
||||||
|
install: true,
|
||||||
|
install_dir: get_option('datadir') / 'applications'
|
||||||
)
|
)
|
||||||
|
desktop_utils = find_program('desktop-file-validate', required: false)
|
||||||
|
if desktop_utils.found()
|
||||||
|
test('Validate desktop file', desktop_utils, args: [desktop_file])
|
||||||
|
endif
|
||||||
subdir('dbus-1')
|
subdir('dbus-1')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
src/bin/clapper-app/data/applications/com.github.rafostar.Clapper.desktop.in
|
||||||
src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui
|
src/bin/clapper-app/ui/clapper-app-audio-stream-list-item.ui
|
||||||
src/bin/clapper-app/ui/clapper-app-headerbar.ui
|
src/bin/clapper-app/ui/clapper-app-headerbar.ui
|
||||||
src/bin/clapper-app/ui/clapper-app-help-overlay.ui
|
src/bin/clapper-app/ui/clapper-app-help-overlay.ui
|
||||||
|
Reference in New Issue
Block a user