void-packages/srcpkgs/profanity/template

28 lines
1.2 KiB
Bash

# Template file for 'profanity'
pkgname=profanity
version=0.14.0
revision=2
build_style=gnu-configure
configure_args="--enable-notifications --enable-otr --enable-pgp
--enable-python-plugins --enable-plugins --with-xscreensaver --enable-omemo
--enable-c-plugins ac_cv_prog_PYTHON_CONFIG_EXISTS=yes PYTHON_VERSION=3"
hostmakedepends="pkg-config python3-devel gtk+3-devel"
makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel
sqlite-devel libnotify-devel libotr-devel libgcrypt-devel gpgme-devel
python3-devel gtk+3-devel libXScrnSaver-devel libsignal-protocol-c-devel
libgcrypt-devel qrencode-devel"
checkdepends="cmocka-devel"
short_desc="Console based XMPP client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://profanity-im.github.io/"
changelog="https://raw.githubusercontent.com/profanity-im/profanity/master/CHANGELOG"
distfiles="https://github.com/boothj5/profanity/releases/download/${version}/profanity-${version}.tar.gz"
checksum=fd23ffd38a31907974a680a3900c959e14d44e16f1fb7df2bdb7f6c67bd7cf7f
case "$XBPS_TARGET_MACHINE" in
arm*)
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}" ;;
esac