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:
Jaroslav Kysela 2017-11-15 11:13:04 +01:00
parent 39a388e01b
commit 882d4b1048
8 changed files with 49 additions and 2 deletions

1
.gitignore vendored
View file

@ -66,6 +66,7 @@ hdsploader/Makefile
hdsploader/configure
hwmixvolume/Makefile
hwmixvolume/configure
hwmixvolume/desktop/Makefile
ld10k1/Makefile
ld10k1/ld10k1d
ld10k1/configure

View file

@ -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
#man_MANS =
EXTRA_DIST = gitcompile hwmixvolume

View file

@ -4,4 +4,4 @@ AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE([enable])
AC_CONFIG_SRCDIR([hwmixvolume])
AC_PROG_INSTALL
AC_OUTPUT([Makefile])
AC_OUTPUT([Makefile desktop/Makefile])

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View 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