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
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 2024 Marcel Telka
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 # This is vte-2.91 ABI series
26 COMPONENT_SUMMARY
= Virtual terminal widget for GTK applications
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:97e2ac3a27bc5755358a223f55f5a2518654aa0361bfc61a196c1c2e08798eff
29 COMPONENT_FMRI
= library
/desktop
/vte-291
30 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
31 COMPONENT_LICENSE
= CC-BY-4.0 AND GPL-3.0
-only AND LGPL-3.0
-only AND MIT
33 include $(WS_MAKE_RULES
)/gnome.mk
34 include $(WS_MAKE_RULES
)/common.mk
37 update-license-file
: patch
39 printf
-- '--- COPYING.CC-BY-4-0 -----------------------------------------------------\n\n' ; \
40 $(CAT
) $(SOURCE_DIR
)/COPYING.CC-BY-4-0
; \
41 printf
'\n--- COPYING.GPL3 ----------------------------------------------------------\n\n' ; \
42 $(CAT
) $(SOURCE_DIR
)/COPYING.GPL3
; \
43 printf
'\n--- COPYING.LGPL3 ---------------------------------------------------------\n\n' ; \
44 $(CAT
) $(SOURCE_DIR
)/COPYING.LGPL3
; \
45 printf
'\n--- COPYING.XTERM ---------------------------------------------------------\n\n' ; \
46 $(CAT
) $(SOURCE_DIR
)/COPYING.XTERM \
47 ) > $(COMPONENT_DIR
)/$(COMPONENT_LICENSE_FILE
)
49 # We need IMAXBEL and so we need to define __EXTENSIONS__
50 CFLAGS
+= -D__EXTENSIONS__
52 # We have no /etc/profile.d support
53 # See also https://www.illumos.org/issues/3395
54 COMPONENT_POST_INSTALL_ACTION
+= $(RM
) -r
$(PROTOETCDIR
)/profile.d
;
56 # Replace ABI version number by ABIVER
57 ABIVER_RE
= $(subst .
,\.
,$(ABIVER
))
58 GENERATE_EXTRA_CMD
+= |
$(GSED
) -e
's/\([Vv]te-\)$(ABIVER_RE)/\1$$(ABIVER)/g'
60 # ABIVER is needed for manifest processing
61 PKG_MACROS
+= ABIVER
=$(ABIVER
)
63 # Dynamic library version number
64 SOVER
:= $(shell printf
'%s00.%s' $(wordlist
2,3,$(subst .
, ,$(COMPONENT_VERSION
))))
65 SOVER_RE
= $(subst .
,\.
,$(SOVER
))
67 # Replace library version number by SOVER
68 GENERATE_EXTRA_CMD
+= |
$(GSED
) -e
's/$(SOVER_RE)/$$(SOVER)/'
70 # SOVER is needed for manifest processing
71 PKG_MACROS
+= SOVER
=$(SOVER
)
73 # Auto-generated dependencies
74 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
75 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
76 REQUIRED_PACKAGES
+= $(ICU_LIBRARY_PKG
)
77 REQUIRED_PACKAGES
+= gnome
/accessibility
/at-spi2-core
78 REQUIRED_PACKAGES
+= library
/desktop
/cairo
79 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
80 REQUIRED_PACKAGES
+= library
/desktop
/graphene
81 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
82 REQUIRED_PACKAGES
+= library
/desktop
/gtk4
83 REQUIRED_PACKAGES
+= library
/desktop
/pango
84 REQUIRED_PACKAGES
+= library
/fribidi
85 REQUIRED_PACKAGES
+= library
/glib2
86 REQUIRED_PACKAGES
+= library
/gnutls-3
87 REQUIRED_PACKAGES
+= library
/lz4
88 REQUIRED_PACKAGES
+= library
/pcre2
89 REQUIRED_PACKAGES
+= system
/library
90 REQUIRED_PACKAGES
+= system
/library
/math