mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hdajackretask: add .desktop and icon files
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
089e69d880
commit
fc8858cae3
8 changed files with 47 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -123,6 +123,7 @@ hdajackretask/configure
|
|||
hdajackretask/Makefile
|
||||
hdajackretask/README.generated.h
|
||||
hdajackretask/hdajackretask
|
||||
hdajackretask/desktop/Makefile
|
||||
hdajacksensetest/Makefile
|
||||
hdajacksensetest/configure
|
||||
hdajacksensetest/hdajacksensetest
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
SUBDIRS = desktop
|
||||
EXTRA_DIST = gitcompile README
|
||||
AM_CFLAGS = @GTK3_CFLAGS@ -Wno-deprecated-declarations
|
||||
bin_PROGRAMS = hdajackretask
|
||||
|
|
@ -21,4 +22,3 @@ alsa-dist: distdir
|
|||
@mkdir -p ../distdir/hdajackretask
|
||||
@cp -RLpv $(distdir)/* ../distdir/hdajackretask
|
||||
@rm -rf $(distdir)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ AC_HEADER_STDC
|
|||
|
||||
PKG_CHECK_MODULES(GTK3, gtk+-3.0)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
AC_OUTPUT(Makefile desktop/Makefile)
|
||||
|
|
|
|||
36
hdajackretask/desktop/Makefile.am
Normal file
36
hdajackretask/desktop/Makefile.am
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
APPNAME = hdajackretask
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = $(APPNAME).desktop
|
||||
|
||||
public_icons = \
|
||||
hicolor_apps_48x48_$(APPNAME).png \
|
||||
hicolor_apps_128x128_$(APPNAME).png \
|
||||
hicolor_apps_256x256_$(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
hdajackretask/desktop/hdajackretask.desktop
Normal file
8
hdajackretask/desktop/hdajackretask.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Name=HDAJackRetask
|
||||
GenericName=Retask the audio jacks for the HDA sound driver
|
||||
Exec=hdajackretask
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=AudioVideo;
|
||||
Version=0.9.4
|
||||
BIN
hdajackretask/desktop/hicolor_apps_128x128_hdajackretask.png
Normal file
BIN
hdajackretask/desktop/hicolor_apps_128x128_hdajackretask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
hdajackretask/desktop/hicolor_apps_256x256_hdajackretask.png
Normal file
BIN
hdajackretask/desktop/hicolor_apps_256x256_hdajackretask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
hdajackretask/desktop/hicolor_apps_48x48_hdajackretask.png
Normal file
BIN
hdajackretask/desktop/hicolor_apps_48x48_hdajackretask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Loading…
Add table
Add a link
Reference in a new issue