adjust names and use older qt5 version for now

This commit is contained in:
2025-03-23 20:01:39 -05:00
committed by GigiaJ
parent 8cf067880c
commit 389ef5ac4a
2 changed files with 257 additions and 47 deletions

View File

@@ -59,7 +59,7 @@
(define-public nextcloud-client
(package
(name "nextcloud-client")
(version "3.15.3")
(version "3.13.3")
(source
(origin
(method git-fetch)
@@ -70,7 +70,7 @@
(file-name
(git-file-name name version))
(sha256
(base32 "1qyzyfwr32w4pamjhl0ssiv444nbqnqxi3fn4bs7agg4217pv6bv"))
(base32 "1qd2jckk47kym08r8hjjy5iadbz71633i72ixy6zmdwh9wv9s54b"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-1)))
@@ -104,11 +104,11 @@
"@kwidgetsaddons@")
;; Expand libraries, that used to be statically linked, but
;; no longer are post-vendoring.
(("KF6::Archive")
(string-append "KF6::Archive "
(("KF5::Archive")
(string-append "KF5::Archive "
"QtSolutions_LockedFile "
"QtSolutions_SingleApplication "
"KF6WidgetsAddons")))
"KF5WidgetsAddons")))
;; Fix compatibility with QtSingleApplication from QtSolutions.
(substitute* '("application.h" "application.cpp")
(("SharedTools::QtSingleApplication")
@@ -143,7 +143,7 @@
(substitute* "src/gui/CMakeLists.txt"
(("@kwidgetsaddons@")
(search-input-directory inputs
"/include/KF6/KWidgetsAddons/")))))
"/include/KF5/KWidgetsAddons/")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -154,12 +154,11 @@
;; Tests write to $HOME.
(setenv "HOME" (getcwd))
#t))
(delete 'check) ;; Check requires some networking capabilities that aren't granted in a builder sandbox
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
(delete 'check)
)))
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(native-inputs
`(("cmocka" ,cmocka)
("dot" ,graphviz)
@@ -170,59 +169,36 @@
("perl" ,perl)
("pkg-config" ,pkg-config)
("python" ,python-wrapper)
("qttools" ,qttools)
("qttools-5" ,qttools-5)
("ruby" ,ruby)))
(inputs
(list appstream
dbus
desktop-file-utils
glib
karchive
kconfig
kcoreaddons
kguiaddons
kio-5
karchive-5
kconfig-5
kcoreaddons-5
kio-5
kjs
kwidgetsaddons
kwidgetsaddons-5
libcloudproviders
libzip
libxkbcommon
vulkan-headers
pcre
pkg-config
openssl
qt5compat
qtbase
qtdeclarative
qtbase-5
qtdeclarative-5
qtgraphicaleffects
mesa
which
qtkeychain-qt6
;;qtquickcontrols2
qtkeychain
qtquickcontrols2-5
qtsolutions
git
qtsvg
qtwebchannel
libp11
qtwebsockets
qtsvg-5
qtwebchannel-5
qtwebsockets-5
sqlite
python-sphinx
qtwayland
wayland
xdg-utils
zlib
zstd
xcb-util-cursor
libxext
libxcb
libsm
libice
libb2
md4c
at-spi2-core
))
zlib))
(propagated-inputs
(list qtwebengine))
(list qtwebengine-5))
(synopsis "Desktop sync client for Nextcloud")
(description "Nextcloud-Desktop is a tool to synchronize files from
Nextcloud Server with your computer.")