diff --git a/network/chat/toxcore-c/actions.py b/network/chat/toxcore-c/actions.py index bab73ff665..b6388e87ac 100644 --- a/network/chat/toxcore-c/actions.py +++ b/network/chat/toxcore-c/actions.py @@ -8,6 +8,7 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get j = ''.join([ ' -DCMAKE_BUILD_TYPE=Release', + ' -DMUST_BUILD_TOXAV=ON', ' -DDHT_BOOTSTRAP=OFF', ' -DENABLE_STATIC=OFF', ' -B_build -L ' @@ -15,6 +16,8 @@ j = ''.join([ def setup(): pisitools.dosed("CMakeLists.txt", "RPATH", deleteLine = True) + pisitools.unlinkDir("third_party/cmp") + shelltools.system("ln -s cmp-e836703291392aba9db92b46fb47929521fac71f ./third_party/cmp") cmaketools.configure(j) def build(): @@ -23,7 +26,6 @@ def build(): def install(): pisitools.insinto("/etc", "other/bootstrap_daemon/tox-bootstrapd.conf") - shelltools.chmod("%s/etc/tox-bootstrapd.conf" % get.installDIR(), mode = 0644) shelltools.cd("_build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/network/chat/toxcore-c/pspec.xml b/network/chat/toxcore-c/pspec.xml index 9a7076ea46..042462fef7 100644 --- a/network/chat/toxcore-c/pspec.xml +++ b/network/chat/toxcore-c/pspec.xml @@ -13,8 +13,11 @@ network.chat This is an experimental cryptographic network library. Tox is a peer to peer (serverless) instant messenger aimed at making security and privacy easy to obtain for regular users. It uses NaCl for its encryption and authentication. - - https://github.com/TokTok/c-toxcore/releases/download/v0.2.18/c-toxcore-0.2.18.tar.gz + + https://github.com/TokTok/c-toxcore/archive/172f279dc0647a538b30e62c96bab8bb1b0c8960.zip + + + https://github.com/camgunz/cmp/archive/e836703291392aba9db92b46fb47929521fac71f.zip cmake @@ -66,9 +69,9 @@ - 2023-03-05 + 2023-03-06 0.2.18 - Rebuild. + Rebuild from git for newest toxic. fury uglyside@yandex.ru