Commit cb720ec6 authored by Henri Chain's avatar Henri Chain 🛰

remove dependency on kdbusaddons

parent 0d03568c
......@@ -25,7 +25,6 @@ find_package(PkgConfig REQUIRED)
find_package(Qt5 ${Qt5_MIN_VERSION} COMPONENTS Core REQUIRED)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
DBusAddons
KIO
)
pkg_check_modules(FUSE3 REQUIRED fuse3)
......@@ -58,6 +57,10 @@ target_compile_definitions(kio-fuse PRIVATE FUSE_USE_VERSION=31 ${FUSE3_CFLAGS_O
target_link_libraries(kio-fuse PRIVATE Qt5::Core KF5::KIOCore ${FUSE3_LIBRARIES} ${FUSE3_LDFLAGS})
install(TARGETS kio-fuse DESTINATION ${KDE_INSTALL_FULL_LIBEXECDIR})
install(FILES kio-fuse-tmpfiles.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d)
kdbusaddons_generate_dbus_service_file("kio-fuse -f" org.kde.KIOFuse ${KDE_INSTALL_FULL_LIBEXECDIR})
ecm_generate_dbus_service_file(
NAME org.kde.KIOFuse
EXECUTABLE "${KDE_INSTALL_FULL_LIBEXECDIR}/kio-fuse -f"
DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}
)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -9,17 +9,17 @@ To run the tests, run "make test". There is nothing to install (yet).
To install build dependencies on Arch Linux:
pacman -S base-devel fuse3 cmake extra-cmake-modules qt5base kio kdbusaddons
pacman -S base-devel fuse3 cmake extra-cmake-modules qt5base kio
To install build dependencies on openSUSE Tumbleweed:
zypper install extra-cmake-modules 'cmake(KF5KIO)' 'pkgconfig(fuse3)'
kio-devel kdbusaddons-devel 'cmake(Qt5Test)' 'cmake(Qt5Dbus)'
kio-devel 'cmake(Qt5Test)' 'cmake(Qt5Dbus)'
To install build dependencies on Ubuntu 19.04:
apt install fuse3 libfuse3-dev build-essential cmake extra-cmake-modules
pkg-config libkf5kio-dev libkf5dbusaddons-dev
pkg-config libkf5kio-dev
Running
-------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment