[totem] build: Use meson to translate desktop file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] build: Use meson to translate desktop file
- Date: Mon, 26 Jun 2017 10:18:19 +0000 (UTC)
commit 4bb00a2a763bf2dab3a32981cd421142004882c6
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Mon Jun 26 11:12:46 2017 +0200
build: Use meson to translate desktop file
Use of meson's translation features instead of intltool-merge and
removed intltool markers.
https://bugzilla.gnome.org/show_bug.cgi?id=784179
data/meson.build | 5 +++--
data/org.gnome.Totem.desktop.meson | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 85bbd32..f4672ae 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -68,11 +68,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file (
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: join_paths(totem_datadir, 'applications')
)
diff --git a/data/org.gnome.Totem.desktop.meson b/data/org.gnome.Totem.desktop.meson
index 04a1599..975e04d 100644
--- a/data/org.gnome.Totem.desktop.meson
+++ b/data/org.gnome.Totem.desktop.meson
@@ -1,7 +1,7 @@
[Desktop Entry]
-_Name=Videos
-_Comment=Play movies
-_Keywords=Video;Movie;Film;Clip;Series;Player;DVD;TV;Disc;
+Name=Videos
+Comment=Play movies
+Keywords=Video;Movie;Film;Clip;Series;Player;DVD;TV;Disc;
Exec=totem %U
Icon=org.gnome.Totem
DBusActivatable=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]