pput the sample qml file in a package

This commit is contained in:
Marco Martin 2013-02-01 11:50:29 +01:00
parent bec0cd4639
commit 79c0e7a73d
6 changed files with 30 additions and 2 deletions

View File

@ -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)

View File

@ -0,0 +1,2 @@
add_subdirectory(desktop)

View 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)

View 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

View 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