pmaports/main/telephony-service/APKBUILD

38 lines
1.6 KiB
Text
Raw Normal View History

# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=telephony-service
pkgver=0_git20200218
pkgrel=1
# uses git sha from integration branch, since changes are still pending to be merged
_commit="aa9e19d766c8dfcc23ab0531ade02054d4fd8492"
pkgdesc="Telephony service"
url="https://github.com/ubports/telephony-service"
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
telephony-service-handler.desktop"
options="!check" # no tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DSKIP_QML_TESTS=ON \
-DWANT_UI_SERVICES=OFF
make
}
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
617235b54143194d1e6b70277bb2af269c0eed50a1b6d01d1be9b0205d27ffbd872da1e46cb95bed6f02c6543e43e82da8f356d63991da8e9ba59baf83506ce7 telephony-service-handler.desktop"