Files
main/desktop/misc/sddm/actions.py
T
Rmys 012f1de57e actions.py
If you don't like to see any character at all not even while being entered set this to true.
2019-11-19 21:49:27 +03:00

43 lines
1.4 KiB
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_QT5=ON \
-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \
-DUSE_WAYLAND=ON \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \
-DBUILD_MAN_PAGES=ON", sourceDir=".." )
def build():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.install()
pisitools.insinto("/usr/share/sddm/themes/pisi-linux-gray", "../pisi-linux-gray-0.1/*")
pisitools.dodoc("../LICENSE")
## If you don't like to see any character at all not even while being entered set this to true.
pisitools.dosed("%s/usr/share/sddm/themes/pisi-linux-gray/theme.conf" % get.installDIR(), 'ForceHideCompletePassword="false"', 'ForceHideCompletePassword="true"')