thunderbird: update to 128.2.0
[oi-userland.git] / components / network / toxcore / Makefile
blobaa5deadc746078820c9ce32f64c4590ea69811dd
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
15 BUILD_STYLE=cmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= toxcore
19 COMPONENT_VERSION= 0.2.18
20 #COMPONENT_REVISION= 1
21 COMPONENT_PROJECT_URL= https://tox.chat
22 COMPONENT_SUMMARY= Secure, configuration-free, P2P Skype replacement backend
23 COMPONENT_FMRI= network/chat/toxcore
24 COMPONENT_SRC= c-toxcore-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:1fba883638fd18985fd41acd35fed198c2cdd6e91651eb1c3fe602b610b535fe
28 COMPONENT_ARCHIVE_URL= https://github.com/TokTok/c-toxcore/archive/refs/tags/$(COMPONENT_ARCHIVE)
29 COMPONENT_CLASSIFICATION= Applications/Internet
30 COMPONENT_LICENSE= GPLv3
31 COMPONENT_LICENSE_FILE= LICENSE
33 GIT_BRANCH_1= 4c3737d1a172ee74d2b35b5fd6865d1fe9dac7af
34 COMPONENT_SRC_1= cmp-$(GIT_BRANCH_1)
35 COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
36 COMPONENT_ARCHIVE_URL_1=https://github.com/camgunz/cmp/archive/$(GIT_BRANCH_1).tar.gz
37 COMPONENT_ARCHIVE_HASH_1= \
38 sha256:a13a479f747854b990cee074cdc7a7309ec6e025059b7213b9ca311860de1b02
40 COMPONENT_POST_UNPACK_ACTION_1= \
41 mv $(COMPONENT_SRC_1)/* $(SOURCE_DIR)/third_party/cmp
43 TEST_TARGET = $(NO_TESTS)
44 include $(WS_MAKE_RULES)/common.mk
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += library/libconfig
48 REQUIRED_PACKAGES += library/opus
49 REQUIRED_PACKAGES += library/security/libsodium
50 REQUIRED_PACKAGES += library/video/libvpx
51 REQUIRED_PACKAGES += system/library