Preparing the upcoming release, switch to experimental Added new build dependendies - gcc (>= 4:6) - g++ (>= 4:6) - libqt5xdgiconloader-dev (>= 1.3.1~) Added some needed minimum versions Fixed VCS fields, point to the right branch Bumped Standards to 3.9.8, no changes needed Added Recommends lxqt-panel-l10n Fixed copyrights Format field to https Bumped years in copyrights Added translation control to rules Added hardening options Set CMAKE_BUILD_TYPE=RelWithDebInfo Exported LC_ALL=C.UTF-8, make builds reproducible
48 lines
839 B
CMake
48 lines
839 B
CMake
set(PLUGIN "mainmenu")
|
|
|
|
set(HEADERS
|
|
actionview.h
|
|
lxqtmainmenu.h
|
|
menustyle.h
|
|
lxqtmainmenuconfiguration.h
|
|
)
|
|
|
|
set(SOURCES
|
|
actionview.cpp
|
|
lxqtmainmenu.cpp
|
|
menustyle.cpp
|
|
lxqtmainmenuconfiguration.cpp
|
|
)
|
|
|
|
set(UIS
|
|
lxqtmainmenuconfiguration.ui
|
|
)
|
|
|
|
# optionally use libmenu-cache to generate the application menu
|
|
find_package(PkgConfig)
|
|
if(NOT WITHOUT_MENU_CACHE)
|
|
pkg_check_modules(MENU_CACHE
|
|
libmenu-cache>=0.3.3
|
|
)
|
|
endif()
|
|
|
|
if(MENU_CACHE_FOUND)
|
|
list(APPEND SOURCES xdgcachedmenu.cpp)
|
|
list(APPEND MOCS xdgcachedmenu.h)
|
|
|
|
include_directories(${MENU_CACHE_INCLUDE_DIRS})
|
|
add_definitions(-DHAVE_MENU_CACHE=1)
|
|
endif()
|
|
|
|
set(LIBRARIES
|
|
lxqt
|
|
lxqt-globalkeys
|
|
lxqt-globalkeys-ui
|
|
${MENU_CACHE_LIBRARIES}
|
|
)
|
|
|
|
set(QT_USE_QTXML 1)
|
|
set(QT_USE_QTDBUS 1)
|
|
|
|
BUILD_LXQT_PLUGIN(${PLUGIN})
|