mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 09:48:50 +00:00
Install plasma-phone script
This commit is contained in:
parent
6a5209c680
commit
429bcb5451
3 changed files with 21 additions and 9 deletions
|
|
@ -38,5 +38,10 @@ plasma_install_package(look-and-feel org.kde.satellite.phone look-and-feel)
|
||||||
plasma_install_package(shell org.kde.satellite.phone shells)
|
plasma_install_package(shell org.kde.satellite.phone shells)
|
||||||
install(DIRECTORY wallpaper/ DESTINATION "${WALLPAPER_INSTALL_DIR}/org.kde.satellite.lockers")
|
install(DIRECTORY wallpaper/ DESTINATION "${WALLPAPER_INSTALL_DIR}/org.kde.satellite.lockers")
|
||||||
|
|
||||||
|
configure_file(${CMAKE_SOURCE_DIR}/bin/plasma-phone.cmake ${CMAKE_BINARY_DIR}/plasma-phone)
|
||||||
|
install(FILES ${CMAKE_BINARY_DIR}/plasma-phone
|
||||||
|
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ WORLD_EXECUTE WORLD_READ GROUP_EXECUTE GROUP_READ
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR})
|
||||||
|
|
||||||
add_subdirectory(qmlcomponents)
|
add_subdirectory(qmlcomponents)
|
||||||
|
|
||||||
|
|
|
||||||
16
bin/plasma-phone.cmake
Normal file
16
bin/plasma-phone.cmake
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Script that starts the Plasma phone UI.
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
|
||||||
|
@CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
|
||||||
|
@CMAKE_INSTALL_FULL_BINDIR@/kbuildsycoca5
|
||||||
|
LD_BIND_NOW=true @CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@/start_kdeinit_wrapper
|
||||||
|
@CMAKE_INSTALL_FULL_BINDIR@/plasmashell -p org.kde.satellite.phone -n
|
||||||
|
|
@ -68,15 +68,6 @@ rm -rf %{buildroot}
|
||||||
# >> install post
|
# >> install post
|
||||||
|
|
||||||
# Script that runs the UI
|
# Script that runs the UI
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
cat > %{buildroot}%{_bindir}/plasma-phone << EOF
|
|
||||||
#!/bin/sh
|
|
||||||
/usr/bin/kded5 &
|
|
||||||
sleep 2
|
|
||||||
/usr/bin/plasmashell -p org.kde.satellite.phone -n
|
|
||||||
EOF
|
|
||||||
chmod 755 %{buildroot}%{_bindir}/plasma-phone
|
|
||||||
|
|
||||||
# File with environment variables, used by compositor systemd unit
|
# File with environment variables, used by compositor systemd unit
|
||||||
mkdir -p %{buildroot}%{_sharedstatedir}/environment/greenisland
|
mkdir -p %{buildroot}%{_sharedstatedir}/environment/greenisland
|
||||||
cat > %{buildroot}%{_sharedstatedir}/environment/greenisland/greenisland.conf <<EOF
|
cat > %{buildroot}%{_sharedstatedir}/environment/greenisland/greenisland.conf <<EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue