New package: seafile-client-qt 5.0.4 and its needs (ccnet, seafile-libclient)

This commit is contained in:
yopito 2016-02-06 18:10:24 +01:00
parent 84070a5a46
commit 196ea94392
6 changed files with 109 additions and 0 deletions

View file

@ -2337,3 +2337,5 @@ libpqxx-4.0.so libpqxx-4.0.1_1
libndpi.so.1 ndpi-1.6_1
liblog4cxx.so.10 log4cxx-0.10.0_1
libsearpc.so.1 libsearpc-3.0.7_1
libccnet.so.0 ccnet-5.0.4_1
libseafile.so.0 seafile-libclient-5.0.4_1

1
srcpkgs/ccnet-devel Symbolic link
View file

@ -0,0 +1 @@
ccnet

39
srcpkgs/ccnet/template Normal file
View file

@ -0,0 +1,39 @@
# Template file for 'ccnet'
pkgname=ccnet
version=5.0.4
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-compile-demo"
hostmakedepends="automake libtool pkg-config python vala libsearpc-codegen"
makedepends="glib-devel sqlite-devel libressl-devel libevent-devel libuuid-devel libsearpc-devel"
short_desc="Seafile networking library"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="https://github.com/haiwen/${pkgname}"
distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=b2c930b5c327f9f1ad41d10cdc7ded494c674584bcac892327436c5c8cfac56e
pre_configure() {
./autogen.sh
}
post_install() {
vdoc "README.markdown"
vdoc "COPYRIGHT"
vdoc "HACKING"
}
ccnet-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vdoc "README.markdown"
vdoc "COPYRIGHT"
vdoc "HACKING"
vmove "usr/include"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
}
}

View file

@ -0,0 +1,27 @@
# Template file for 'seafile-client-qt'
_sourcename="seafile-client"
pkgname=seafile-client-qt
version=5.0.4
revision=1
wrksrc="${_sourcename}-${version}"
build_style=cmake
configure_args="-D CMAKE_BUILD_TYPE=Release -D USE_QT5=ON ."
# nocross since qt unavailable for arm* architecture
nocross=yes
hostmakedepends="pkg-config cmake"
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"
short_desc="Cloud storage system - Qt graphical client"
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=5ce5f0f6615f9d80efd51a23e780340ed840276ced80bc62f1373b643d2fbd28
post_install() {
vdoc "README.md"
}

View file

@ -0,0 +1 @@
seafile-libclient

View file

@ -0,0 +1,39 @@
# Template file for 'seafile-libclient'
pkgname=seafile-libclient
version=5.0.4
revision=1
wrksrc="${pkgname/-libclient/}-${version}"
build_style=gnu-configure
configure_args="--disable-static --disable-server --enable-client --disable-fuse"
hostmakedepends="automake libtool pkg-config python vala intltool libsearpc-codegen"
makedepends="glib-devel sqlite-devel libressl-devel libevent-devel libuuid-devel
jansson-devel libsearpc-devel ccnet-devel libcurl-devel"
depends="python"
short_desc="Cloud storage system - client command-line and libraries"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="https://github.com/haiwen/${pkgname/-libclient/}"
distfiles="https://github.com/haiwen/${pkgname/-libclient/}/archive/v${version}.tar.gz>${pkgname/-libclient/}-${version}.tar.gz"
checksum=87f70e563a5f599acd742db15c801896b01b0fdf52f0d7f779fb0cf94cb9c130
pre_configure() {
./autogen.sh
}
post_install() {
# remove server files
rm -rf "${DESTDIR}/usr/lib/python2.7/site-packages/seaserv"
vdoc "README.markdown"
}
seafile-libclient-devel_package() {
short_desc+=" - development files"
depends="seafile-libclient>=${version}_${revision} glib-devel libsearpc-devel jansson-devel"
pkg_install() {
vdoc "README.markdown"
vmove "usr/include"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
}
}