377a82105d
Start it using XDG Autostart feature, but exclude starting in qubes-session - so even if package is installed in a VM, it wont be started simultaneusly with GUI agent. On the other hand, if some other DE session is running there (which will be the case for GUI domain), gui-daemons will be started accordingly. QubesOS/qubes-issues#833
15 lines
300 B
Makefile
15 lines
300 B
Makefile
.PHONY: all
|
|
all: build
|
|
|
|
PYTHON ?= python
|
|
|
|
.PHONY: build
|
|
build:
|
|
$(PYTHON) setup.py build
|
|
|
|
.PHONY: install
|
|
install:
|
|
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
|
|
install -d $(DESTDIR)/etc/xdg/autostart
|
|
install -m 0644 etc/qvm-start-gui.desktop $(DESTDIR)/etc/xdg/autostart/
|