diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 4abcf3c..8c8e4c7 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -60,9 +60,6 @@ add_checked_subdirectory(qr_code_generator) add_checked_subdirectory(ranges) add_checked_subdirectory(rlottie) add_checked_subdirectory(rnnoise) -if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION) - add_checked_subdirectory(statusnotifieritem) -endif() add_checked_subdirectory(ton) add_checked_subdirectory(variant) add_checked_subdirectory(vpx) diff --git a/external/statusnotifieritem/CMakeLists.txt b/external/statusnotifieritem/CMakeLists.txt deleted file mode 100644 index f31e188..0000000 --- a/external/statusnotifieritem/CMakeLists.txt +++ /dev/null @@ -1,50 +0,0 @@ -# This file is part of Desktop App Toolkit, -# a set of libraries for developing nice desktop applications. -# -# For license and copyright information please follow this link: -# https://github.com/desktop-app/legal/blob/master/LEGAL - -add_library(external_statusnotifieritem STATIC) -add_library(desktop-app::external_statusnotifieritem ALIAS external_statusnotifieritem) -init_target(external_statusnotifieritem "(external)") - -set(statusnotifieritem_loc ${third_party_loc}/statusnotifieritem) - -nice_target_sources(external_statusnotifieritem ${statusnotifieritem_loc} -PRIVATE - dbustypes.cpp - dbustypes.h - statusnotifieritem.cpp - statusnotifieritem.h -) - -if (DESKTOP_APP_QT6) - qt6_add_dbus_adaptor(sni_adaptor - ${statusnotifieritem_loc}/org.kde.StatusNotifierItem.xml - ${statusnotifieritem_loc}/statusnotifieritem.h - StatusNotifierItem - ) -else() - qt5_add_dbus_adaptor(sni_adaptor - ${statusnotifieritem_loc}/org.kde.StatusNotifierItem.xml - ${statusnotifieritem_loc}/statusnotifieritem.h - StatusNotifierItem - ) -endif() - -set_target_properties(external_statusnotifieritem PROPERTIES AUTOMOC ON) - -target_sources(external_statusnotifieritem PRIVATE ${sni_adaptor}) - -target_include_directories(external_statusnotifieritem -PUBLIC - ${statusnotifieritem_loc} -PRIVATE - "${CMAKE_CURRENT_BINARY_DIR}" -) - -target_link_libraries(external_statusnotifieritem -PRIVATE - desktop-app::external_dbusmenu_qt - desktop-app::external_qt -)