Initial build of chafa

This commit is contained in:
Bahar KURT
2025-08-31 21:34:02 +03:00
parent c0372ecef3
commit c3baf7fbb6
2 changed files with 68 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/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 autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.system("./autogen.sh --prefix=/usr --enable-man --enable-gtk-doc")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.make("-C tools/completions PREFIX=%s/usr/share install-zsh-completion" % get.installDIR())
+50
View File
@@ -0,0 +1,50 @@
<PISI>
<Source>
<Name>chafa</Name>
<Homepage>https://hpjansson.org/chafa/</Homepage>
<Packager>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Packager>
<License>LGPLv3</License>
<PartOf>util.misc</PartOf>
<Summary xml:lang="en">Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc.</Summary>
<Description xml:lang="en">Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc.</Description>
<Summary xml:lang="tr">Semboller ve paletler, saydamlık, animasyonlar, vb. geniş bir yelpazeyi destekleyen resimden metin çevirmeni</Summary>
<Description xml:lang="tr">Semboller ve paletler, saydamlık, animasyonlar, vb. geniş bir yelpazeyi destekleyen resimden metin çevirmeni</Description>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>freetype-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="41c05a5699b5d6e66c6014b14f703b4b2f9e0c1f" type="targz">https://github.com/hpjansson/chafa/archive/1.16.2.tar.gz</Archive>
</Source>
<Package>
<Name>chafa</Name>
<Summary>Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc.</Summary>
<RuntimeDependencies>
<Dependency>libavif</Dependency>
<Dependency>libjxl</Dependency>
<Dependency>librsvg</Dependency>
<Dependency>webp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/gtk-doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/zsh</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-08-31</Date>
<Version>1.16.2</Version>
<Comment>Initial release.</Comment>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Update>
</History>
</PISI>