summaryrefslogtreecommitdiffstats
path: root/chat-libs
diff options
context:
space:
mode:
authorIsmael Luceno2022-11-09 21:44:12 +0100
committerIsmael Luceno2022-11-09 21:51:07 +0100
commit74bbe9d0675d224fa2bd429c0f0243b9d0ae5d9b (patch)
treef3f08497738b773bf5f1af01fd7b26da6569733c /chat-libs
parent586acf6e0045133586463aaebe1e3ecb40fe94b4 (diff)
c-toxcore 0.2.18
Diffstat (limited to 'chat-libs')
-rwxr-xr-xchat-libs/c-toxcore/BUILD2
-rwxr-xr-xchat-libs/c-toxcore/CONFIGURE1
-rwxr-xr-xchat-libs/c-toxcore/DEPENDS8
-rwxr-xr-xchat-libs/c-toxcore/DETAILS7
-rw-r--r--chat-libs/c-toxcore/HISTORY5
-rw-r--r--chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch24
6 files changed, 12 insertions, 35 deletions
diff --git a/chat-libs/c-toxcore/BUILD b/chat-libs/c-toxcore/BUILD
deleted file mode 100755
index 4c46c6469c..0000000000
--- a/chat-libs/c-toxcore/BUILD
+++ /dev/null
@@ -1,2 +0,0 @@
-OPTS+=" -DWARNINGS=0 -DBUILD_AV_TEST=0"
-cmake_build
diff --git a/chat-libs/c-toxcore/CONFIGURE b/chat-libs/c-toxcore/CONFIGURE
new file mode 100755
index 0000000000..b1e2770061
--- /dev/null
+++ b/chat-libs/c-toxcore/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/chat-libs/c-toxcore/DEPENDS b/chat-libs/c-toxcore/DEPENDS
index abbdcb4c70..0828d56f21 100755
--- a/chat-libs/c-toxcore/DEPENDS
+++ b/chat-libs/c-toxcore/DEPENDS
@@ -1,14 +1,10 @@
-depends cmake &&
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
depends libsodium &&
depends libvpx &&
depends opus &&
# For DHT bootstrap daemon
-depends libconfig &&
-
-# For nTox
-optional_depends ncurses -DBUILD_NTOX={1,0} \
- "for building the nTox client"
+depends libconfig
# For the Spec. tests
#depends msgpack-c &&
diff --git a/chat-libs/c-toxcore/DETAILS b/chat-libs/c-toxcore/DETAILS
index c0f40feecd..d69d61c955 100755
--- a/chat-libs/c-toxcore/DETAILS
+++ b/chat-libs/c-toxcore/DETAILS
@@ -1,8 +1,9 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
SPELL=c-toxcore
- VERSION=0.1.9
+ VERSION=0.2.18
SOURCE="$SPELL-$VERSION.tar.gz"
- SOURCE_URL[0]=https://github.com/TokTok/$SPELL/archive/v$VERSION.tar.gz
- SOURCE_HASH=sha512:2ac0661f2d8a1f6b7da8b6ed7eacde31e355cd4426a41e7dff62d319b811bf0c96b3f01035e2cee16d8c83abbf81d80f0379b8c06bce6d054b3dc6092f48e51c
+ SOURCE_URL[0]=https://github.com/TokTok/$SPELL/releases/download/v$VERSION/$SOURCE
+ SOURCE_HASH=sha512:e9b0d73a2e0460290c8453a0a64fc91deed2e0cf87f945d0ba203b929f19a296571d7140f4df89b06f7e67f2b61894460ce4dd32ab9ecf6ea7d5b67538fadb23
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE="https://tox.chat"
LICENSE[0]="GPLv3+"
diff --git a/chat-libs/c-toxcore/HISTORY b/chat-libs/c-toxcore/HISTORY
index 5798c4d97f..d4156ec1c9 100644
--- a/chat-libs/c-toxcore/HISTORY
+++ b/chat-libs/c-toxcore/HISTORY
@@ -1,3 +1,8 @@
+2022-11-09 Ismael Luceno <ismael@sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS: updated spell to 0.2.18
+ * BUILD, patches/0003-Add-nTox-to-the-install-target.patch:
+ removed, no longer needed
+
2017-06-17 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 0.1.9
diff --git a/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch b/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch
deleted file mode 100644
index 9bb7e1acc1..0000000000
--- a/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From c6e424d812ad3ce0c402e88efcbf009eb8a29ca5 Mon Sep 17 00:00:00 2001
-From: Ismael Luceno <ismael@iodev.co.uk>
-Date: Wed, 23 Nov 2016 22:20:12 -0200
-Subject: [PATCH 3/3] Add nTox to the install target
-
-Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
----
- CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 74c25d7b5d96..1130be3126f5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -484,6 +484,7 @@ option(BUILD_NTOX "Build nTox client" ON)
- if(NOT WIN32 AND BUILD_NTOX)
- add_c_executable(nTox testing/nTox.c)
- target_link_modules(nTox toxcore ${NCURSES_LIBRARIES})
-+ install(TARGETS nTox RUNTIME DESTINATION "bin")
- endif()
-
- add_c_executable(DHT_test testing/DHT_test.c)
---
-2.10.2