libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / desktop / hexchat / Makefile
blob91370bb693f7c3d998bd6a61904532a5b71ec6c3
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 2016 Marcel Telka <marcel@telka.sk>
13 # Copyright 2020 Michal Nowak
16 BITS= 64
17 BUILD_STYLE= meson
18 OPENSSLi_VERSION= 3.1
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= hexchat
22 COMPONENT_VERSION= 2.16.2
23 COMPONENT_SUMMARY= HexChat IRC client
24 COMPONENT_PROJECT_URL= https://hexchat.github.io/
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
27 COMPONENT_ARCHIVE_HASH= sha256:2e88340a8da274b87373ec0740746da78120cc6fbfdd201a4dd6999cac790e4a
28 COMPONENT_ARCHIVE_URL= https://github.com/hexchat/hexchat/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= desktop/irc/hexchat
30 COMPONENT_CLASSIFICATION= Applications/Internet
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 PATH= $(PATH.gnu)
39 # Disable direct binding to allow the Python plugin to load.
40 # Without this, you get:
41 # ld.so.1: hexchat: fatal: relocation error: file .../python.so:
42 # symbol __iob: referenced symbol not found
43 LD_B_DIRECT=
45 PERL5_LIBDIR=/usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/CORE/
47 COMPONENT_POST_INSTALL_ACTION= ( \
48 /usr/bin/elfedit -e 'dyn:value -s RUNPATH "$(PERL5_LIBDIR)"' $(PROTOUSRDIR)/lib/$(MACH64)/hexchat/plugins/perl.so; \
49 /usr/bin/elfedit -e 'dyn:value -s RPATH "$(PERL5_LIBDIR)"' $(PROTOUSRDIR)/lib/$(MACH64)/hexchat/plugins/perl.so; \
50 /usr/bin/elfedit -e 'dyn:value -add -s NEEDED "libpython$(PYTHON_VERSION).so.1.0"' \
51 $(PROTOUSRDIR)/lib/$(MACH64)/hexchat/plugins/python.so)
53 CONFIGURE_OPTIONS += -Dwith-python=python-$(PYTHON_VERSION)
54 CONFIGURE_OPTIONS += -Dwith-lua=false
55 CONFIGURE_ENV += AR="/usr/gnu/bin/ar"
57 # Auto-generated dependencies
58 PERL_REQUIRED_PACKAGES += runtime/perl
59 PYTHON_REQUIRED_PACKAGES += runtime/python
60 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
61 REQUIRED_PACKAGES += library/desktop/gtk2
62 REQUIRED_PACKAGES += library/desktop/pango
63 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
64 REQUIRED_PACKAGES += library/glib2
65 REQUIRED_PACKAGES += library/security/openssl-31
66 REQUIRED_PACKAGES += system/library
67 REQUIRED_PACKAGES += system/library/libdbus-glib
68 REQUIRED_PACKAGES += x11/library/libx11