diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c930f5..ff0023f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,56 +1,56 @@ project(plasma-camera) cmake_minimum_required(VERSION 2.8.12) set(KF5_MIN_VERSION "5.18.0") set(QT_MIN_VERSION "5.5.0") ################# Disallow in-source build ################# if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") message(FATAL_ERROR "This application requires an out of source build. Please create a separate build directory.") endif() # Make CPack available to easy generate binary packages include(CPack) include(FeatureSummary) ################# set KDE specific information ################# find_package(ECM 0.0.8 REQUIRED NO_MODULE) # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) include(ECMSetupVersion) include(ECMGenerateHeaders) include(KDEInstallDirs) include(KDECMakeSettings) include(ECMPoQmTools) include(KDECompilerSettings NO_POLICY_SCOPE) set(KF5_VERSION "5.22.0") find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Svg QuickControls2) find_package(KF5 COMPONENTS I18n Kirigami2 ${KF5_DEP_VERSION} "5.22.0") ################# Enable C++11 features for clang and gcc ################# if(UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x") endif() ################# now find all used packages ################# set (QT_MIN_VERSION "5.6.0") find_package(PkgConfig) ######################################################################### add_subdirectory(src) install(PROGRAMS org.kde.mobile.camera.desktop DESTINATION ${KDE_INSTALL_APPDIR}) +install(FILES org.kde.mobile.camera.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) - diff --git a/org.kde.mobile.camera.appdata.xml b/org.kde.mobile.camera.appdata.xml new file mode 100644 index 0000000..1565a7f --- /dev/null +++ b/org.kde.mobile.camera.appdata.xml @@ -0,0 +1,13 @@ + + + org.kde.mobile.camera + Plasma Camera + Take photos and videos + CC0-1.0 + GPL-3+ + KDE Community + +

Camera Application for Plasma Mobile.

+

It supports different resulions, different white balance modes and switching between different camera devices.

+
+