wpa_gui-qt4: add svg icon
Introducing an original wpa_gui icon, in svg format, with Makefile for easy conversion to other icon formats. The icon is thanks to Bernard Gray. Signed-off-by: Bernard Gray <bernard.gray@gmail.com> Signed-off-by: Kel Modderman <kel@otaku42.de>
This commit is contained in:
parent
7409827e35
commit
99112a2d75
3 changed files with 329 additions and 0 deletions
23
wpa_supplicant/wpa_gui-qt4/icons/Makefile
Normal file
23
wpa_supplicant/wpa_gui-qt4/icons/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
NAME := wpa_gui
|
||||
SVG := $(NAME).svg
|
||||
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
|
||||
ICONS := $(addsuffix .png,$(SIZES))
|
||||
ICONS += $(addsuffix .xpm,16x16 32x32)
|
||||
|
||||
all: $(ICONS)
|
||||
|
||||
%.png:
|
||||
mkdir -p hicolor/$(@:.png=)/apps/
|
||||
inkscape $(SVG) --without-gui \
|
||||
--export-width=$(word 1,$(subst x, ,$(@:.png=))) \
|
||||
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
|
||||
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png
|
||||
|
||||
%.xpm:
|
||||
mkdir -p pixmaps/
|
||||
convert hicolor/$(@:.xpm=)/apps/$(NAME).png pixmaps/$@
|
||||
|
||||
clean:
|
||||
$(RM) -r pixmaps hicolor
|
Loading…
Add table
Add a link
Reference in a new issue