seafile-client: 5.0.7 -> 6.1.0

bump to qt5
This commit is contained in:
Simon Lackerbauer 2017-08-06 19:09:33 +02:00 committed by Robin Gloster
parent c839b6ce0a
commit 30d76b8ccd
5 changed files with 24 additions and 35 deletions

View File

@ -1,39 +1,28 @@
{stdenv, fetchurl, writeScript, pkgconfig, cmake, qt4, seafile-shared, ccnet, makeWrapper}:
{ stdenv, fetchurl, writeScript, pkgconfig, cmake, qtbase, qttools
, seafile-shared, ccnet, makeWrapper }:
stdenv.mkDerivation rec
{
version = "5.0.7";
stdenv.mkDerivation rec {
version = "6.1.0";
name = "seafile-client-${version}";
src = fetchurl
{
src = fetchurl {
url = "https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz";
sha256 = "ae6975bc1adf45d09cf9f6332ceac7cf285f8191f6cf50c6291ed45f8cf4ffa5";
sha256 = "16rn6b9ayaccgwx8hs3yh1wb395pp8ffh8may8a8bpcc4gdry7bd";
};
buildInputs = [ pkgconfig cmake qt4 seafile-shared makeWrapper ];
builder = writeScript "${name}-builder.sh" ''
source $stdenv/setup
tar xvfz $src
cd seafile-client-*
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX="$out" .
make -j1
make install
nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
buildInputs = [ qtbase qttools seafile-shared ];
postInstall = ''
wrapProgram $out/bin/seafile-applet \
--suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}
'';
'';
meta =
{
homepage = https://github.com/haiwen/seafile-clients;
meta = with stdenv.lib; {
homepage = https://github.com/haiwen/seafile-client;
description = "Desktop client for Seafile, the Next-generation Open Source Cloud Storage";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.calrama ];
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.calrama ];
};
}

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation rec
{
version = "3.0.7";
seafileVersion = "5.0.7";
seafileVersion = "6.1.0";
name = "libsearpc-${version}";
src = fetchurl

View File

@ -2,20 +2,20 @@
stdenv.mkDerivation rec
{
version = "5.0.7";
version = "6.1.0";
name = "seafile-shared-${version}";
src = fetchurl
{
url = "https://github.com/haiwen/seafile/archive/v${version}.tar.gz";
sha256 = "ec166c86a41e7ab3b1ae97a56326ab4a2b1ec38686486b956c3d153b8023c670";
sha256 = "03zvxk25311xgn383k54qvvpr8xbnl1vxd99fg4ca9yg5rmir1q6";
};
buildInputs = [ which automake autoconf pkgconfig libtool vala_0_23 python intltool fuse ];
propagatedBuildInputs = [ ccnet curl ];
preConfigure = ''
sed -ie 's|/bin/bash|/bin/sh|g' ./autogen.sh
sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh
./autogen.sh
'';

View File

@ -2,21 +2,21 @@
stdenv.mkDerivation rec
{
version = "5.0.7";
seafileVersion = "5.0.7";
version = "6.1.0";
seafileVersion = "6.1.0";
name = "ccnet-${version}";
src = fetchurl
{
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
sha256 = "1e1c670a85619b174328a15925a050c7a8b323fecd13434992332f5c15e05de1";
sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb";
};
buildInputs = [ which automake autoconf pkgconfig libtool vala_0_23 python ];
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
preConfigure = ''
sed -ie 's|/bin/bash|/bin/sh|g' ./autogen.sh
sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh
./autogen.sh
'';

View File

@ -15973,7 +15973,7 @@ with pkgs;
inherit (gnome2) libart_lgpl;
};
seafile-client = callPackage ../applications/networking/seafile-client { };
seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { };
seeks = callPackage ../tools/networking/p2p/seeks {
protobuf = protobuf2_5;