gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / desktop / gnome / yelp-tools / Makefile
blobee39777c09d3d94d97cb3153bfaad09a217f0e9e
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 Till Wegmueller
15 BUILD_STYLE = meson
17 include ../../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= yelp-tools
20 COMPONENT_VERSION= 42.1
21 COMPONENT_VERSION_MAJOR=$(word 1,$(subst ., ,$(HUMAN_VERSION)))
22 COMPONENT_PROJECT_URL= http://www.gnome.org
23 COMPONENT_SUMMARY= Yelp Tools
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:3e496a4020d4145b99fd508a25fa09336a503a4e8900028421e72c6a4b11f905
28 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MAJOR)/$(COMPONENT_ARCHIVE)
29 COMPONENT_LICENSE= GPL-2.0-only
30 COMPONENT_CLASSIFICATION = System/Libraries
31 COMPONENT_FMRI = library/gnome/$(COMPONENT_NAME)
33 TEST_TARGET = $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 PYTHON_SCRIPTS += usr/bin/yelp-build
38 PYTHON_SCRIPTS += usr/bin/yelp-new
39 PYTHON_SCRIPTS += usr/bin/yelp-check
41 # Build dependencies
42 REQUIRED_PACKAGES += text/itstool
43 REQUIRED_PACKAGES += library/gnome/yelp-xsl
45 # Auto-generated dependencies
46 PYTHON_REQUIRED_PACKAGES += library/python/lxml
47 PYTHON_REQUIRED_PACKAGES += runtime/python