add conky.

This commit is contained in:
4fury-c3440d8
2022-12-18 07:14:55 +03:00
parent e36d1dcb5b
commit 95f1e60075
2 changed files with 101 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/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, cmaketools, pisitools
j = ''.join([
' -DCMAKE_BUILD_TYPE="RELEASE"',
' -DBUILD_CURL=ON',
' -DBUILD_IMLIB2=OFF',
' -DBUILD_BUILTIN_CONFIG=OFF',
' -B_build -G Ninja -L '
])
def setup():
cmaketools.configure(j)
def build():
mesontools.build("-C _build")
def install():
mesontools.install("-C _build")
pisitools.doman("conky.1")
pisitools.insinto("/etc/conky", "data/conky.conf")
+74
View File
@@ -0,0 +1,74 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>conky</Name>
<Homepage>https://conky.cc/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-3</License>
<IsA>app</IsA>
<PartOf>desktop.misc</PartOf>
<Summary>Lightweight system monitor for X.</Summary>
<Description>Conky is a free, light-weight system monitor for X, that displays any kind of information on your desktop.</Description>
<Archive sha1sum="75ae3d65dbe155219cbfdd78b52e3c3e8615285b" type="targz">
https://github.com/brndnmtthws/conky/archive/refs/tags/v1.15.0.tar.gz
</Archive>
<Archive sha1sum="1c8da44e09f1a7185a96d57f42d751f0ef285322" target="conky-1.15.0" type="gz">
https://github.com/brndnmtthws/conky/releases/download/v1.15.0/conky.1.gz
</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>ninja</Dependency>
<Dependency>cmake</Dependency>
<Dependency>lua-devel</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>libXdamage-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>conky</Name>
<RuntimeDependencies>
<Dependency>lua</Dependency>
<Dependency>curl</Dependency>
<Dependency>libXft</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libXext</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>libXfixes</Dependency>
<Dependency>libXdamage</Dependency>
<Dependency>libXinerama</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="cfgfile">/etc/conky/conky.conf</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/libtcp-portmon.a</Path>
<Path fileType="manpage">/usr/share/man/man1/conky.1</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-12-18</Date>
<Version>1.15.0</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>