Merge pull request #4302 from yopito/seafile

seafile-client-qt: update to 5.1.2
This commit is contained in:
Michael Gehring 2016-06-11 10:42:05 +02:00 committed by GitHub
commit 1053d09aeb
3 changed files with 24 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'ccnet' # Template file for 'ccnet'
pkgname=ccnet pkgname=ccnet
version=5.1.1 version=5.1.2
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-compile-demo" configure_args="--disable-static --disable-compile-demo"
@ -13,7 +13,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3" license="GPL-3"
homepage="https://github.com/haiwen/${pkgname}" homepage="https://github.com/haiwen/${pkgname}"
distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=1e86961e1daaac1cee9eab92a2671696e83b45b241f611cfeff1e2982f1cab0d checksum=1e27da99962eb23ce02c1c6dfb9143faf97d32aba807e562eff1ec18f8c6b162
pre_configure() { pre_configure() {
./autogen.sh ./autogen.sh

View File

@ -1,11 +1,11 @@
# Template file for 'seafile-client-qt' # Template file for 'seafile-client-qt'
pkgname=seafile-client-qt pkgname=seafile-client-qt
version=5.1.1 version=5.1.2
revision=1 revision=1
_sourcename="seafile-client" _sourcename="seafile-client"
wrksrc="${_sourcename}-${version}" wrksrc="${_sourcename}-${version}"
build_style=cmake 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 since qt unavailable for arm* architecture
nocross=yes nocross=yes
@ -19,7 +19,24 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="ASL-2" license="ASL-2"
homepage="https://github.com/haiwen/${_sourcename}" homepage="https://github.com/haiwen/${_sourcename}"
distfiles="https://github.com/haiwen/${_sourcename}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" 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() { post_install() {
vdoc "README.md" vdoc "README.md"

View File

@ -1,6 +1,6 @@
# Template file for 'seafile-libclient' # Template file for 'seafile-libclient'
pkgname=seafile-libclient pkgname=seafile-libclient
version=5.1.1 version=5.1.2
revision=1 revision=1
wrksrc="${pkgname/-libclient/}-${version}" wrksrc="${pkgname/-libclient/}-${version}"
build_style=gnu-configure build_style=gnu-configure
@ -14,7 +14,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3" license="GPL-3"
homepage="https://github.com/haiwen/${pkgname/-libclient/}" homepage="https://github.com/haiwen/${pkgname/-libclient/}"
distfiles="https://github.com/haiwen/${pkgname/-libclient/}/archive/v${version}.tar.gz>${pkgname/-libclient/}-${version}.tar.gz" distfiles="https://github.com/haiwen/${pkgname/-libclient/}/archive/v${version}.tar.gz>${pkgname/-libclient/}-${version}.tar.gz"
checksum=6b7cf0b82c30925911d13081e66affe56c979b3d33a656c19c1d935f3a6a8cf9 checksum=0a0a3d37fbdba4f64a6437875c0ebd407638e529b3bc72c36bccc74edd43642a
pre_configure() { pre_configure() {
./autogen.sh ./autogen.sh