Skip to content

Commit

Permalink
[examples] Add service for notifycations
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Jan 13, 2020
1 parent dc78d00 commit e24530a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/touch/org.nemomobile.notify.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[D-BUS Service]
Name=org.nemomobile.notify
Exec=/usr/bin/glacier-components
5 changes: 4 additions & 1 deletion examples/touch/touch.pro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ OTHER_FILES += $$qml.files
desktop.path = /usr/share/applications
desktop.files = glacier-components.desktop

INSTALLS += desktop target qml mainqml images
systemd_dbus_service.path = $${INSTALL_ROOT}/usr/share/dbus-1/services
systemd_dbus_service.files = org.nemomobile.notify.service

INSTALLS += desktop target qml mainqml images systemd_dbus_service

SOURCES += \
src/main.cpp
Expand Down
2 changes: 1 addition & 1 deletion rpm/qtquickcontrols-nemo.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ desktop-file-install --delete-original \
%{_datadir}/glacier-components
%{_datadir}/glacier-sizeview
%{_datadir}/applications/*.desktop

%{_datadir}/dbus-1/services/org.nemomobile.notify.service

0 comments on commit e24530a

Please sign in to comment.