summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-12-10 13:15:26 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-12-10 13:22:27 +0100
commit32b874e3bcf04cdf2bc5dad9f03191bc2f7b3316 (patch)
treeb9aa8efd5138ff91b2058d404617b14432b3027c /gnustep-libs/sope
parentx11-misc/picom: add live ebuild (diff)
downloadgentoo-32b874e3bcf04cdf2bc5dad9f03191bc2f7b3316.tar.gz
gentoo-32b874e3bcf04cdf2bc5dad9f03191bc2f7b3316.tar.bz2
gentoo-32b874e3bcf04cdf2bc5dad9f03191bc2f7b3316.zip
gnustep-libs/sope: 4.1.1 bump
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-libs/sope')
-rw-r--r--gnustep-libs/sope/Manifest1
-rw-r--r--gnustep-libs/sope/sope-4.1.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/gnustep-libs/sope/Manifest b/gnustep-libs/sope/Manifest
index 71f9ca904c39..08fe84d8fe2a 100644
--- a/gnustep-libs/sope/Manifest
+++ b/gnustep-libs/sope/Manifest
@@ -1,2 +1,3 @@
DIST sope-4.0.7.tar.gz 2200743 BLAKE2B 1ab31ca92821b5febbcfa7776292a565216e40d6fdbe9afdf8bb97bb445a654716d3abd4736821b881cb464c3b7e46353910ab38fd853f89581eb248db0155d3 SHA512 6d723278f714f01b215e7b0cf046008b6448c84daddde4ad1f3434b8154a8bcede3adaa11c980b4f4b9c4950a07d545185483cf8ba75a8bac91e86437dc6e74b
DIST sope-4.0.8.tar.gz 2201872 BLAKE2B e0838fcf462bdd143a9b42aba0c775e414769f04f351073238f3554d24c95103f8fc781dcb57c540e295af6d92586e2c3da3e730952155f063dd7e8844959e04 SHA512 6ecf9b473e3b8e556578efc74036e60fb4b07cad837df034471f56dfc08507332470b2ced2db6c5206adbf73cf27c1743b57fa8fc154d9bd7a7865f68c1fa98c
+DIST sope-4.1.1.tar.gz 2202428 BLAKE2B 551306a5d722442d60f68d132a21023bd7acf2fb2dcefdfcb0e1a053c03bf3c5af3afc954ec4b76e4db56799ff8cdd931ca8038fb7b3c41e5dff915858e49013 SHA512 fe672ba3b6b42bcc67f98efcb49bbe7f61f3e2fa9a0b2c571b60978425714916fe35f43283f27efaf8d568e53e6e0b6b1f80a7a63cf5b3df001e1d591cb386df
diff --git a/gnustep-libs/sope/sope-4.1.1.ebuild b/gnustep-libs/sope/sope-4.1.1.ebuild
new file mode 100644
index 000000000000..a24c86a95657
--- /dev/null
+++ b/gnustep-libs/sope/sope-4.1.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnustep-2 vcs-snapshot
+
+DESCRIPTION="A set of frameworks forming a complete Web application server environment"
+HOMEPAGE="http://www.sogo.nu/"
+SRC_URI="https://github.com/inverse-inc/sope/archive/SOPE-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnutls ldap libressl mysql postgres +ssl +xml"
+
+RDEPEND="
+ sys-libs/zlib
+ ldap? ( net-nds/openldap )
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
+ mysql? ( dev-db/mysql-connector-c:= )
+ postgres? ( dev-db/postgresql:= )
+ xml? ( dev-libs/libxml2:2 )
+"
+DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+ if use ssl && use gnutls && use libressl ; then
+ ewarn "You have enabled both gnutls and libressl, but only"
+ ewarn "one provider can be active. Using gnutls!"
+ fi
+}
+
+src_configure() {
+ local ssl_provider
+ if use ssl ; then
+ if use gnutls ; then
+ ssl_provider=gnutls
+ else
+ ssl_provider=ssl
+ fi
+ else
+ ssl_provider=none
+ fi
+
+ egnustep_env
+
+ # Non-standard configure script
+ ./configure \
+ --disable-strip \
+ $(use_enable debug) \
+ $(use_enable ldap openldap) \
+ $(use_enable mysql) \
+ $(use_enable postgres postgresql) \
+ $(use_enable xml) \
+ --with-ssl="${ssl_provider}" \
+ --with-gnustep || die "configure failed"
+}