commit | author | age
|
9735db
|
1 |
# |
NP |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2023 Niklas Poslovski |
|
13 |
# |
|
14 |
|
cba2c3
|
15 |
BUILD_STYLE= cmake |
9735db
|
16 |
include ../../../make-rules/shared-macros.mk |
NP |
17 |
|
|
18 |
COMPONENT_NAME= mtxclient |
|
19 |
COMPONENT_VERSION= 0.9.2 |
cba2c3
|
20 |
COMPONENT_REVISION= 1 |
9735db
|
21 |
COMPONENT_SUMMARY= Client API library for the Matrix protocol |
cba2c3
|
22 |
COMPONENT_PROJECT_URL= https://github.com/Nheko-Reborn/mtxclient |
9735db
|
23 |
COMPONENT_FMRI= network/chat/mtxclient |
NP |
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
25 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
cba2c3
|
26 |
COMPONENT_ARCHIVE_HASH= sha256:f55827fdba226c6fc409cf000c72b13cc6d069ec1300283a7239aa19c90c5f56 |
9735db
|
27 |
COMPONENT_ARCHIVE_URL= https://github.com/Nheko-Reborn/$(COMPONENT_NAME)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz |
cba2c3
|
28 |
COMPONENT_CLASSIFICATION= Applications/Internet |
9735db
|
29 |
COMPONENT_LICENSE= MIT |
NP |
30 |
COMPONENT_LICENSE_FILE= LICENSE |
|
31 |
|
|
32 |
# Tests require Googletest which we don't have yet. |
cba2c3
|
33 |
TEST_TARGET= $(NO_TESTS) |
9735db
|
34 |
include $(WS_MAKE_RULES)/common.mk |
NP |
35 |
|
|
36 |
CMAKE_OPTIONS += -DBUILD_LIB_TESTS=OFF |
|
37 |
CMAKE_OPTIONS += -DBUILD_LIB_EXAMPLES=OFF |
|
38 |
|
|
39 |
# Manually added build dependencies |
|
40 |
REQUIRED_PACKAGES += library/c++/nlohmann-json |
|
41 |
|
|
42 |
# Auto-generated dependencies |
|
43 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
|
44 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
|
45 |
REQUIRED_PACKAGES += library/c++/spdlog |
|
46 |
REQUIRED_PACKAGES += library/olm |
|
47 |
REQUIRED_PACKAGES += library/re2 |
|
48 |
REQUIRED_PACKAGES += library/security/openssl-31 |
|
49 |
REQUIRED_PACKAGES += system/library |
|
50 |
REQUIRED_PACKAGES += web/coeurl |