mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-26 23:06:28 +00:00
fix to desktop integraton install
This commit is contained in:
parent
b521e32110
commit
f309e3f08d
@ -1,4 +1,4 @@
|
|||||||
Applicationsdir = $(datadir)/applications $(datadir)/app-install/desktop
|
Applicationsdir = $(datadir)/applications
|
||||||
Applications_DATA = tomb.desktop
|
Applications_DATA = tomb.desktop
|
||||||
|
|
||||||
AppRegdir = $(datadir)/application-registry
|
AppRegdir = $(datadir)/application-registry
|
||||||
@ -10,15 +10,22 @@ MimeInfo_DATA = tomb.keys tomb.mime
|
|||||||
Menudir = $(datadir)/menu
|
Menudir = $(datadir)/menu
|
||||||
Menu_DATA = tomb
|
Menu_DATA = tomb
|
||||||
|
|
||||||
Iconsdir = $(datadir)/icons $(datadir)/app-install/icons
|
Iconsdir = $(datadir)/icons
|
||||||
Icons_DATA = monmort.png
|
Icons_DATA = monmort.png
|
||||||
|
|
||||||
|
AppInstIcondir = $(datadir)/app-install/icons
|
||||||
|
AppInstIcon_DATA = monmort.png
|
||||||
|
|
||||||
|
AppInstDeskdir = $(datadir)/app-install/desktop
|
||||||
|
AppInstDesk_DATA = tomb.desktop
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
xdg-mime install dyne-tomb.xml
|
@echo "installing mime type"; xdg-mime install dyne-tomb.xml
|
||||||
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort
|
@mkdir -p $(prefix)/lib/mime/packages
|
||||||
xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort
|
@echo "application/x-tomb-volume; tomb-open '%s'; priority=8" > $(prefix)/lib/mime/packages/tomb
|
||||||
mkdir -p $(prefix)/lib/mime/packages
|
@echo "installing icons";
|
||||||
echo "application/x-tomb-volume; tomb-open '%s'; priority=8" > $(prefix)/lib/mime/packages/tomb
|
@xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort
|
||||||
update-desktop-database
|
@xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort
|
||||||
update-menus
|
@echo "updating dekstop database"; update-desktop-database
|
||||||
|
@if ! [ -n `which update-menus` ]; then echo update-menus; update-menus; fi
|
||||||
update-mime
|
update-mime
|
||||||
|
Loading…
Reference in New Issue
Block a user