From 97b9c3f6d899b8a24137b9e6c076f5752d13a037 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 9 Jun 2021 11:45:34 +0300 Subject: [PATCH] Removed SPMediaKeyTap solution for macOS media keys. --- external/CMakeLists.txt | 3 --- external/sp_media_key_tap/CMakeLists.txt | 26 ------------------------ 2 files changed, 29 deletions(-) delete mode 100644 external/sp_media_key_tap/CMakeLists.txt diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 53a57d8..00b6b01 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -59,9 +59,6 @@ add_checked_subdirectory(qr_code_generator) add_checked_subdirectory(ranges) add_checked_subdirectory(rlottie) add_checked_subdirectory(rnnoise) -if (APPLE) - add_checked_subdirectory(sp_media_key_tap) -endif() if (LINUX AND NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION) add_checked_subdirectory(statusnotifieritem) endif() diff --git a/external/sp_media_key_tap/CMakeLists.txt b/external/sp_media_key_tap/CMakeLists.txt deleted file mode 100644 index ccbc02a..0000000 --- a/external/sp_media_key_tap/CMakeLists.txt +++ /dev/null @@ -1,26 +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 - -if (EXISTS ${third_party_loc}/SPMediaKeyTap) - add_library(external_sp_media_key_tap STATIC) - add_library(desktop-app::external_sp_media_key_tap ALIAS external_sp_media_key_tap) - init_target(external_sp_media_key_tap "(external)") - - set(sp_media_key_tap_loc ${third_party_loc}/SPMediaKeyTap) - - target_sources(external_sp_media_key_tap - PRIVATE - ${sp_media_key_tap_loc}/SPMediaKeyTap.m - ${sp_media_key_tap_loc}/SPMediaKeyTap.h - ${sp_media_key_tap_loc}/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m - ${sp_media_key_tap_loc}/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.h - ) - - target_include_directories(external_sp_media_key_tap SYSTEM - INTERFACE - ${sp_media_key_tap_loc} - ) -endif()