fastfetch: update to 2.34.1
[oi-userland.git] / components / encumbered / nheko / Makefile
blob24343111fcd23df248da691c72222dfa1e23ecbe
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 2023 Niklas Poslovski
15 BUILD_STYLE = cmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= nheko
19 COMPONENT_VERSION= 0.11.3
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= Desktop client for Matrix using Qt and C++20.
22 COMPONENT_PROJECT_URL= https://nheko-reborn.github.io/
23 COMPONENT_FMRI= communication/im/nheko
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:f285156884a3a0c6870f3fba89c13d1fd70c8727bd179d8310b13819f8a63a37
28 COMPONENT_ARCHIVE_URL= https://github.com/Nheko-Reborn/$(COMPONENT_NAME)/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_CLASSIFICATION= Applications/Internet
30 COMPONENT_LICENSE= GPLv3
31 COMPONENT_LICENSE_FILE= COPYING
33 TEST_TARGET = $(NO_TESTS)
34 include $(WS_MAKE_RULES)/encumbered.mk
35 include $(WS_MAKE_RULES)/common.mk
37 LDFLAGS += -Wl,-rpath,$(QT5_LIBDIR)
38 CMAKE_OPTIONS += -DCMAKE_PREFIX_PATH=$(QT5_LIBDIR)/cmake
40 # Manually added build dependencies
41 REQUIRED_PACKAGES += library/c++/nlohmann-json
42 REQUIRED_PACKAGES += database/lmdb/library/c++/lmdbxx
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
46 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
47 REQUIRED_PACKAGES += database/lmdb
48 REQUIRED_PACKAGES += library/audio/gstreamer1
49 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/bad
50 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
51 REQUIRED_PACKAGES += library/c++/spdlog
52 REQUIRED_PACKAGES += library/cmark
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += library/olm
55 REQUIRED_PACKAGES += library/qt5
56 REQUIRED_PACKAGES += library/qt5/qtkeychain
57 REQUIRED_PACKAGES += network/chat/mtxclient
58 REQUIRED_PACKAGES += system/library
59 REQUIRED_PACKAGES += system/library/math
60 REQUIRED_PACKAGES += x11/library/libxcb
61 REQUIRED_PACKAGES += x11/library/xcb-util-wm