Skip to content

Commit

Permalink
Remove obsolete dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matinlotfali committed Jan 15, 2024
1 parent 8a1cfec commit 29acb55
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
continue-on-error: true

- name: Install Dependencies
run: apt -y install cmake g++ gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev libkf5globalaccel-dev libkf5notifications-dev kwin-dev
run: apt -y install cmake g++ gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev kwin-dev

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kubuntu2204-backports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: sudo add-apt-repository -y ppa:kubuntu-ppa/backports-extra

- name: Install Dependencies
run: sudo apt install -y gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev libkf5globalaccel-dev libkf5notifications-dev kwin-dev
run: sudo apt install -y gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev kwin-dev

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/neon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
continue-on-error: true

- name: Install Dependencies
run: apt -y install cmake g++ gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev libkf5globalaccel-dev libkf5notifications-dev kwin-dev
run: apt -y install cmake g++ gettext extra-cmake-modules qttools5-dev libkf5configwidgets-dev kwin-dev

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down
13 changes: 0 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,9 @@ include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)

find_package(Qt${QT_VERSION_MAJOR} ${QT_MIN_VERSION} REQUIRED COMPONENTS
Core
Gui
DBus
Widgets
OpenGL
Network
Xml
)

# required frameworks by Core
find_package(KF${QT_VERSION_MAJOR} ${KF_MIN_VERSION} REQUIRED COMPONENTS
Config
ConfigWidgets
CoreAddons
GlobalAccel
)
if(${QT_VERSION_MAJOR} EQUAL 6)
find_package(KF${QT_VERSION_MAJOR} ${KF_MIN_VERSION} REQUIRED COMPONENTS
Expand Down
5 changes: 0 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ kcoreaddons_add_plugin(kwin4_effect_shapecorners INSTALL_NAMESPACE "kwin/effects
target_sources(kwin4_effect_shapecorners PRIVATE ${effect_SRCS})

target_link_libraries(kwin4_effect_shapecorners
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui
Qt${QT_VERSION_MAJOR}::DBus
epoxy::epoxy
KF${QT_VERSION_MAJOR}::ConfigCore
KF${QT_VERSION_MAJOR}::ConfigGui
KF${QT_VERSION_MAJOR}::CoreAddons
)
if(${QT_VERSION_MAJOR} EQUAL 6)
target_link_libraries(kwin4_effect_shapecorners
Expand Down
4 changes: 0 additions & 4 deletions src/kcm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ else()
endif ()

target_link_libraries(kwin_shapecorners_config
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::DBus
Qt${QT_VERSION_MAJOR}::Gui
KF${QT_VERSION_MAJOR}::ConfigWidgets
KF${QT_VERSION_MAJOR}::ConfigGui
KF${QT_VERSION_MAJOR}::GlobalAccel
)

0 comments on commit 29acb55

Please sign in to comment.