pmaports/temp/dino/APKBUILD

62 lines
1.3 KiB
Text
Raw Normal View History

# Forked from Alpine Linux: unreleased branch of Dino that has been optimized
# for mobile displays
pkgname=dino
pkgver=9999_git20211230
pkgrel=1
# feature/handy branch
_commit="c848191a034a920266687002045abc5e1f42b070"
pkgdesc="Modern Jabber/XMPP client"
url="https://dino.im"
arch="all"
license="GPL-3.0-only"
makedepends="
glib-dev
glib-networking
gtk+3.0-dev
gpgme-dev
gspell-dev
gstreamer-dev
gst-plugins-base-dev
libgee-dev
libsignal-protocol-c-dev
libgcrypt-dev
libhandy1-dev
libnice-dev
libsoup-dev
libsrtp-dev
sqlite-dev
libqrencode-dev
cmake
vala
"
subpackages="$pkgname-lang"
source="
https://github.com/dino/dino/archive/$_commit.tar.gz
bump-signal-version.patch
"
builddir="$srcdir/$pkgname-$_commit"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-tests
make
}
check() {
build/xmpp-vala-test
build/signal-protocol-vala-test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
1157c2221b0b127b151b79d6a5b1dd0a4141b9022cd148e2e347be026af950744d8a1030bb02ff27c3410653e3f18b30a5d2659fe2b24620e64004e95343e31d c848191a034a920266687002045abc5e1f42b070.tar.gz
838ccba8d97db8bc43de26afd259e4bdaf3afea786bf40a7ed9ae63f4fb7c2190e8bf6de7b41880602113df87831d01467547f8bfd1f88b50d35287822cb5f4c bump-signal-version.patch
"