gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / desktop / gnome / vino / Makefile
blob2be59f3cdbb2c4e15c4ed07f2a1149aeeabd23ed
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) 2017 Alexander Pyhalov
15 BUILD_BITS= 64
16 include ../../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= vino
19 COMPONENT_MJR_VERSION= 3.22
20 COMPONENT_MNR_VERSION= 0
21 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION)
22 COMPONENT_REVISION= 4
23 COMPONENT_SUMMARY= Vino is the GNOME desktop sharing server
24 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Vino
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
27 COMPONENT_ARCHIVE_HASH= sha256:2911c779b6a2c46e5bc8e5a0c94c2a4d5bd4a1ee7e35f2818702cb13d9d23bab
28 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= gnome/vino
30 COMPONENT_CLASSIFICATION= System/X11
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 # build with the distribution preferred libjpeg implementation
40 CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
41 CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
42 LDFLAGS += $(JPEG_LDFLAGS)
44 CONFIGURE_OPTIONS += --enable-ipv6=yes
45 CONFIGURE_OPTIONS += --disable-static
46 CONFIGURE_OPTIONS += --with-gcrypt
47 CONFIGURE_OPTIONS += --with-gnutls
48 CONFIGURE_OPTIONS += --with-jpeg
49 CONFIGURE_OPTIONS += --with-pic
50 CONFIGURE_OPTIONS += --with-secret
51 CONFIGURE_OPTIONS += --with-x
52 CONFIGURE_OPTIONS += --with-zlib
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
56 REQUIRED_PACKAGES += library/desktop/cairo
57 REQUIRED_PACKAGES += library/desktop/gtk3
58 REQUIRED_PACKAGES += library/glib2
59 REQUIRED_PACKAGES += library/gnutls-3
60 REQUIRED_PACKAGES += library/libnotify
61 REQUIRED_PACKAGES += library/libsecret
62 REQUIRED_PACKAGES += library/zlib
63 REQUIRED_PACKAGES += system/library
64 REQUIRED_PACKAGES += system/library/security/libgcrypt
65 REQUIRED_PACKAGES += system/network/avahi
66 REQUIRED_PACKAGES += x11/library/libice
67 REQUIRED_PACKAGES += x11/library/libsm
68 REQUIRED_PACKAGES += x11/library/libx11
69 REQUIRED_PACKAGES += x11/library/libxdamage
70 REQUIRED_PACKAGES += x11/library/libxext
71 REQUIRED_PACKAGES += x11/library/libxfixes
72 REQUIRED_PACKAGES += x11/library/libxtst