Skip to content

Commit

Permalink
Merge pull request #79 from neochapay/master
Browse files Browse the repository at this point in the history
[examples] Add service for notifycations
  • Loading branch information
locusf authored Jan 13, 2020
2 parents 4738726 + e24530a commit 63d6da1
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 63d6da1

Please sign in to comment.