libgit2 migrate to llhttp, libgit2-glib update, drop http-parser.

This commit is contained in:
4fury-c3440d8
2026-05-05 12:46:13 +04:00
parent 9d230fd3a5
commit e48d306ac8
13 changed files with 139 additions and 256 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/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 cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
i = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DLLHTTP_BUILD_SHARED_LIBS=ON',
' -DLLHTTP_BUILD_STATIC_LIBS=OFF',
' -Bbuild -G Ninja -L '
])
def setup():
cmaketools.configure(i)
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("LICENSE")
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>llhttp</Name>
<Homepage>https://github.com/nodejs/llhttp</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>programming.misc</PartOf>
<Summary>Node.js llhttp Library.</Summary>
<Description>Port of http_parser to llparse.</Description>
<Archive sha1sum="a81acdb0c8f3834907b495ecb0040f1445a5bdd1" type="targz">https://github.com/nodejs/llhttp/archive/refs/tags/release/v9.3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>llhttp</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>llhttp-devel</Name>
<RuntimeDependencies>
<Dependency release="current">llhttp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-05-05</Date>
<Version>9.3.1</Version>
<Comment>First release.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>