[rhythmbox] build: move plugin icon files to the plugin dir



commit 1afc51449a695ab11770ca8424b8da740310b5f7
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon May 30 21:46:26 2022 +1000

    build: move plugin icon files to the plugin dir
    
    These were only under the full icon path so that uninstalled builds
    could find them, and since that's no longer a consideration, we can put
    them in less unwieldy locations.

 .../{icons/hicolor/scalable/places => }/Last.fm-symbolic.svg          | 0
 plugins/audioscrobbler/meson.build                                    | 2 +-
 plugins/magnatune/icons/hicolor/scalable/places/meson.build           | 3 ---
 .../{icons/hicolor/scalable/places => }/magnatune-symbolic.svg        | 0
 plugins/magnatune/meson.build                                         | 4 +++-
 5 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/plugins/audioscrobbler/icons/hicolor/scalable/places/Last.fm-symbolic.svg 
b/plugins/audioscrobbler/Last.fm-symbolic.svg
similarity index 100%
rename from plugins/audioscrobbler/icons/hicolor/scalable/places/Last.fm-symbolic.svg
rename to plugins/audioscrobbler/Last.fm-symbolic.svg
diff --git a/plugins/audioscrobbler/meson.build b/plugins/audioscrobbler/meson.build
index 9dae8f960..cf80f2a17 100644
--- a/plugins/audioscrobbler/meson.build
+++ b/plugins/audioscrobbler/meson.build
@@ -31,7 +31,7 @@ audioscrobbler_plugin_descriptor = custom_target('audioscrobbler-plugin-descript
   install_dir: audioscrobbler_plugin_dir)
 
 install_data(
-  'icons/hicolor/scalable/places/Last.fm-symbolic.svg',
+  'Last.fm-symbolic.svg',
   install_dir: audioscrobbler_plugin_data_dir + '/icons/hicolor/scalable/places')
 
 install_data(
diff --git a/plugins/magnatune/icons/hicolor/scalable/places/magnatune-symbolic.svg 
b/plugins/magnatune/magnatune-symbolic.svg
similarity index 100%
rename from plugins/magnatune/icons/hicolor/scalable/places/magnatune-symbolic.svg
rename to plugins/magnatune/magnatune-symbolic.svg
diff --git a/plugins/magnatune/meson.build b/plugins/magnatune/meson.build
index dced276c9..8a75aa32f 100644
--- a/plugins/magnatune/meson.build
+++ b/plugins/magnatune/meson.build
@@ -27,4 +27,6 @@ install_data([
   'magnatune_logo_color_tiny.png'],
   install_dir: magnatune_plugin_data_dir)
 
-subdir('icons/hicolor/scalable/places/')
+install_data('magnatune-symbolic.svg',
+  install_dir: magnatune_plugin_data_dir / 'icons' / 'hicolor' /
+               'scalable' / 'places')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]