new package:nlohmann-json

This commit is contained in:
suvari
2023-06-25 15:13:54 +03:00
parent e5ccc9bc58
commit 990016b8d6
7 changed files with 135 additions and 3 deletions
+42 -1
View File
@@ -270988,7 +270988,7 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol
<Update release="1">
<Date>2023-06-25</Date>
<Version>4.0.3</Version>
<Comment>First release</Comment>
<Comment>First release.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
@@ -359974,6 +359974,47 @@ provide integrated access to the cloud providers services.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>nlohmann-json</Name>
<Homepage>https://json.nlohmann.me</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>programming.library</PartOf>
<Summary xml:lang="en">JSON for Modern C++</Summary>
<Summary xml:lang="tr">Modern C++ için JSON</Summary>
<Description xml:lang="en">JSON for Modern C++</Description>
<Description xml:lang="tr">CModern C++ için JSON</Description>
<Icon>nlohmann-json</Icon>
<Archive type="targz" sha1sum="a6090d28a631b72f416b83166425a2f09c6c91d8" name="v3.11.2.tar.gz">https://github.com/nlohmann/json/archive/5d2754306d67d1e654a1a34e1d2e74439a9d53b3/v3.11.2.tar.gz</Archive>
<Archive type="binary" sha1sum="139e4f927cc7b1998c025d60a9a63a3a6f1929f6" target="json-5d2754306d67d1e654a1a34e1d2e74439a9d53b3" name="v3.1.0.tar.gz">https://github.com/nlohmann/json_test_data/archive/refs/tags/v3.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
<SourceURI>programming/library/nlohmann-json/pspec.xml</SourceURI>
</Source>
<Package>
<Name>nlohmann-json</Name>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/cmake</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-06-21</Date>
<Version>3.11.2</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>p8-platform</Name>
+1 -1
View File
@@ -1 +1 @@
73b12da3dcff19e8d3dfde3e165aeb7d31f5ef20
b98f9a799b99fb261a5465bc7cd03dae7c781310
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
ceb5366283eed11ae34f1336d20d54d028285007
7b302ad5f198840ae8505b73cf7cadb9a3684abd
@@ -0,0 +1,37 @@
#!/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 shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DBUILD_TESTING=ON \
-DJSON_BuildTests=ON \
-DJSON_MultipleHeaders=ON \
-Wno-dev", sourceDir="..")
def build():
cmaketools.make("-B build")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/share/pkgconfig", "/usr/lib")
# pisitools.dodoc("./LICENSES")
@@ -0,0 +1,46 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>nlohmann-json</Name>
<Homepage>https://json.nlohmann.me</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<Icon>nlohmann-json</Icon>
<Summary>JSON for Modern C++</Summary>
<Description>JSON for Modern C++</Description>
<Archive sha1sum="a6090d28a631b72f416b83166425a2f09c6c91d8" type="targz">https://github.com/nlohmann/json/archive/5d2754306d67d1e654a1a34e1d2e74439a9d53b3/v3.11.2.tar.gz</Archive>
<Archive sha1sum="139e4f927cc7b1998c025d60a9a63a3a6f1929f6" type="binary" target="json-5d2754306d67d1e654a1a34e1d2e74439a9d53b3">https://github.com/nlohmann/json_test_data/archive/refs/tags/v3.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch></Patch> -->
</Patches>
</Source>
<Package>
<Name>nlohmann-json</Name>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/cmake</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-06-21</Date>
<Version>3.11.2</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>nlohmann-json</Name>
<Summary xml:lang="tr">Modern C++ için JSON</Summary>
<Description xml:lang="tr">CModern C++ için JSON</Description>
</Source>
</PISI>