summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsciiWolf <mail@asciiwolf.com>2019-09-02 00:03:30 +0200
committerAndrei Karas <akaras@inbox.ru>2019-10-11 20:36:59 +0300
commit84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e (patch)
tree5193bcdda8be93c4d780199ec665ebcd9d7affa9
parentbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (diff)
downloadmv-84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e.tar.gz
mv-84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e.tar.bz2
mv-84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e.tar.xz
mv-84f10ffcd2c051e27ad0ec2f7d3eb00e7828c45e.zip
Change installed desktop icon type to svg
+ Do not use legacy pixmaps path
-rw-r--r--data/icons/CMakeLists.txt4
-rw-r--r--data/icons/Makefile.am6
2 files changed, 5 insertions, 5 deletions
diff --git a/data/icons/CMakeLists.txt b/data/icons/CMakeLists.txt
index 41539898b..2d5a0a899 100644
--- a/data/icons/CMakeLists.txt
+++ b/data/icons/CMakeLists.txt
@@ -1,7 +1,7 @@
SET(FILES
- manaplus.png
+ manaplus.svg
)
INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/icons)
-INSTALL(FILES "manaplus.png" DESTINATION share/pixmaps)
+INSTALL(FILES "manaplus.svg" DESTINATION share/icons/hicolor/scalable/apps)
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 14fc348ae..37eb702fd 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -9,11 +9,11 @@ icons_DATA = manaplus.png \
manaplus.xpm
install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(datarootdir)/pixmaps
- $(INSTALL) $(srcdir)/manaplus.png $(DESTDIR)$(datarootdir)/pixmaps/manaplus.png
+ $(mkinstalldirs) $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps
+ $(INSTALL) $(srcdir)/manaplus.svg $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/manaplus.svg
uninstall-local:
- rm -f $(DESTDIR)$(datarootdir)/pixmaps/manaplus.png
+ rm -f $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/manaplus.svg
EXTRA_DIST = \
$(icons_DATA) \