39 lines
1.9 KiB
Bash
39 lines
1.9 KiB
Bash
# Template file for 'profanity'
|
|
pkgname=profanity
|
|
version=0.13.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
|
|
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
|
|
$(vopt_with xscreensaver) $(vopt_enable omemo) $(vopt_enable cplugins c-plugins)
|
|
ac_cv_prog_PYTHON_CONFIG_EXISTS=yes PYTHON_VERSION=3"
|
|
hostmakedepends="pkg-config $(vopt_if python python3-devel) $(vopt_if gtk gtk+3-devel)"
|
|
makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel sqlite-devel
|
|
$(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
|
|
$(vopt_if pgp gpgme-devel) $(vopt_if python python3-devel) $(vopt_if gtk gtk+3-devel)
|
|
$(vopt_if xscreensaver libXScrnSaver-devel)
|
|
$(vopt_if omemo 'libsignal-protocol-c-devel libgcrypt-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=2b5075272e7ec9d9c991542e592b1d474fff88c61c66e7e23096ad306ed2c84a
|
|
|
|
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
|
|
|
|
# Package build options
|
|
build_options="notify otr pgp omemo gtk python xscreensaver cplugins plugins"
|
|
build_options_default="notify otr pgp gtk omemo python cplugins plugins xscreensaver"
|
|
desc_option_otr="Enable support for OTR encryption"
|
|
desc_option_pgp="Enable support for OpenPGP encryption"
|
|
desc_option_omemo="Enable support for OMEMO encryption"
|
|
desc_option_plugins="Enable support for plugins"
|
|
desc_option_cplugins="Enable support for c-plugins"
|