cpupower-gui: new package

This commit is contained in:
suvari
2024-10-13 14:28:08 +03:00
parent be6d541d22
commit cf6347d0ce
7 changed files with 428396 additions and 425781 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools, pisitools, shelltools, get
def setup():
mesontools.configure("--prefix=/usr --buildtype=plain")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.domove("/usr/lib/systemd/user/cpupower-gui-user.service", "/usr/share/dbus-1/services/")
pisitools.domove("/usr/lib/systemd/system/cpupower-gui-helper.service", "/usr/share/dbus-1/services/")
pisitools.domove("/usr/lib/systemd/system/cpupower-gui.service", "/usr/share/dbus-1/services/")
pisitools.removeDir("/usr/lib/systemd")
pisitools.dodoc("COPYING", "README.md")
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cpupower-gui</Name>
<Homepage>https://github.com/vagnum08/cpupower-gui</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<Icon>cpupower-gui</Icon>
<Summary>A GUI utility to set CPU frequency limits</Summary>
<Description>This program is designed to allow you to change the frequency limits of your cpu and its governor. The application is similar in functionality to cpupower.</Description>
<Archive sha1sum="4577580e64b1d4c06f6b32b57dc7c6b0f013025b" type="targz">https://github.com/vagnum08/cpupower-gui/archive/b44a19834662d236450e7c2259d2daf3915df597/cpupower-gui-b44a19834662d236450e7c2259d2daf3915df597.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>dbus-python3</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>appstream-glib-devel</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>cpupower-gui.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>cpupower-gui</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>polkit</Dependency>
<Dependency>python3</Dependency>
<Dependency>dbus-python3</Dependency>
<Dependency>appstream-glib</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>python3-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/cpupower-gui/cpupower-gui-helper</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-10-13</Date>
<Version>1.0.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>cpupower-gui</Name>
<Summary xml:lang="tr">İşlemci frekans sınırlarını ayarlamak için bir GUI yardımcı programı</Summary>
<Description xml:lang="tr">Bu program, CPU'nuzun ve regülatörünün frekans sınırlarını değiştirmenize olanak sağlamak için tasarlanmıştır. Uygulama, işlevsellik açısından cpupower'a benzerdir.</Description>
</Source>
</PISI>