parent
5c0179d44e
commit
8c41134d09
|
@ -1,16 +1,20 @@
|
|||
# Template file for 'profanity'
|
||||
pkgname=profanity
|
||||
version=0.8.1
|
||||
revision=1
|
||||
revision=2
|
||||
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 gtk icons) $(vopt_enable cplugins c-plugins)"
|
||||
hostmakedepends="pkg-config $(vopt_if python python-devel) $(vopt_if gtk gtk+-devel)"
|
||||
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
|
||||
$(vopt_with xscreensaver) $(vopt_enable omemo) $(vopt_enable gtk icons)
|
||||
$(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+-devel)"
|
||||
makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel
|
||||
$(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
|
||||
$(vopt_if pgp gpgme-devel) $(vopt_if python python-devel) $(vopt_if gtk gtk+-devel)
|
||||
$(vopt_if xscreensaver libXScrnSaver-devel) $(vopt_if omemo 'libsignal-protocol-c libgcrypt-devel')"
|
||||
$(vopt_if pgp gpgme-devel) $(vopt_if python python3-devel) $(vopt_if gtk gtk+-devel)
|
||||
$(vopt_if xscreensaver libXScrnSaver-devel)
|
||||
$(vopt_if omemo 'libsignal-protocol-c libgcrypt-devel')"
|
||||
checkdepends="cmocka-devel"
|
||||
short_desc="Console based XMPP client"
|
||||
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
||||
|
@ -23,8 +27,8 @@ export LIBS="-lm"
|
|||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*)
|
||||
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py2_inc}"
|
||||
export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py2_ver}" ;;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue