2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022-2023 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= toxcore
19 COMPONENT_VERSION
= 0.2.20
20 COMPONENT_PROJECT_URL
= https
://tox.chat
21 COMPONENT_SUMMARY
= Secure
, configuration-free
, P2P Skype replacement backend
22 COMPONENT_FMRI
= network
/chat
/toxcore
23 COMPONENT_SRC
= c-toxcore-
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= v
$(COMPONENT_VERSION
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:5c1bc37d24a1e37fc6c03580e2602019a09393cd2e8ae1f58e338438f14d5871
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/TokTok
/c-toxcore
/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
= Applications
/Internet
28 COMPONENT_LICENSE
= GPLv3
29 COMPONENT_LICENSE_FILE
= LICENSE
31 GIT_BRANCH_1
= 4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af
32 COMPONENT_SRC_1
= cmp-
$(GIT_BRANCH_1
)
33 COMPONENT_ARCHIVE_1
= $(COMPONENT_SRC_1
).
tar.gz
34 COMPONENT_ARCHIVE_URL_1
=https
://github.com
/camgunz
/cmp
/archive
/$(GIT_BRANCH_1
).
tar.gz
35 COMPONENT_ARCHIVE_HASH_1
= \
36 sha256
:a13a479f747854b990cee074cdc7a7309ec6e025059b7213b9ca311860de1b02
38 COMPONENT_POST_UNPACK_ACTION_1
= \
39 mv
$(COMPONENT_SRC_1
)/* $(SOURCE_DIR
)/third_party
/cmp
41 TEST_TARGET
= $(NO_TESTS
)
42 include $(WS_MAKE_RULES
)/common.mk
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= library
/libconfig
46 REQUIRED_PACKAGES
+= library
/opus
47 REQUIRED_PACKAGES
+= library
/security
/libsodium
48 REQUIRED_PACKAGES
+= library
/video
/libvpx
49 REQUIRED_PACKAGES
+= system
/library