rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / pidgin / Makefile
blob798334404eee5967ddfe949bd6790dfcf5462717
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 (c) 2014 Alexander Pyhalov
13 # Copyright 2017 Gary Mills
14 # Copyright 2019 Michal Nowak
15 # Copyright 2022 Niklas Poslovski
18 USE_PARALLEL_BUILD= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= pidgin
22 COMPONENT_VERSION= 2.14.13
23 COMPONENT_SUMMARY= Multiprotocol Instant Messaging Client
24 COMPONENT_PROJECT_URL= https://www.pidgin.im
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= sha256:120049dc8e17e09a2a7d256aff2191ff8491abb840c8c7eb319a161e2df16ba8
28 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/$(COMPONENT_NAME)/files/Pidgin/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
29 COMPONENT_FMRI= communication/im/pidgin
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 # We use libncurses and libpanel from /usr/gnu/lib/$(MACH64)
40 LDFLAGS += -L/usr/gnu/lib/$(MACH64) -R/usr/gnu/lib/$(MACH64)
42 COMPONENT_PREP_ACTION= ( cd $(@D) && \
43 libtoolize --force && \
44 intltoolize --force --copy --automake && \
45 aclocal -I. && \
46 automake -a -f -c && \
47 autoconf )
49 COMPONENT_PRE_CONFIGURE_ACTION= ( cp -rp $(SOURCE_DIR)/* $(@D) && \
50 cp -rp $(COMPONENT_DIR)/files/po-sun $(@D) && \
51 cd $(@D)/po-sun && $(MAKE) )
53 CONFIGURE_SCRIPT= $(@D)/configure
55 CONFIGURE_OPTIONS+= --sysconfdir=$(ETCDIR)
56 CONFIGURE_OPTIONS+= --enable-gnutls=no
57 CONFIGURE_OPTIONS+= --with-nss-includes=/usr/include/mps
58 CONFIGURE_OPTIONS+= --with-nss-libs=/usr/lib/mps/64
59 CONFIGURE_OPTIONS+= --with-nspr-includes=/usr/include/mps
60 CONFIGURE_OPTIONS+= --with-nspr-libs=/usr/lib/mps/64
61 CONFIGURE_OPTIONS+= --enable-gnome-keyring
62 CONFIGURE_OPTIONS+= --disable-gevolution
63 CONFIGURE_OPTIONS+= --enable-cap
64 CONFIGURE_OPTIONS+= --disable-meanwhile
65 CONFIGURE_OPTIONS+= --disable-nm
66 CONFIGURE_OPTIONS+= --enable-consoleui
67 CONFIGURE_OPTIONS+= --with-ncurses-headers=/usr/include/ncurses
68 CONFIGURE_OPTIONS+= --disable-vv
69 CONFIGURE_OPTIONS+= --enable-perl=yes
70 CONFIGURE_OPTIONS+= --enable-cyrus-sasl=no
72 CONFIGURE_ENV+= INTLTOOL_PERL=$(PERL)
73 CONFIGURE_ENV+= PERL=$(PERL)
74 CONFIGURE_ENV+= perlpath=$(PERL)
75 CONFIGURE_ENV+= PYTHON=$(PYTHON)
77 CONFIGURE_ENV+= CPPFLAGS="$(CPPFLAGS)"
79 # Auto-generated dependencies
80 PERL_REQUIRED_PACKAGES += runtime/perl
81 PYTHON_REQUIRED_PACKAGES += library/python/python-dbus
82 PYTHON_REQUIRED_PACKAGES += runtime/python
83 REQUIRED_PACKAGES += database/sqlite-3
84 REQUIRED_PACKAGES += library/audio/gstreamer1
85 REQUIRED_PACKAGES += library/desktop/atk
86 REQUIRED_PACKAGES += library/desktop/cairo
87 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
88 REQUIRED_PACKAGES += library/desktop/gtk2
89 REQUIRED_PACKAGES += library/desktop/gtkspell
90 REQUIRED_PACKAGES += library/desktop/pango
91 REQUIRED_PACKAGES += library/glib2
92 REQUIRED_PACKAGES += library/libgnt
93 REQUIRED_PACKAGES += library/libidn
94 REQUIRED_PACKAGES += library/libxml2
95 REQUIRED_PACKAGES += library/ncurses
96 REQUIRED_PACKAGES += library/nspr
97 REQUIRED_PACKAGES += runtime/tcl-8
98 REQUIRED_PACKAGES += runtime/tk-8
99 REQUIRED_PACKAGES += shell/ksh93
100 REQUIRED_PACKAGES += system/library
101 REQUIRED_PACKAGES += system/library/libdbus
102 REQUIRED_PACKAGES += system/library/libdbus-glib
103 REQUIRED_PACKAGES += system/library/math
104 REQUIRED_PACKAGES += system/library/mozilla-nss
105 REQUIRED_PACKAGES += system/network/avahi
106 REQUIRED_PACKAGES += x11/library/libice
107 REQUIRED_PACKAGES += x11/library/libsm
108 REQUIRED_PACKAGES += x11/library/libx11
109 REQUIRED_PACKAGES += x11/library/libxscrnsaver