main/telephony-service: autostart on boot (!972)
This commit is contained in:
parent
01c6ba3081
commit
07fb820e98
2 changed files with 14 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Bhushan Shah <bshah@kde.org>
|
||||
pkgname=telephony-service
|
||||
pkgver=0_git20200218
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
# uses git sha from integration branch, since changes are still pending to be merged
|
||||
_commit="aa9e19d766c8dfcc23ab0531ade02054d4fd8492"
|
||||
pkgdesc="Telephony service"
|
||||
|
@ -11,7 +11,8 @@ arch="all !armhf" # armhf blocked by qt5-qtmultimedia -> qt5-qtdeclarative
|
|||
license="GPL-3.0-only"
|
||||
depends="ofono"
|
||||
makedepends="cmake qt5-qtbase-dev qt5-qtpim-dev libphonenumber-dev telepathy-qt-dev sqlite-dev telepathy-mission-control-dev libofono-qt-dev qt5-qtpim-dev qt5-qtfeedback-dev libnotify-dev qt5-qtmultimedia-dev pulseaudio-dev glib-dev coreutils lcov gcovr dconf"
|
||||
source="$pkgname-$_commit.tar.gz::https://github.com/ubports/telephony-service/archive/$_commit.tar.gz"
|
||||
source="$pkgname-$_commit.tar.gz::https://github.com/ubports/telephony-service/archive/$_commit.tar.gz
|
||||
telephony-service-handler.desktop"
|
||||
options="!check" # no tests
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
|
@ -27,6 +28,10 @@ build() {
|
|||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" make install
|
||||
|
||||
install -Dm644 "$srcdir"/telephony-service-handler.desktop \
|
||||
"$pkgdir"/etc/xdg/autostart/telephony-service-handler.desktop
|
||||
}
|
||||
|
||||
sha512sums="6ef7a796768009701f3972bd514efb4ca6d2ea38c9afdc2737af0d697bf91172b287da3380c87d1f080759af3d2f974cfa7392f963b939fbd83c41ce3e7b9ed8 telephony-service-aa9e19d766c8dfcc23ab0531ade02054d4fd8492.tar.gz"
|
||||
sha512sums="6ef7a796768009701f3972bd514efb4ca6d2ea38c9afdc2737af0d697bf91172b287da3380c87d1f080759af3d2f974cfa7392f963b939fbd83c41ce3e7b9ed8 telephony-service-aa9e19d766c8dfcc23ab0531ade02054d4fd8492.tar.gz
|
||||
617235b54143194d1e6b70277bb2af269c0eed50a1b6d01d1be9b0205d27ffbd872da1e46cb95bed6f02c6543e43e82da8f356d63991da8e9ba59baf83506ce7 telephony-service-handler.desktop"
|
||||
|
|
6
main/telephony-service/telephony-service-handler.desktop
Normal file
6
main/telephony-service/telephony-service-handler.desktop
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Type=Service
|
||||
Icon=preferences-system-power-management
|
||||
Name=Telephony Service handler
|
||||
Exec=dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.Telepathy.Client.TelephonyServiceHandler uint32:0
|
||||
OnlyShowIn=KDE;
|
Loading…
Reference in a new issue