seafile-client-qt: update to 5.1.2

This commit is contained in:
yopito 2016-06-08 10:04:14 +02:00
parent 61a96eb500
commit 094efd81aa
1 changed files with 20 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'seafile-client-qt'
pkgname=seafile-client-qt
version=5.1.1
version=5.1.2
revision=1
_sourcename="seafile-client"
wrksrc="${_sourcename}-${version}"
build_style=cmake
configure_args="-D CMAKE_BUILD_TYPE=Release -D USE_QT5=ON ."
configure_args="-DUSE_QT5=ON"
# nocross since qt unavailable for arm* architecture
nocross=yes
@ -19,7 +19,24 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="ASL-2"
homepage="https://github.com/haiwen/${_sourcename}"
distfiles="https://github.com/haiwen/${_sourcename}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=0148cbdb97dcd58e6ebec738c8f6bc476192f0b9156f0783199f1213c4d0322f
checksum=ee62eecb410530174b1d184a5b46dce83a164f0b1fe162411dc594125151e02f
case "$XBPS_TARGET_MACHINE" in
*-musl) # Add musl-fts implementation
makedepends+=" musl-fts-devel"
;;
esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
# append '-ltfs' argument on link via cmake (macro TARGET_LINK_LIBRARIES)
# "LDFLAGS=-lfts" does not work, its prepends it (useless)
# XXX prefer patch on CMakeLists.txt ?
sed -i -e 's,\(\${EXTRA_LIBS}\)$,\1 -lfts,' ${wrksrc}/CMakeLists.txt
;;
esac
}
post_install() {
vdoc "README.md"