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" ?> <?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> <PISI>
<Source> <Source>
<Name>gcap</Name> <Name>gcab</Name>
<Homepage>https://wiki.gnome.org/msitools</Homepage> <Homepage>https://gitlab.gnome.org/GNOME/gcab</Homepage>
<Packager> <Packager>
<Name>Ertuğrul Erata</Name> <Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email> <Email>ertugrulerata@gmail.com</Email>
</Packager> </Packager>
<License>LGPL2.1</License> <License>LGPLv2.1</License>
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>Library and tool for working with Microsoft Cabinet (CAB) files</Summary> <PartOf>util.archive</PartOf>
<Description>Library and tool for working with Microsoft Cabinet (CAB) files</Description> <Summary>Cabinet file library.</Summary>
<Archive sha1sum="d3ea32a236858d5e48af979b020a6588987a318c" type="tarxz">http://ftp.gnome.org/pub/GNOME/sources/gcab/1.5/gcab-1.5.tar.xz</Archive> <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> <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>meson</Dependency>
<Dependency>docbook-xsl</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>gcap</Name> <Name>gcab</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>zlib</Dependency> <Dependency>zlib</Dependency>
<Dependency>glib2</Dependency> <Dependency>glib2</Dependency>
@@ -35,29 +32,32 @@
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path> <Path fileType="data">/usr/share</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>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>gcap-devel</Name> <Name>gcab-devel</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">gcap</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency> <Dependency>glib2-devel</Dependency>
<Dependency release="current">gcab</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <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> </Files>
</Package> </Package>
<History> <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"> <Update release="4">
<Date>2022-08-05</Date> <Date>2022-08-05</Date>
<Version>1.5</Version> <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")