seafile-client-qt: add build option: shibboleth

Closes: #11056 [via git-merge-pr]
This commit is contained in:
Piraty 2018-01-22 19:35:22 +01:00 committed by Jürgen Buchmüller
parent 50b6fd7395
commit 08f4ba09e6
1 changed files with 8 additions and 3 deletions

View File

@ -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 <pierre.bourgin@free.fr>"
@ -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"