diff Makefile @ 33484:4f940d7917f0

Provide a desktop icon of reasonable size (48x48) and quality. All three icon files (ico, png and xpm) derive from the same 48x48 graphic which itself derives from the svg at http://en.wikipedia.org/wiki/File:MPlayer.svg. GUI's icon has been renamed mplayer.xpm (from MPlayer_mini.xpm) and the format of the icon to be installed has been changed from xpm to png.
author ib
date Tue, 07 Jun 2011 15:16:22 +0000
parents 2672587086ad
children ce4d5759f9c1
line wrap: on
line diff
--- a/Makefile	Tue Jun 07 13:40:41 2011 +0000
+++ b/Makefile	Tue Jun 07 15:16:22 2011 +0000
@@ -905,7 +905,7 @@
 install-gui: install-mplayer
 	-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
 	$(INSTALL) -d $(DATADIR)/skins $(prefix)/share/pixmaps $(prefix)/share/applications
-	$(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/
+	$(INSTALL) -m 644 etc/mplayer.png $(prefix)/share/pixmaps/
 	$(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/
 
 install-gui-man:      $(foreach lang,$(MAN_LANGS),install-gui-man-$(lang))
@@ -946,7 +946,7 @@
 	rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
 	rm -f $(BINDIR)/mencoder$(EXESUF)
 	rm -f $(MANDIR)/man1/mencoder.1 $(MANDIR)/man1/mplayer.1
-	rm -f $(prefix)/share/pixmaps/mplayer.xpm
+	rm -f $(prefix)/share/pixmaps/mplayer.png
 	rm -f $(prefix)/share/applications/mplayer.desktop
 	rm -f $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1
 	rm -f $(foreach lang,$(MAN_LANGS),$(foreach man,mplayer.1 mencoder.1,$(MANDIR)/$(lang)/man1/$(man)))