mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-28 05:40:23 -04:00
envy24control: add .desktop and icon files
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
46eb8fb609
commit
39a388e01b
6 changed files with 48 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -46,8 +46,10 @@ as10k1/configure
|
|||
echomixer/echomixer
|
||||
echomixer/Makefile
|
||||
echomixer/configure
|
||||
echomixer/desktop/Makefile
|
||||
envy24control/Makefile
|
||||
envy24control/configure
|
||||
envy24control/desktop/Makefile
|
||||
hdspconf/Makefile
|
||||
hdspconf/configure
|
||||
hdspconf/src/hdspconf
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
SUBDIRS = desktop
|
||||
AM_CFLAGS = @ENVY24CONTROL_CFLAGS@
|
||||
bin_PROGRAMS = envy24control
|
||||
man_MANS = envy24control.1
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ AM_MAINTAINER_MODE([enable])
|
|||
|
||||
PKG_CHECK_MODULES(ENVY24CONTROL, gtk+-2.0 alsa >= 0.9.0)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
AC_OUTPUT(Makefile desktop/Makefile)
|
||||
|
|
|
|||
34
envy24control/desktop/Makefile.am
Normal file
34
envy24control/desktop/Makefile.am
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
APPNAME = envy24control
|
||||
|
||||
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
|
||||
10
envy24control/desktop/envy24control.desktop
Normal file
10
envy24control/desktop/envy24control.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Name=Envy24 Control
|
||||
GenericName=Envy24 Control Utility
|
||||
Comment=Mixer and GUI control utility for Envy24-based sound cards
|
||||
Exec=envy24control
|
||||
Icon=envy24control
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=AudioVideo;
|
||||
Version=0.9.4
|
||||
BIN
envy24control/desktop/hicolor_apps_48x48_envy24control.png
Normal file
BIN
envy24control/desktop/hicolor_apps_48x48_envy24control.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 945 B |
Loading…
Add table
Add a link
Reference in a new issue