shared-mime-info-2.1

This commit is contained in:
Rmys
2021-04-19 23:33:09 +03:00
committed by GitHub
parent 176f905ae8
commit 299afa9850
2 changed files with 22 additions and 9 deletions
+10 -8
View File
@@ -7,20 +7,22 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
# https://bugs.freedesktop.org/show_bug.cgi?id=70366
shelltools.export("ac_cv_func_fdatasync", "no")
autotools.configure("--disable-update-mimedb")
#shelltools.export("ac_cv_func_fdatasync", "no")
mesontools.configure("-Dupdate-mimedb=false")
def build():
autotools.make('-j1')
mesontools.build()
def check():
autotools.make("-k check || true")
mesontools.build("test")
def install():
autotools.install()
mesontools.install()
pisitools.dodoc("ChangeLog", "NEWS", "README")
pisitools.dodoc("COPYING", "NEWS", "README*")
+12 -1
View File
@@ -13,12 +13,15 @@
<IsA>data</IsA>
<Summary>The shared MIME info database</Summary>
<Description>shared-mime-info is a package containing a large number of common MIME types, created by converting the existing KDE and GNOME databases to the new format and merging them together, and software for updating the database based on the share-mime-info specification.</Description>
<Archive sha1sum="2579f9763a6efb31c6343408874051ed93646e94" type="tarxz">https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-1.15.tar.xz</Archive>
<Archive sha1sum="a251ffcc61de487d123407d414e5f83ae19d055d" type="tarxz">https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz</Archive>
<!-- <Archive sha1sum="3d41d131350eec61e00f6fa26e6bfd6e242d8ef4" type="targz">https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.1/shared-mime-info-2.1.tar.gz</Archive> -->
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>itstool</Dependency>
<Dependency>xmlto</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">shared-mime-info-xz.patch</Patch> -->
@@ -36,6 +39,7 @@
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/gettext/its</Path>
<Path fileType="data">/usr/share/pkgconfig</Path>
<Path fileType="localedata">/usr/share/locale/</Path>
<Path fileType="doc">/usr/share/doc</Path>
@@ -57,6 +61,13 @@
</Package>
<History>
<Update release="9">
<Date>2021-04-19</Date>
<Version>2.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2020-01-16</Date>
<Version>1.15</Version>