405518c41d
Summary: as the plasmapkg2 utility is dead, scripts and tabboxes couldn't be installed anymore, as plasmapkg2 was launched with an hardcoded package type (and had a bunch of custom code for it) and no packagestructure for the relevant package types existed. the port of scripts and tabboxes to kpackage in kwin is quite incomplete and somewhat strange (given the fact that was started by looking manually for the file as it couldn't link to libplasma) this makes things a bit better as now scripts and tabboxes have an actual package structure, making it installable by kpackagetool5. in the future, the port should be completed and replace all the manual lookup of files with package::filePath as it should work now given that valid structures exist BUG:374766 Test Plan: tabbox plugins and kwin scripts can be installed from knewstuff again and can be successfully loaded Reviewers: #plasma, graesslin, subdiff Reviewed By: #plasma, graesslin Subscribers: graesslin, plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D4202
16 lines
522 B
CMake
16 lines
522 B
CMake
add_definitions(-DTRANSLATION_DOMAIN=\"kwin_package_windowswitcher\")
|
|
|
|
set(windowswitcher_SRCS
|
|
windowswitcher.cpp
|
|
)
|
|
|
|
add_library(kwin_packagestructure_windowswitcher MODULE ${windowswitcher_SRCS})
|
|
|
|
target_link_libraries(kwin_packagestructure_windowswitcher
|
|
KF5::I18n
|
|
KF5::Package
|
|
)
|
|
|
|
kcoreaddons_desktop_to_json(kwin_packagestructure_windowswitcher kwin-packagestructure-windowswitcher.desktop)
|
|
|
|
install(TARGETS kwin_packagestructure_windowswitcher DESTINATION ${KDE_INSTALL_PLUGINDIR}/kpackage/packagestructure)
|