Merge pull request #168866 from SuperSandro2000/nextcloud-client
nextcloud-client: build dolphin plugin, man pages, fix vfs support
This commit is contained in:
commit
78f1e7248b
1 changed files with 20 additions and 0 deletions
|
@ -2,7 +2,9 @@
|
|||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, inotify-tools
|
||||
, installShellFiles
|
||||
, libcloudproviders
|
||||
, libsecret
|
||||
, openssl
|
||||
|
@ -15,6 +17,8 @@
|
|||
, qtwebsockets
|
||||
, qtquickcontrols2
|
||||
, qtgraphicaleffects
|
||||
, plasma5Packages
|
||||
, sphinx
|
||||
, sqlite
|
||||
, inkscape
|
||||
, xdg-utils
|
||||
|
@ -24,6 +28,8 @@ mkDerivation rec {
|
|||
pname = "nextcloud-client";
|
||||
version = "3.4.4";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nextcloud";
|
||||
repo = "desktop";
|
||||
|
@ -37,10 +43,19 @@ mkDerivation rec {
|
|||
./0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for file in src/libsync/vfs/*/CMakeLists.txt; do
|
||||
substituteInPlace $file \
|
||||
--replace "PLUGINDIR" "KDE_INSTALL_PLUGINDIR"
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
inkscape
|
||||
sphinx
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -49,6 +64,7 @@ mkDerivation rec {
|
|||
libsecret
|
||||
openssl
|
||||
pcre
|
||||
plasma5Packages.kio
|
||||
qtbase
|
||||
qtkeychain
|
||||
qttools
|
||||
|
@ -71,6 +87,10 @@ mkDerivation rec {
|
|||
"-DNO_SHIBBOLETH=1" # allows to compile without qtwebkit
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
make doc-man
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Nextcloud themed desktop client";
|
||||
homepage = "https://nextcloud.com";
|
||||
|
|
Loading…
Reference in a new issue