32 lines
952 B
Bash
32 lines
952 B
Bash
# Template file for 'dino'
|
|
pkgname=dino
|
|
version=0.2.1
|
|
revision=1
|
|
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-devel sqlite-devel libcanberra-devel"
|
|
short_desc='Modern XMPP ("Jabber") Chat Client using GTK+/Vala'
|
|
maintainer="Anjandev Momi <anjan@momi.ca>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/dino/dino"
|
|
distfiles="https://github.com/dino/dino/archive/v${version}.tar.gz"
|
|
checksum=56ead6fc54f8c10e1116d639431fe509ac8a390b68c60ed897562a215a075f32
|
|
|
|
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
|
|
}
|