libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / network / avahi / Makefile
blob6814cbd2e20211db99a3e69806ed2cffe76eb6ff
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2023 Andreas Wacknitz
17 BUILD_BITS= 32_and_64
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= avahi
22 COMPONENT_VERSION= 0.7
23 COMPONENT_REVISION= 7
24 COMPONENT_SUMMARY= Avahi client and bridge to pkg://service/network/dns/mdns
25 COMPONENT_PROJECT_URL= https://avahi.org
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL= https://github.com/lathiat/avahi/releases/download/v0.7/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= sha256:57a99b5dfe7fdae794e3d1ee7a62973a368e91e414bd0dfa5d84434de5b14804
30 COMPONENT_FMRI= system/network/avahi
31 COMPONENT_CLASSIFICATION= Applications/Internet
32 COMPONENT_LICENSE= LGPLv2.1
33 COMPONENT_LICENSE_FILE= LICENSE
35 include $(WS_MAKE_RULES)/common.mk
37 COMPONENT_PREP_ACTION += ( \
38 cd $(@D) && \
39 aclocal -I common && \
40 automake --add-missing && \
41 autoconf )
43 # Need this to build service-type-database
44 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CP) -r $(SOURCE_DIR)/* $(@D) )
46 LDFLAGS += -ldns_sd
48 CONFIGURE_OPTIONS += --disable-static
49 CONFIGURE_OPTIONS += --with-avahi-user=daemon
50 CONFIGURE_OPTIONS += --with-avahi-group=other
51 CONFIGURE_OPTIONS += --sysconfdir=/etc
52 CONFIGURE_OPTIONS += --localstatedir=/var
53 CONFIGURE_OPTIONS += --with-distro=none
54 CONFIGURE_OPTIONS += --disable-gtk3
55 CONFIGURE_OPTIONS += --disable-qt3
56 CONFIGURE_OPTIONS += --disable-qt4
57 CONFIGURE_OPTIONS += --disable-mono
58 CONFIGURE_OPTIONS += --disable-monodoc
59 CONFIGURE_OPTIONS += --enable-tests
60 CONFIGURE_OPTIONS += --disable-compat-howl
61 CONFIGURE_OPTIONS += --disable-compat-libdns_sd
62 CONFIGURE_OPTIONS += --disable-autoipd
63 CONFIGURE_OPTIONS += --disable-gdbm
64 CONFIGURE_OPTIONS += --enable-dbm
65 # We don't want 32 bit gui
66 CONFIGURE_OPTIONS.32 += --disable-gtk
67 CONFIGURE_OPTIONS.32 += --disable-gtk3
68 CONFIGURE_OPTIONS.32 += --disable-pygobject
70 CONFIGURE_ENV += XGETTEXT=/usr/gnu/bin/xgettext
71 CONFIGURE_ENV += MSGFMT=/usr/gnu/bin/msgfmt
73 CONFIGURE_ENV += am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)"
74 CONFIGURE_ENV += am_cv_python_pyexecdir="$(PYTHON_VENDOR_PACKAGES)"
75 CONFIGURE_ENV += PYTHON="$(PYTHON)"
77 # CFLAGS are not passed to compiler when g-ir-scanner is used
78 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
79 COMPONENT_BUILD_ENV += CC="$(CC)"
81 unexport SHELLOPTS
83 # Manually added build dependencies
84 REQUIRED_PACKAGES += text/xmltoman
86 # Auto-generated dependencies
87 PYTHON_REQUIRED_PACKAGES += library/python/pygobject
88 PYTHON_REQUIRED_PACKAGES += library/python/python-dbus
89 PYTHON_REQUIRED_PACKAGES += runtime/python
90 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
91 REQUIRED_PACKAGES += SUNWcs
92 REQUIRED_PACKAGES += library/desktop/gtk2
93 REQUIRED_PACKAGES += library/expat
94 REQUIRED_PACKAGES += library/glib2
95 REQUIRED_PACKAGES += library/libdaemon
96 REQUIRED_PACKAGES += service/network/dns/mdns
97 REQUIRED_PACKAGES += shell/ksh93
98 REQUIRED_PACKAGES += system/library
99 REQUIRED_PACKAGES += system/library/dbus
100 REQUIRED_PACKAGES += system/library/libdbus