From 08f4ba09e600ee805baba0f863fe97f348615a6b Mon Sep 17 00:00:00 2001 From: Piraty Date: Mon, 22 Jan 2018 19:35:22 +0100 Subject: [PATCH] seafile-client-qt: add build option: shibboleth Closes: #11056 [via git-merge-pr] --- srcpkgs/seafile-client-qt/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/seafile-client-qt/template b/srcpkgs/seafile-client-qt/template index dc6bc6a841a..3d9de80b179 100644 --- a/srcpkgs/seafile-client-qt/template +++ b/srcpkgs/seafile-client-qt/template @@ -1,15 +1,16 @@ # Template file for 'seafile-client-qt' pkgname=seafile-client-qt version=6.1.4 -revision=1 +revision=2 _sourcename="seafile-client" wrksrc="${_sourcename}-${version}" build_style=cmake -configure_args="-DUSE_QT5=ON" +configure_args="-DUSE_QT5=ON $(vopt_if shibboleth -DBUILD_SHIBBOLETH_SUPPORT=ON)" hostmakedepends="pkg-config" makedepends="sqlite-devel jansson-devel ccnet-devel libsearpc-devel libressl-devel seafile-libclient-devel libevent-devel libuuid-devel - qt5-devel qt5-tools-devel desktop-file-utils" + qt5-devel qt5-tools-devel desktop-file-utils + $(vopt_if shibboleth 'qt5-webengine-devel qt5-declarative-devel qt5-webchannel-devel qt5-location-devel')" short_desc="Cloud storage system - Qt graphical client" maintainer="yopito " @@ -18,6 +19,10 @@ homepage="https://github.com/haiwen/${_sourcename}" distfiles="https://github.com/haiwen/${_sourcename}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=fa2433c8925502b563fdd7d93ec5751e4f8e1949b56bf427f2253b86e8c33321 +build_options="shibboleth" +desc_option_shibboleth="Build with Shibboleth support" +build_options_default="shibboleth" + case "$XBPS_TARGET_MACHINE" in *-musl) # Add musl-fts implementation makedepends+=" musl-fts-devel"