2014-02-03 15:53:03 +01:00
|
|
|
# Template file for 'profanity'
|
|
|
|
pkgname=profanity
|
2014-05-20 08:29:44 +02:00
|
|
|
version=0.4.2
|
2014-03-30 10:26:24 +02:00
|
|
|
revision=1
|
2014-02-03 15:53:03 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
2014-05-20 08:29:44 +02:00
|
|
|
makedepends="glib-devel expat-devel ncurses-devel gnutls-devel libotr-devel libcurl-devel libstrophe-git"
|
2014-02-03 15:53:03 +01:00
|
|
|
short_desc="A console based XMPP client"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.profanity.im/"
|
|
|
|
distfiles="http://www.profanity.im/${pkgname}-${version}.tar.gz"
|
2014-05-20 08:29:44 +02:00
|
|
|
checksum=9b65095a6bf971c423d7512433fcae95c25f2de1355fbd6d8e4794a9c72c9021
|
2014-02-03 16:10:15 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="notify xscreensaver"
|
|
|
|
desc_option_notify="Enable support for desktop notifications"
|
|
|
|
desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle time"
|
|
|
|
|
|
|
|
if [ "$build_option_notify" ]; then
|
|
|
|
configure_args+=" --enable-notifications"
|
|
|
|
makedepends+=" libnotify-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-notifications"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_xscreensaver" ]; then
|
|
|
|
configure_args+=" --with-xscreensaver"
|
|
|
|
makedepends+=" libXScrnSaver-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-xscreensaver"
|
|
|
|
fi
|