msgpack-c-6.

This commit is contained in:
4fury-c3440d8
2023-03-05 14:25:53 +03:00
parent 6d1c7e31ab
commit d472b5e4da
2 changed files with 24 additions and 9 deletions
+12 -7
View File
@@ -4,20 +4,25 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, cmaketools, pisitools, get from pisi.actionsapi import mesontools, cmaketools
j = ''.join([ j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_C_COMPILER=gcc',
' -DCMAKE_CXX_COMPILER=g++',
' -DMSGPACK_BUILD_EXAMPLES=OFF', ' -DMSGPACK_BUILD_EXAMPLES=OFF',
' -DMSGPACK_ENABLE_STATIC=OFF ' ' -DMSGPACK_ENABLE_STATIC=OFF',
' -B_build -G Ninja -L '
]) ])
def setup(): def setup():
cmaketools.configure("-B_build %s -L" % j) cmaketools.configure(j)
def build(): def build():
shelltools.cd("_build") mesontools.build("-C _build")
cmaketools.make()
def check():
mesontools.build("-C _build test")
def install(): def install():
shelltools.cd("_build") mesontools.install("-C _build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
+12 -2
View File
@@ -13,11 +13,13 @@
<PartOf>programming.library</PartOf> <PartOf>programming.library</PartOf>
<Summary>It's like JSON but smaller and faster.</Summary> <Summary>It's like JSON but smaller and faster.</Summary>
<Description>MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. Small integers are encoded into a single byte and short strings require only one extra byte in addition to the strings themselves.</Description> <Description>MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. Small integers are encoded into a single byte and short strings require only one extra byte in addition to the strings themselves.</Description>
<Archive sha1sum="625750b0497b775080d7027762352dcecd856cfb" type="targz"> <Archive sha1sum="2bb0503d5ae4f4026ec2ef729725c225d6212719" type="targz">
https://github.com/msgpack/msgpack-c/releases/download/c-5.0.0/msgpack-c-5.0.0.tar.gz https://github.com/msgpack/msgpack-c/releases/download/c-6.0.0/msgpack-c-6.0.0.tar.gz
</Archive> </Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>gtest-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -37,12 +39,20 @@
<Dependency release="current">msgpack-c</Dependency> <Dependency release="current">msgpack-c</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="3">
<Date>2023-03-05</Date>
<Version>6.0.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2"> <Update release="2">
<Date>2023-01-15</Date> <Date>2023-01-15</Date>
<Version>5.0.0</Version> <Version>5.0.0</Version>