toxcore-c rebuild from git.
This commit is contained in:
@@ -8,6 +8,7 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get
|
|||||||
|
|
||||||
j = ''.join([
|
j = ''.join([
|
||||||
' -DCMAKE_BUILD_TYPE=Release',
|
' -DCMAKE_BUILD_TYPE=Release',
|
||||||
|
' -DMUST_BUILD_TOXAV=ON',
|
||||||
' -DDHT_BOOTSTRAP=OFF',
|
' -DDHT_BOOTSTRAP=OFF',
|
||||||
' -DENABLE_STATIC=OFF',
|
' -DENABLE_STATIC=OFF',
|
||||||
' -B_build -L '
|
' -B_build -L '
|
||||||
@@ -15,6 +16,8 @@ j = ''.join([
|
|||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
pisitools.dosed("CMakeLists.txt", "RPATH", deleteLine = True)
|
pisitools.dosed("CMakeLists.txt", "RPATH", deleteLine = True)
|
||||||
|
pisitools.unlinkDir("third_party/cmp")
|
||||||
|
shelltools.system("ln -s cmp-e836703291392aba9db92b46fb47929521fac71f ./third_party/cmp")
|
||||||
cmaketools.configure(j)
|
cmaketools.configure(j)
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
@@ -23,7 +26,6 @@ def build():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
pisitools.insinto("/etc", "other/bootstrap_daemon/tox-bootstrapd.conf")
|
pisitools.insinto("/etc", "other/bootstrap_daemon/tox-bootstrapd.conf")
|
||||||
shelltools.chmod("%s/etc/tox-bootstrapd.conf" % get.installDIR(), mode = 0644)
|
|
||||||
|
|
||||||
shelltools.cd("_build")
|
shelltools.cd("_build")
|
||||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|||||||
@@ -13,8 +13,11 @@
|
|||||||
<PartOf>network.chat</PartOf>
|
<PartOf>network.chat</PartOf>
|
||||||
<Summary>This is an experimental cryptographic network library.</Summary>
|
<Summary>This is an experimental cryptographic network library.</Summary>
|
||||||
<Description>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.</Description>
|
<Description>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.</Description>
|
||||||
<Archive sha1sum="e3b4c386424bd9eccea314720651bb0b4ff3e09d" type="targz">
|
<Archive sha1sum="f8b156f34bcc0cf3367c4db8b40fbde6483dfd57" type="zip">
|
||||||
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
|
||||||
|
</Archive>
|
||||||
|
<Archive sha1sum="3a59ff65bbbb624248a3f273eef23f4f68167481" target="c-toxcore-172f279dc0647a538b30e62c96bab8bb1b0c8960/third_party" type="zip">
|
||||||
|
https://github.com/camgunz/cmp/archive/e836703291392aba9db92b46fb47929521fac71f.zip
|
||||||
</Archive>
|
</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
@@ -66,9 +69,9 @@
|
|||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="3">
|
<Update release="3">
|
||||||
<Date>2023-03-05</Date>
|
<Date>2023-03-06</Date>
|
||||||
<Version>0.2.18</Version>
|
<Version>0.2.18</Version>
|
||||||
<Comment>Rebuild.</Comment>
|
<Comment>Rebuild from git for newest toxic.</Comment>
|
||||||
<Name>fury</Name>
|
<Name>fury</Name>
|
||||||
<Email>uglyside@yandex.ru</Email>
|
<Email>uglyside@yandex.ru</Email>
|
||||||
</Update>
|
</Update>
|
||||||
|
|||||||
Reference in New Issue
Block a user