From f4cf935e490bc026ff281eb71c09609fb4c8d6f6 Mon Sep 17 00:00:00 2001 From: somini Date: Mon, 27 Dec 2021 12:19:58 +0000 Subject: [PATCH] Install icon to the app_id location This is so that the desktop files picks it up correctly. Thanks, @WhyNotHugo and @jbeich. --- resources/meson.build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/meson.build b/resources/meson.build index 3e5c97a..0cc2f81 100644 --- a/resources/meson.build +++ b/resources/meson.build @@ -36,9 +36,12 @@ if scour.found() '@INPUT@', '@OUTPUT@'], install: true, install_dir: icondir) - else -install_data(icon, install_dir: icondir) - endif +else + install_data(icon, + rename: '@0@.svg'.format(meson.project_name()), + install_dir: icondir + ) +endif install_data( configure_file(input: 'wdisplays.desktop.in',