From 2a117dab7dad7026672cba2d9f0e684def03904b Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 26 Apr 2018 01:20:13 +0300 Subject: [PATCH] lxqt-powermanagement --- desktop/lxqt/lxqt-powermanagement/actions.py | 27 ++++++++ desktop/lxqt/lxqt-powermanagement/pspec.xml | 61 +++++++++++++++++++ .../lxqt-powermanagement/translations.xml | 7 +++ 3 files changed, 95 insertions(+) create mode 100644 desktop/lxqt/lxqt-powermanagement/actions.py create mode 100644 desktop/lxqt/lxqt-powermanagement/pspec.xml create mode 100644 desktop/lxqt/lxqt-powermanagement/translations.xml diff --git a/desktop/lxqt/lxqt-powermanagement/actions.py b/desktop/lxqt/lxqt-powermanagement/actions.py new file mode 100644 index 0000000000..be7bff851d --- /dev/null +++ b/desktop/lxqt/lxqt-powermanagement/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DCMAKE_BUILD_TYPE=release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DPULL_TRANSLATIONS=no", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + shelltools.cd("..") + pisitools.dodoc("AUTHORS", "LICENSE") diff --git a/desktop/lxqt/lxqt-powermanagement/pspec.xml b/desktop/lxqt/lxqt-powermanagement/pspec.xml new file mode 100644 index 0000000000..dcefdeb6ce --- /dev/null +++ b/desktop/lxqt/lxqt-powermanagement/pspec.xml @@ -0,0 +1,61 @@ + + + + lxqt-powermanagement + http://www.lxde.org + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + GPL2 + app:gui + lxqt + LXQt power management daemon. + Daemon use for power management and auto-suspend. + https://github.com/lxde/lxqt-powermanagement/releases/download/0.12.0/lxqt-powermanagement-0.12.0.tar.xz + + cmake + kwindowsystem-devel + libgcc + liblxqt-devel + libqtxdg-devel + libxcb-devel + qt5-base-devel + qt5-linguist + qt5-svg-devel + solid-devel + upower-devel + kidletime-devel + lxqt-build-tools + + + + lxqt-powermanagement + + libgcc + liblxqt + qt5-base + qt5-svg + solid + libqtxdg + kidletime + + + /usr/bin + /usr/share/ + /etc/autostart + + + + + + + + 2018-04-23 + 0.12.0 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/desktop/lxqt/lxqt-powermanagement/translations.xml b/desktop/lxqt/lxqt-powermanagement/translations.xml new file mode 100644 index 0000000000..d545621757 --- /dev/null +++ b/desktop/lxqt/lxqt-powermanagement/translations.xml @@ -0,0 +1,7 @@ + + + lxqt-powermanagement + LXQt güç yönetimi art alan süreci. + Güç yönetimi ve otomatik askıya için kullanılır. + +