cmark v0.31.1

This commit is contained in:
uglyside
2025-06-21 22:44:13 +03:00
parent c4bbb30a95
commit 0a3e38a6a5
2 changed files with 24 additions and 26 deletions
+8 -13
View File
@@ -1,28 +1,23 @@
#!/usr/bin/env python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup(): def setup():
shelltools.system("mkdir build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMARK_STATIC=OFF \ -DCMARK_STATIC=OFF \
-DCMAKE_INSTALL_LIBDIR=lib", sourceDir = '..') -DCMAKE_INSTALL_LIBDIR=lib \
-Bbuild -G Ninja")
def build(): def build():
shelltools.cd("build") mesontools.build()
cmaketools.make()
def install(): def install():
shelltools.cd("build") mesontools.install()
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..") pisitools.dodoc("COPYING")
pisitools.dodoc("COPYING", "README*")
+13 -10
View File
@@ -1,9 +1,9 @@
<?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>cmark</Name> <Name>cmark</Name>
<Homepage>https://github.com/jgm/cmark</Homepage> <Homepage>https://github.com/commonmark/cmark</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -12,23 +12,19 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>CommonMark parsing and rendering library and program in C</Summary> <Summary>CommonMark parsing and rendering library and program in C</Summary>
<Description>CommonMark parsing and rendering library and program in C</Description> <Description>CommonMark parsing and rendering library and program in C</Description>
<Archive sha1sum="ae87665962390dabca20e461bac7523c8580e097" type="targz">https://github.com/commonmark/cmark/archive/0.30.3.tar.gz</Archive> <Archive sha1sum="041faa22f1772e79784875eb18039480c2e33139" type="targz">https://github.com/commonmark/cmark/archive/refs/tags/0.31.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<!--
<Patches> <Patches>
<Patch>cmark.patch</Patch> <!-- <Patch level="1"></Patch> -->
<Patch level="1">cmark.patch</Patch>
</Patches> </Patches>
-->
</Source> </Source>
<Package> <Package>
<Name>cmark</Name> <Name>cmark</Name>
<RuntimeDependencies>
</RuntimeDependencies>
<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>
@@ -46,11 +42,18 @@
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path> <Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="5">
<Date>2025-06-21</Date>
<Version>0.31.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2023-11-03</Date> <Date>2023-11-03</Date>
<Version>0.30.3</Version> <Version>0.30.3</Version>