This commit is contained in:
uglyside
2025-04-19 18:52:22 +03:00
parent 9e64387ba8
commit 70f86a9161
3 changed files with 48 additions and 52 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/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
def setup():
mesontools.configure("-Ddocs=false")
def build():
mesontools.build()
def check():
mesontools.build("test")
def install():
mesontools.install()
pisitools.dodoc("COPYING")
@@ -1,33 +1,30 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gcap</Name>
<Homepage>https://wiki.gnome.org/msitools</Homepage>
<Name>gcab</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gcab</Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>LGPL2.1</License>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<Summary>Library and tool for working with Microsoft Cabinet (CAB) files</Summary>
<Description>Library and tool for working with Microsoft Cabinet (CAB) files</Description>
<Archive sha1sum="d3ea32a236858d5e48af979b020a6588987a318c" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/gcab/1.5/gcab-1.5.tar.xz</Archive>
<PartOf>util.archive</PartOf>
<Summary>Cabinet file library.</Summary>
<Description>A GObject library to create cabinet files.</Description>
<Archive sha1sum="347eae0df281e5f63e66afae7b3bb8f3f1c6fc48" type="tarxz">https://download.gnome.org/sources/gcab/1.6/gcab-1.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>python-six</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gcap</Name>
<Name>gcab</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
@@ -35,29 +32,32 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/gtk-doc</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/gir-1.0/GCab-1.0.gir</Path>
<Path fileType="data">/usr/share/vala</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>gcap-devel</Name>
<Name>gcab-devel</Name>
<RuntimeDependencies>
<Dependency release="current">gcap</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency release="current">gcab</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="data">/usr/share/vala</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2025-04-15</Date>
<Version>1.6</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2022-08-05</Date>
<Version>1.5</Version>
-25
View File
@@ -1,25 +0,0 @@
#!/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 get
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
pisitools.dosed("meson.build", "check: true", "check: false")
mesontools.configure()
def build():
mesontools.build()
def check():
mesontools.build("test")
def install():
mesontools.install()
pisitools.dodoc("COPYING", "README.md")