mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-15 22:05:24 -05:00
hdspmixer: move .desktop and icon files to desktop, use modern destination for icons
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
fc8858cae3
commit
962a07911c
7 changed files with 39 additions and 27 deletions
34
hdspmixer/desktop/Makefile.am
Normal file
34
hdspmixer/desktop/Makefile.am
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
APPNAME = hdspmixer
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = $(APPNAME).desktop
|
||||
|
||||
public_icons = \
|
||||
hicolor_apps_48x48_$(APPNAME).png
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(public_icons) \
|
||||
$(desktop_DATA)
|
||||
|
||||
install-icons:
|
||||
for icon in $(public_icons); do \
|
||||
THEME=`echo $$icon | cut -d_ -f1`; \
|
||||
CONTEXT=`echo $$icon | cut -d_ -f2`; \
|
||||
SIZE=`echo $$icon | cut -d_ -f3`; \
|
||||
ICONFILE=`echo $$icon | cut -d_ -f4`; \
|
||||
mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
|
||||
done
|
||||
|
||||
uninstall-icons:
|
||||
-for icon in $(public_icons); do \
|
||||
THEME=`echo $$icon | cut -d_ -f1`; \
|
||||
CONTEXT=`echo $$icon | cut -d_ -f2`; \
|
||||
SIZE=`echo $$icon | cut -d_ -f3`; \
|
||||
ICONFILE=`echo $$icon | cut -d_ -f4`; \
|
||||
rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
|
||||
done
|
||||
|
||||
install-data-local: install-icons
|
||||
|
||||
uninstall-local: uninstall-icons
|
||||
8
hdspmixer/desktop/hdspmixer.desktop
Normal file
8
hdspmixer/desktop/hdspmixer.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Name=HDSPMixer
|
||||
Comment=Hammerfall DSP matrix mixer control GUI
|
||||
Exec=hdspmixer
|
||||
Icon=hdspmixer
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=AudioVideo;
|
||||
BIN
hdspmixer/desktop/hicolor_apps_48x48_hdspmixer.png
Normal file
BIN
hdspmixer/desktop/hicolor_apps_48x48_hdspmixer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue