mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
add i18n support
This commit is contained in:
parent
a47e3584d3
commit
3c2794dcc9
5 changed files with 25 additions and 8 deletions
|
|
@ -53,6 +53,22 @@ executable('pipewire-pulse',
|
|||
dependencies : [pipewire_dep, ],
|
||||
)
|
||||
|
||||
desktop_file = i18n.merge_file(
|
||||
input : 'pipewire.desktop.in',
|
||||
output : 'pipewire.desktop',
|
||||
po_dir : po_dir,
|
||||
type : 'desktop',
|
||||
# install : true,
|
||||
# install_dir : join_paths(pipewire_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
|
||||
|
||||
if get_option('systemd') and systemd.found()
|
||||
subdir('systemd')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
_Name=PipeWire Media System
|
||||
_Comment=Start the PipeWire Media System
|
||||
Name=PipeWire Media System
|
||||
Comment=Start the PipeWire Media System
|
||||
Exec=pipewire
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=
|
||||
GenericName=
|
||||
X-GNOME-Autostart-Phase=Initialization
|
||||
X-KDE-autostart-phase=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue