nextcloud-client: 2.5.2 -> 2.5.3
https://github.com/nextcloud/desktop/releases/tag/v2.5.3 Also move explicitly dbus configuration files to the store path rather than `/etc/dbus-1/services`.
This commit is contained in:
parent
3d91781151
commit
8d62a398a8
@ -0,0 +1,25 @@
|
|||||||
|
From bbd366348d1f0e334d4604d04e293a046070e666 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Maximilian Bosch <maximilian@mbosch.me>
|
||||||
|
Date: Fri, 23 Aug 2019 00:19:20 +0200
|
||||||
|
Subject: [PATCH] Explicitly copy dbus files into the store dir
|
||||||
|
|
||||||
|
---
|
||||||
|
shell_integration/libcloudproviders/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/shell_integration/libcloudproviders/CMakeLists.txt b/shell_integration/libcloudproviders/CMakeLists.txt
|
||||||
|
index 1f35335..7f76951 100644
|
||||||
|
--- a/shell_integration/libcloudproviders/CMakeLists.txt
|
||||||
|
+++ b/shell_integration/libcloudproviders/CMakeLists.txt
|
||||||
|
@@ -19,7 +19,7 @@ MACRO(PKGCONFIG_GETVAR _package _var _output_variable)
|
||||||
|
ENDMACRO(PKGCONFIG_GETVAR _package _var _output_variable)
|
||||||
|
|
||||||
|
macro(dbus_add_activation_service _sources)
|
||||||
|
- PKGCONFIG_GETVAR(dbus-1 session_bus_services_dir _install_dir)
|
||||||
|
+ set(_install_dir "${CMAKE_INSTALL_PREFIX}/etc/dbus-1/service")
|
||||||
|
foreach (_i ${_sources})
|
||||||
|
get_filename_component(_service_file ${_i} ABSOLUTE)
|
||||||
|
string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i})
|
||||||
|
--
|
||||||
|
2.19.2
|
||||||
|
|
@ -1,20 +1,24 @@
|
|||||||
{ stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite
|
{ lib, mkDerivation, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite
|
||||||
, inotify-tools, wrapQtAppsHook, openssl_1_1, pcre, qtwebengine, libsecret
|
, inotify-tools, openssl_1_1, pcre, qtwebengine, libsecret
|
||||||
, libcloudproviders
|
, libcloudproviders
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "nextcloud-client-${version}";
|
name = "nextcloud-client-${version}";
|
||||||
version = "2.5.2";
|
version = "2.5.3";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://github.com/nextcloud/desktop.git";
|
url = "git://github.com/nextcloud/desktop.git";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1brpxdgyy742dqw6cyyv2257d6ihwiqhbzfk2hb8zjgbi6p9lhsr";
|
sha256 = "0fbw56bfbyk3cqv94iqfsxjf01dwy1ysjz89dri7qccs65rnjswj";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake wrapQtAppsHook ];
|
patches = [
|
||||||
|
./0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
|
|
||||||
buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools libcloudproviders ];
|
buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools libcloudproviders ];
|
||||||
|
|
||||||
@ -32,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
''--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libsecret ]}''
|
''--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}''
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@ -40,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
$out/share/applications/nextcloud.desktop
|
$out/share/applications/nextcloud.desktop
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Nextcloud themed desktop client";
|
description = "Nextcloud themed desktop client";
|
||||||
homepage = https://nextcloud.com;
|
homepage = https://nextcloud.com;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user