From 3bcc7efacbab5098b01f4eaa2d4d4f3c49d15200 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 28 May 2019 16:37:56 +0200 Subject: [PATCH] phosh/chatty: new aport (!8) [ci:skip-build]: already built successfully in CI --- main/postmarketos-ui-phosh/APKBUILD | 2 +- phosh/chatty/APKBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 phosh/chatty/APKBUILD diff --git a/main/postmarketos-ui-phosh/APKBUILD b/main/postmarketos-ui-phosh/APKBUILD index 650de9b8d..727b0397e 100644 --- a/main/postmarketos-ui-phosh/APKBUILD +++ b/main/postmarketos-ui-phosh/APKBUILD @@ -7,7 +7,7 @@ pkgdesc="(Wayland) Mobile UI developed for the Librem 5 (x86 and x86_64 only for url="https://puri.sm" arch="noarch !armhf !armv7 !aarch64" license="GPL-3.0-or-later" -depends="phosh lightdm xorg-server calls" +depends="phosh lightdm xorg-server calls chatty" install="$pkgname.post-install" source="60-lightdm-autologin.conf" options="!check" diff --git a/phosh/chatty/APKBUILD b/phosh/chatty/APKBUILD new file mode 100644 index 000000000..b05c6d5ef --- /dev/null +++ b/phosh/chatty/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=chatty +pkgver=0.0.7 +pkgrel=0 +pkgdesc="A phone dialer and call handler" +arch="all" +url="https://gitlab.gnome.org/Community/Purism/chatty" +license="GPL-3.0-or-later" +depends="purple-mm-sms" +makedepends="meson ninja gtk+3.0-dev pidgin-dev libhandy-dev" +source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-v$pkgver" + +build() { + meson . _build --prefix=/usr + ninja -C _build +} + +check() { + ninja -C _build test +} + +package() { + DESTDIR="$pkgdir" ninja -C _build install +} +sha512sums="0317d29ad35b1fa5137d017e5ac5cc79eebb14c614f86fba82e18fa448fc1739d11efab44142689db63d054def4681f59044e8fdc8a024acdc54d909de4509b8 chatty-0.0.7.tar.gz"