aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/meson.build16
-rw-r--r--main/po/meson.build1
2 files changed, 14 insertions, 3 deletions
diff --git a/main/meson.build b/main/meson.build
index 0326cc7c..f6d212f8 100644
--- a/main/meson.build
+++ b/main/meson.build
@@ -1,3 +1,4 @@
+subdir('po')
dependencies = [
dep_dino,
dep_gee,
@@ -91,8 +92,8 @@ sources = files(
'src/view_model/preferences_row.vala',
'src/windows/conversation_details.vala',
)
-sources += import('gnome').compile_resources(
- 'dino-resources',
+sources += gnome.compile_resources(
+ 'resources',
'data/gresource.xml',
source_dir: 'data',
)
@@ -102,4 +103,13 @@ c_args = [
'-DGETTEXT_PACKAGE="dino"',
'-DLOCALE_INSTALL_DIR="@0@"'.format(get_option('prefix') / get_option('localedir')),
]
-exe_dino = executable('dino', sources, c_args: c_args, vala_args: ['--vapidir', meson.current_source_dir() / 'vapi'], dependencies: dependencies)
+vala_args = [
+ '--vapidir', meson.current_source_dir() / 'vapi',
+]
+exe_dino = executable('dino', sources, c_args: c_args, vala_args: vala_args, dependencies: dependencies, install: true)
+
+install_data('data/icons/scalable/apps/im.dino.Dino-symbolic.svg', install_dir: get_option('datadir') / 'hicolor/symbolic/apps')
+install_data('data/icons/scalable/apps/im.dino.Dino.svg', install_dir: get_option('datadir') / 'hicolor/scalable/apps')
+install_data('data/im.dino.Dino.appdata.xml', install_dir: get_option('datadir') / 'metainfo')
+install_data('data/im.dino.Dino.desktop', install_dir: get_option('datadir') / 'applications')
+install_data('data/im.dino.Dino.service', install_dir: get_option('datadir') / 'dbus-1/servces')
diff --git a/main/po/meson.build b/main/po/meson.build
new file mode 100644
index 00000000..ea0d12d4
--- /dev/null
+++ b/main/po/meson.build
@@ -0,0 +1 @@
+i18n.gettext('dino')