From 95b07a4e3b44dad02d95df778dc2cf725388e714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Mon, 10 Aug 2020 14:15:21 +0200 Subject: [PATCH] dino: rebuild against shared libsignal-protocol-c, enable tests --- srcpkgs/dino/template | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template index 77a5b823dc3..cbc02fa3d5c 100644 --- a/srcpkgs/dino/template +++ b/srcpkgs/dino/template @@ -1,14 +1,14 @@ # Template file for 'dino' pkgname=dino version=0.1.0 -revision=3 +revision=4 build_style=cmake configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON" make_cmd=ninja hostmakedepends="cmake ninja gettext unzip pkg-config vala glib-devel" makedepends="glib-devel qrencode-devel gtk+3-devel gpgme-devel libgee08-devel libgcrypt-devel libsoup-devel - libsignal-protocol-c sqlite-devel libcanberra-devel" + libsignal-protocol-c-devel sqlite-devel libcanberra-devel" short_desc='Modern XMPP ("Jabber") Chat Client using GTK+/Vala' maintainer="Anjandev Momi " license="GPL-3.0-or-later" @@ -16,6 +16,15 @@ homepage="https://github.com/dino/dino" distfiles="https://github.com/dino/dino/archive/v${version}.tar.gz" checksum="202b7db322d85389b0bebc3c38976e7f7beaceddd1fc46b8123e50c6c7c07b8d" +if [ "${XBPS_CHECK_PKGS}" ]; then + configure_args+=" -DBUILD_TESTS=ON" +fi + +do_check() { + build/xmpp-vala-test + build/signal-protocol-vala-test +} + post_install() { rm -rf ${DESTDIR}/usr/include rm -rf ${DESTDIR}/usr/lib/*.so