98e64e01a6
Summary: * remove unneeded cmake includes * consistently use org.kde.plasma.* prefix for names * fix catalog names to match applet identifier * bump min cmake version to 3.0 * remove duplicated X-KDE-PluginInfo-Name entries * remove no longer (Plasma >=5.8) needed i18nd in wallpaper code * prepare qml extension for ki18n usage Reviewers: mart Reviewed By: mart Subscribers: kde-frameworks-devel, apol Tags: #frameworks Differential Revision: https://phabricator.kde.org/D10848
16 lines
491 B
CMake
16 lines
491 B
CMake
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.%{APPNAMELC}\")
|
|
|
|
set(%{APPNAMELC}plugin_SRCS
|
|
%{APPNAMELC}plugin.cpp
|
|
)
|
|
|
|
add_library(%{APPNAMELC}plugin SHARED ${%{APPNAMELC}plugin_SRCS})
|
|
|
|
target_link_libraries(%{APPNAMELC}plugin
|
|
KF5::I18n
|
|
Qt5::Gui
|
|
Qt5::Qml
|
|
)
|
|
install(TARGETS %{APPNAMELC}plugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/%{APPNAMELC})
|
|
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/%{APPNAMELC})
|