mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hwmixvolume: add .desktop and icon files
Resized version of public domain clipart found here: http://www.openclipart.org/detail/17428 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
39a388e01b
commit
882d4b1048
8 changed files with 49 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -66,6 +66,7 @@ hdsploader/Makefile
|
||||||
hdsploader/configure
|
hdsploader/configure
|
||||||
hwmixvolume/Makefile
|
hwmixvolume/Makefile
|
||||||
hwmixvolume/configure
|
hwmixvolume/configure
|
||||||
|
hwmixvolume/desktop/Makefile
|
||||||
ld10k1/Makefile
|
ld10k1/Makefile
|
||||||
ld10k1/ld10k1d
|
ld10k1/ld10k1d
|
||||||
ld10k1/configure
|
ld10k1/configure
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# # Process this file with automake to procude Makefile.in.
|
# Process this file with automake to produce Makefile.in.
|
||||||
|
SUBDIRS = desktop
|
||||||
bin_SCRIPTS = hwmixvolume
|
bin_SCRIPTS = hwmixvolume
|
||||||
#man_MANS =
|
#man_MANS =
|
||||||
EXTRA_DIST = gitcompile hwmixvolume
|
EXTRA_DIST = gitcompile hwmixvolume
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ AM_INIT_AUTOMAKE
|
||||||
AM_MAINTAINER_MODE([enable])
|
AM_MAINTAINER_MODE([enable])
|
||||||
AC_CONFIG_SRCDIR([hwmixvolume])
|
AC_CONFIG_SRCDIR([hwmixvolume])
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_OUTPUT([Makefile])
|
AC_OUTPUT([Makefile desktop/Makefile])
|
||||||
|
|
|
||||||
36
hwmixvolume/desktop/Makefile.am
Normal file
36
hwmixvolume/desktop/Makefile.am
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
APPNAME = hwmixvolume
|
||||||
|
|
||||||
|
desktopdir = $(datadir)/applications
|
||||||
|
desktop_DATA = $(APPNAME).desktop
|
||||||
|
|
||||||
|
public_icons = \
|
||||||
|
hicolor_apps_256x256_$(APPNAME).png \
|
||||||
|
hicolor_apps_128x128_$(APPNAME).png \
|
||||||
|
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
|
||||||
BIN
hwmixvolume/desktop/hicolor_apps_128x128_hwmixvolume.png
Normal file
BIN
hwmixvolume/desktop/hicolor_apps_128x128_hwmixvolume.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
hwmixvolume/desktop/hicolor_apps_256x256_hwmixvolume.png
Normal file
BIN
hwmixvolume/desktop/hicolor_apps_256x256_hwmixvolume.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
BIN
hwmixvolume/desktop/hicolor_apps_48x48_hwmixvolume.png
Normal file
BIN
hwmixvolume/desktop/hicolor_apps_48x48_hwmixvolume.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
9
hwmixvolume/desktop/hwmixvolume.desktop
Normal file
9
hwmixvolume/desktop/hwmixvolume.desktop
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Hwmixvolume
|
||||||
|
GenericName=Control the volume of individual streams on sound cards that use hardware mixing
|
||||||
|
Exec=hwmixvolume
|
||||||
|
Icon=hwmixvolume
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=AudioVideo;
|
||||||
|
Version=0.9.4
|
||||||
Loading…
Add table
Add a link
Reference in a new issue