Change icon file name
It's a good idea to use the new FreeDesktop conventions for file names. It adapts better to stuff like Flatpak.
This commit is contained in:
committed by
Geoffrey D. Bennett
parent
e176fad933
commit
5637e411d4
@@ -30,4 +30,4 @@ cp demo/* $DOCDIR/demo
|
|||||||
%doc /usr/share/doc/%{name}-%{version}
|
%doc /usr/share/doc/%{name}-%{version}
|
||||||
/usr/bin/alsa-scarlett-gui
|
/usr/bin/alsa-scarlett-gui
|
||||||
/usr/share/applications/vu.b4.alsa-scarlett-gui.desktop
|
/usr/share/applications/vu.b4.alsa-scarlett-gui.desktop
|
||||||
/usr/share/icons/hicolor/256x256/apps/alsa-scarlett-gui.png
|
/usr/share/icons/hicolor/256x256/apps/vu.b4.alsa-scarlett-gui.png
|
||||||
|
|||||||
@@ -38,7 +38,9 @@ XML_OBJ := $(patsubst %.xml,%.c,$(XML_SRC))
|
|||||||
SRCS := $(sort $(wildcard *.c) $(XML_OBJ))
|
SRCS := $(sort $(wildcard *.c) $(XML_OBJ))
|
||||||
OBJS := $(patsubst %.c,%.o,$(SRCS))
|
OBJS := $(patsubst %.c,%.o,$(SRCS))
|
||||||
TARGET := alsa-scarlett-gui
|
TARGET := alsa-scarlett-gui
|
||||||
DESKTOP_FILE := vu.b4.$(TARGET).desktop
|
DOMAIN_PREFIX := vu.b4
|
||||||
|
DESKTOP_FILE := $(DOMAIN_PREFIX).$(TARGET).desktop
|
||||||
|
ICON_FILE := $(DOMAIN_PREFIX).$(TARGET).png
|
||||||
|
|
||||||
GLIB_COMPILE_RESOURCES := $(shell $(PKG_CONFIG) --variable=glib_compile_resources gio-2.0)
|
GLIB_COMPILE_RESOURCES := $(shell $(PKG_CONFIG) --variable=glib_compile_resources gio-2.0)
|
||||||
|
|
||||||
@@ -76,13 +78,13 @@ install: all
|
|||||||
install -d $(BINDIR)
|
install -d $(BINDIR)
|
||||||
install -m 755 $(TARGET) $(BINDIR)
|
install -m 755 $(TARGET) $(BINDIR)
|
||||||
install -d $(ICONDIR)
|
install -d $(ICONDIR)
|
||||||
install -m 644 img/$(TARGET).png $(ICONDIR)
|
install -m 644 img/$(ICON_FILE) $(ICONDIR)
|
||||||
install -d $(DESKTOPDIR)
|
install -d $(DESKTOPDIR)
|
||||||
install -m 644 $(DESKTOP_FILE) $(DESKTOPDIR)
|
install -m 644 $(DESKTOP_FILE) $(DESKTOPDIR)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(BINDIR)/$(TARGET)
|
rm -f $(BINDIR)/$(TARGET)
|
||||||
rm -f $(ICONDIR)/$(TARGET).png
|
rm -f $(ICONDIR)/$(ICON_FILE)
|
||||||
rm -f $(DESKTOPDIR)/$(DESKTOP_FILE)
|
rm -f $(DESKTOPDIR)/$(DESKTOP_FILE)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
|||||||
BIN
src/img/vu.b4.alsa-scarlett-gui.png
Normal file
BIN
src/img/vu.b4.alsa-scarlett-gui.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
@@ -4,7 +4,7 @@ Encoding=UTF-8
|
|||||||
Value=1.5
|
Value=1.5
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=ALSA Scarlett Gen 2/3 Control Panel
|
Name=ALSA Scarlett Gen 2/3 Control Panel
|
||||||
Icon=alsa-scarlett-gui
|
Icon=vu.b4.alsa-scarlett-gui
|
||||||
Exec=PREFIX/bin/alsa-scarlett-gui
|
Exec=PREFIX/bin/alsa-scarlett-gui
|
||||||
Categories=GTK;AudioVideo;Audio;Mixer;
|
Categories=GTK;AudioVideo;Audio;Mixer;
|
||||||
Keywords=focusrite;
|
Keywords=focusrite;
|
||||||
|
|||||||
Reference in New Issue
Block a user