pput the sample qml file in a package
This commit is contained in:
parent
bec0cd4639
commit
79c0e7a73d
@ -1,7 +1,6 @@
|
||||
project(testplasma2)
|
||||
|
||||
|
||||
|
||||
# Tell CMake to run moc when necessary:
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
# As moc files are generated in the binary dir, tell CMake
|
||||
@ -49,4 +48,6 @@ target_link_libraries(testplasma2
|
||||
#plasma
|
||||
)
|
||||
|
||||
install(TARGETS testplasma2 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
install(TARGETS testplasma2 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
add_subdirectory(qmlpackages)
|
||||
|
2
shell/qmlpackages/CMakeLists.txt
Normal file
2
shell/qmlpackages/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
add_subdirectory(desktop)
|
5
shell/qmlpackages/desktop/CMakeLists.txt
Normal file
5
shell/qmlpackages/desktop/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
||||
project(desktop_homescreen)
|
||||
|
||||
install(DIRECTORY . DESTINATION ${DATA_INSTALL_DIR}/plasma/packages/org.kde.homescreen.desktop PATTERN .svn EXCLUDE PATTERN CMakeLists.txt EXCLUDE PATTERN Messages.sh EXCLUDE)
|
||||
|
||||
|
3
shell/qmlpackages/desktop/Messages.sh
Normal file
3
shell/qmlpackages/desktop/Messages.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/env bash
|
||||
$XGETTEXT `find . -name \*.qml` -L Java -o $podir/plasma_package_org.kde.active.contour-tablet-homescreen.pot
|
||||
rm -f rc.cpp
|
17
shell/qmlpackages/desktop/metadata.desktop
Normal file
17
shell/qmlpackages/desktop/metadata.desktop
Normal file
@ -0,0 +1,17 @@
|
||||
[Desktop Entry]
|
||||
Comment=Desktop view furniture
|
||||
Encoding=UTF-8
|
||||
Keywords=
|
||||
Name=Desktop
|
||||
Type=Service
|
||||
|
||||
X-KDE-ServiceTypes=Plasma/GenericPackage
|
||||
X-KDE-ParentApp=
|
||||
X-KDE-PluginInfo-Author=Marco Martin
|
||||
X-KDE-PluginInfo-Category=
|
||||
X-KDE-PluginInfo-Email=mart@kde.org
|
||||
X-KDE-PluginInfo-License=GPLv2+
|
||||
X-KDE-PluginInfo-Name=org.kde.homescreen.desktop
|
||||
X-KDE-PluginInfo-Version=
|
||||
X-KDE-PluginInfo-Website=
|
||||
X-Plasma-MainScript=ui/main.qml
|
Loading…
x
Reference in New Issue
Block a user