diff --git a/programming/library/msgpack-c/actions.py b/programming/library/msgpack-c/actions.py index b4b244e61b..2e5f672064 100644 --- a/programming/library/msgpack-c/actions.py +++ b/programming/library/msgpack-c/actions.py @@ -4,20 +4,25 @@ # 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 shelltools, cmaketools, pisitools, get +from pisi.actionsapi import mesontools, cmaketools j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_C_COMPILER=gcc', + ' -DCMAKE_CXX_COMPILER=g++', ' -DMSGPACK_BUILD_EXAMPLES=OFF', - ' -DMSGPACK_ENABLE_STATIC=OFF ' + ' -DMSGPACK_ENABLE_STATIC=OFF', + ' -B_build -G Ninja -L ' ]) def setup(): - cmaketools.configure("-B_build %s -L" % j) + cmaketools.configure(j) def build(): - shelltools.cd("_build") - cmaketools.make() + mesontools.build("-C _build") + +def check(): + mesontools.build("-C _build test") def install(): - shelltools.cd("_build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + mesontools.install("-C _build") diff --git a/programming/library/msgpack-c/pspec.xml b/programming/library/msgpack-c/pspec.xml index 75a633107e..f462e8439b 100644 --- a/programming/library/msgpack-c/pspec.xml +++ b/programming/library/msgpack-c/pspec.xml @@ -13,11 +13,13 @@ programming.library It's like JSON but smaller and faster. 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. - - 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 cmake + ninja + gtest-devel @@ -37,12 +39,20 @@ msgpack-c + /usr/lib/cmake /usr/lib/pkgconfig /usr/include + + 2023-03-05 + 6.0.0 + Version bump. + fury + uglyside@yandex.ru + 2023-01-15 5.0.0