jsoncpp: ver. bump to 1.9.2

This commit is contained in:
suvari
2020-03-01 15:24:22 +03:00
parent 4bd08b2786
commit c2492e7336
4 changed files with 24 additions and 20 deletions
+10 -12
View File
@@ -1,25 +1,23 @@
#!/usr/bin/env python
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import get
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_LIBDIR=/usr/lib")
mesontools.configure()
def build():
cmaketools.make()
mesontools.build()
def check():
mesontools.build("test")
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
pisitools.dodoc("AUTHORS", "LICENSE", "README*")
+11 -5
View File
@@ -12,18 +12,17 @@
<IsA>library</IsA>
<Summary>C++ library for interacting with JSON</Summary>
<Description>C++ library for interacting with JSON</Description>
<Archive sha1sum="98a56dba0cc6378c91668b6e1c120a657820c45e" type="targz">https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz</Archive>
<Archive sha1sum="6a546eeeea6e31fe8ab746491a3189c0844a0f79" type="targz">https://github.com/open-source-parsers/jsoncpp/archive/1.9.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>jsoncpp</Name>
<RuntimeDependencies>
<!-- <Dependency>Dep1</Dependency> -->
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
-->
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
@@ -45,6 +44,13 @@
</Package>
<History>
<Update release="2">
<Date>2020-03-01</Date>
<Version>1.9.2</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2018-11-30</Date>
<Version>1.8.4</Version>
@@ -53,4 +59,4 @@
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
+2 -2
View File
@@ -2,7 +2,7 @@
<PISI>
<Source>
<Name>jsoncpp</Name>
<Summary xml:lang="tr">C++ library for interacting with JSON</Summary>
<Description xml:lang="tr">C++ library for interacting with JSON</Description>
<Summary xml:lang="tr">JSON ile etkileşim için C ++ kütüphanesi</Summary>
<Description xml:lang="tr">JSON ile etkileşim için C ++ kütüphanesi</Description>
</Source>
</PISI>