From d5f1abb9c84ef7b8d479e2b453947373b24a7306 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 7 Aug 2023 13:40:50 -0400 Subject: Initial commit --- .../hicolor/scalable/apps/me.alee14.erable.svg | 130 +++++++++++++++++++++ .../symbolic/apps/me.alee14.erable-symbolic.svg | 1 + data/icons/meson.build | 13 +++ data/me.alee14.erable.appdata.xml.in | 9 ++ data/me.alee14.erable.desktop.in | 8 ++ data/me.alee14.erable.gschema.xml | 5 + data/meson.build | 39 +++++++ 7 files changed, 205 insertions(+) create mode 100644 data/icons/hicolor/scalable/apps/me.alee14.erable.svg create mode 100644 data/icons/hicolor/symbolic/apps/me.alee14.erable-symbolic.svg create mode 100644 data/icons/meson.build create mode 100644 data/me.alee14.erable.appdata.xml.in create mode 100644 data/me.alee14.erable.desktop.in create mode 100644 data/me.alee14.erable.gschema.xml create mode 100644 data/meson.build (limited to 'data') diff --git a/data/icons/hicolor/scalable/apps/me.alee14.erable.svg b/data/icons/hicolor/scalable/apps/me.alee14.erable.svg new file mode 100644 index 0000000..a74c4df --- /dev/null +++ b/data/icons/hicolor/scalable/apps/me.alee14.erable.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + application-x-executable + + + + + + + + + + + + + + + + diff --git a/data/icons/hicolor/symbolic/apps/me.alee14.erable-symbolic.svg b/data/icons/hicolor/symbolic/apps/me.alee14.erable-symbolic.svg new file mode 100644 index 0000000..0444828 --- /dev/null +++ b/data/icons/hicolor/symbolic/apps/me.alee14.erable-symbolic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..ff1d7cf --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,13 @@ +application_id = 'me.alee14.erable' + +scalable_dir = join_paths('hicolor', 'scalable', 'apps') +install_data( + join_paths(scalable_dir, ('@0@.svg').format(application_id)), + install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir) +) + +symbolic_dir = join_paths('hicolor', 'symbolic', 'apps') +install_data( + join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)), + install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) +) diff --git a/data/me.alee14.erable.appdata.xml.in b/data/me.alee14.erable.appdata.xml.in new file mode 100644 index 0000000..19e5c46 --- /dev/null +++ b/data/me.alee14.erable.appdata.xml.in @@ -0,0 +1,9 @@ + + + me.alee14.erable.desktop + CC0-1.0 + GPL-3.0-or-later + +

No description

+
+
diff --git a/data/me.alee14.erable.desktop.in b/data/me.alee14.erable.desktop.in new file mode 100644 index 0000000..2f01d71 --- /dev/null +++ b/data/me.alee14.erable.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=erable +Exec=erable +Icon=me.alee14.erable +Terminal=false +Type=Application +Categories=GTK; +StartupNotify=true diff --git a/data/me.alee14.erable.gschema.xml b/data/me.alee14.erable.gschema.xml new file mode 100644 index 0000000..b2962da --- /dev/null +++ b/data/me.alee14.erable.gschema.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..fad33d5 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,39 @@ +desktop_file = i18n.merge_file( + input: 'me.alee14.erable.desktop.in', + output: 'me.alee14.erable.desktop', + type: 'desktop', + po_dir: '../po', + install: true, + install_dir: join_paths(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 + +appstream_file = i18n.merge_file( + input: 'me.alee14.erable.appdata.xml.in', + output: 'me.alee14.erable.appdata.xml', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'appdata') +) + +appstream_util = find_program('appstream-util', required: false) +if appstream_util.found() + test('Validate appstream file', appstream_util, args: ['validate', appstream_file]) +endif + +install_data('me.alee14.erable.gschema.xml', + install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') +) + +compile_schemas = find_program('glib-compile-schemas', required: false) +if compile_schemas.found() + test('Validate schema file', + compile_schemas, + args: ['--strict', '--dry-run', meson.current_source_dir()]) +endif + +subdir('icons') -- cgit v1.2.3