Menu entry and icons for Linux.
This commit is contained in:
parent
26b6b3eb7e
commit
4bb3ae1efb
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 778 B |
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Categories=Game;ActionGame;
|
||||||
|
Name=TBFTSS : The Pandoran War
|
||||||
|
Comment=Mission and Objective based 2D Space Shooter
|
||||||
|
Icon=tbftss
|
||||||
|
Exec=tbftss
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
12
makefile
12
makefile
|
@ -3,6 +3,8 @@ CC = gcc
|
||||||
BIN_DIR = /usr/bin
|
BIN_DIR = /usr/bin
|
||||||
DATA_DIR = /opt/tbftss
|
DATA_DIR = /opt/tbftss
|
||||||
LOCALE_DIR = /usr/share/locale
|
LOCALE_DIR = /usr/share/locale
|
||||||
|
ICON_DIR = /usr/share/icons/hicolor
|
||||||
|
DESKTOP_DIR = /usr/share/applications
|
||||||
|
|
||||||
SEARCHPATH += src/plat/unix
|
SEARCHPATH += src/plat/unix
|
||||||
OBJS += unixInit.o
|
OBJS += unixInit.o
|
||||||
|
@ -29,6 +31,11 @@ install:
|
||||||
cp -r manual $(DATA_DIR)
|
cp -r manual $(DATA_DIR)
|
||||||
cp -r music $(DATA_DIR)
|
cp -r music $(DATA_DIR)
|
||||||
cp -r sound $(DATA_DIR)
|
cp -r sound $(DATA_DIR)
|
||||||
|
cp -p icons/$(PROG)-16x16.png $(ICON_DIR)/16x16/apps/$(PROG).png
|
||||||
|
cp -p icons/$(PROG)-32x32.png $(ICON_DIR)/32x32/apps/$(PROG).png
|
||||||
|
cp -p icons/$(PROG)-64x64.png $(ICON_DIR)/64x64/apps/$(PROG).png
|
||||||
|
cp -p icons/$(PROG)-128x128.png $(ICON_DIR)/128x128/apps/$(PROG).png
|
||||||
|
cp -p icons/$(PROG).desktop $(DESKTOP_DIR)
|
||||||
|
|
||||||
@for f in $(LOCALE_MO); do \
|
@for f in $(LOCALE_MO); do \
|
||||||
lang=`echo $$f | sed -e 's/^locale\///;s/\.mo$$//'`; \
|
lang=`echo $$f | sed -e 's/^locale\///;s/\.mo$$//'`; \
|
||||||
|
@ -39,6 +46,11 @@ install:
|
||||||
uninstall:
|
uninstall:
|
||||||
$(RM) $(BIN_DIR)/$(PROG)
|
$(RM) $(BIN_DIR)/$(PROG)
|
||||||
$(RM) -rf $(DATA_DIR)
|
$(RM) -rf $(DATA_DIR)
|
||||||
|
$(RM) $(ICON_DIR)/16x16/apps/$(PROG).png
|
||||||
|
$(RM) $(ICON_DIR)/32x32/apps/$(PROG).png
|
||||||
|
$(RM) $(ICON_DIR)/64x64/apps/$(PROG).png
|
||||||
|
$(RM) $(ICON_DIR)/128x128/apps/$(PROG).png
|
||||||
|
$(RM) $(DESKTOP_DIR)/$(PROG).desktop
|
||||||
|
|
||||||
@for f in $(LOCALE_MO); do \
|
@for f in $(LOCALE_MO); do \
|
||||||
lang=`echo $$f | sed -e 's/^locale\///;s/\.mo$$//'`; \
|
lang=`echo $$f | sed -e 's/^locale\///;s/\.mo$$//'`; \
|
||||||
|
|
Loading…
Reference in New Issue