From e5cf6d0109504e0c9d90bf3b83bb9b5dee2a672b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 31 Dec 2017 16:19:46 +0100 Subject: [PATCH] bitlbee: libpurple support (default: off) Closes: #7907 --- srcpkgs/bitlbee/patches/accept-libressl.patch | 12 ++++++++++++ srcpkgs/bitlbee/template | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/bitlbee/patches/accept-libressl.patch diff --git a/srcpkgs/bitlbee/patches/accept-libressl.patch b/srcpkgs/bitlbee/patches/accept-libressl.patch new file mode 100644 index 0000000000..27810e8b01 --- /dev/null +++ b/srcpkgs/bitlbee/patches/accept-libressl.patch @@ -0,0 +1,12 @@ +--- configure ++++ configure +@@ -620,8 +620,6 @@ elif [ "$ssl" = "openssl" ]; then + echo ' * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"' + + echo 'EFLAGS+=-lssl -lcrypto' >> Makefile.settings +- +- ret=1 + else + echo + echo 'ERROR: Unknown SSL library specified.' + diff --git a/srcpkgs/bitlbee/template b/srcpkgs/bitlbee/template index 091c2569f1..e99970fd78 100644 --- a/srcpkgs/bitlbee/template +++ b/srcpkgs/bitlbee/template @@ -1,14 +1,16 @@ # Template file for 'bitlbee' pkgname=bitlbee version=3.5.1 -revision=2 +revision=3 build_style=gnu-configure configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin --pidfile=/run/${pkgname}/${pkgname}.pid --ipcsocket=/run/${pkgname}/${pkgname}.sock - --ssl=openssl --strip=0 --otr=plugin --skype=plugin" + --ssl=openssl --strip=0 --otr=plugin --skype=plugin + $(vopt_if purple --purple=1 --purple=0)" hostmakedepends="pkg-config asciidoc" -makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel" +makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel + $(vopt_if purple libpurple-devel)" make_install_args="install-etc" short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC" maintainer="Juan RP " @@ -17,6 +19,9 @@ homepage="http://www.bitlbee.org/" distfiles="http://get.bitlbee.org/src/$pkgname-$version.tar.gz" checksum=9636d7fd89ebb3756c13a9a3387736ca6d56ccf66ec0580d512f07b21db0fa69 +build_options="purple" +desc_option_purple="Build with libpurple support" + system_accounts="$pkgname" bitlbee_homedir="/var/lib/$pkgname" @@ -29,6 +34,7 @@ conf_files=" post_install() { vsv $pkgname } + bitlbee-devel_package() { short_desc+=" - development files" depends="${sourcepkg}-${version}_${revision} ${makedepends}"