diff --git a/main/postmarketos-ui-phosh/APKBUILD b/main/postmarketos-ui-phosh/APKBUILD index 951edf449..650de9b8d 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" +depends="phosh lightdm xorg-server calls" install="$pkgname.post-install" source="60-lightdm-autologin.conf" options="!check" diff --git a/phosh/calls/APKBUILD b/phosh/calls/APKBUILD new file mode 100644 index 000000000..e5c37d625 --- /dev/null +++ b/phosh/calls/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=calls +pkgver=0.0.1_git20190131 +pkgrel=0 +_commit="ee126b3660c8c44dcb67c695d0c7911160995971" +pkgdesc="A phone dialer and call handler" +arch="all" +url="https://gitlab.gnome.org/Community/Purism/calls" +license="GPL-3.0-or-later" +depends="modemmanager" +makedepends="meson ninja gettext-dev gobject-introspection-dev gtk+3.0-dev libhandy-dev gsound-dev libpeas-dev modemmanager-dev" +source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/$pkgname/-/archive/$_commit.tar.gz" +options="!check" # Requires running Wayland compositor +builddir="$srcdir/$pkgname-$_commit" + +build() { + cd "$builddir" + meson . _build --prefix=/usr + ninja -C _build +} + +check() { + cd "$builddir" + ninja -C _build test +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C _build install +} +sha512sums="0a30967a832dbfe7cc49b9ae3273586cc08e0da47d069e2335714a6d4b7d9fcc33f04c964881839d01d6d4982f29740ca060b47bee8db5cf5b6046473f0e8b37 calls-0.0.1_git20190131.tar.gz"