openssl-1.1: add patches for CVE-2024-2511 and CVE-2024-4741
[oi-userland.git] / components / library / json-glib / Makefile
blob9d8b1c6d156125b369bee9b47d97853fd5204de1
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 (c) 2022 Niklas Poslovski
16 BUILD_BITS= 64_and_32
17 BUILD_STYLE= meson
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= json-glib
21 COMPONENT_MJR_VERSION= 1.8
22 COMPONENT_MNR_VERSION= 0
23 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION)
24 COMPONENT_PROJECT_URL= https://live.gnome.org/JsonGlib
25 COMPONENT_SUMMARY= JSON parser library for GLib
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:97ef5eb92ca811039ad50a65f06633f1aae64792789307be7170795d8b319454
29 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_FMRI= library/desktop/json-glib
31 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
32 COMPONENT_LICENSE= LGPLv2
33 COMPONENT_LICENSE_FILE= COPYING
35 include $(WS_MAKE_RULES)/common.mk
36 PATH= $(PATH.gnu)
38 CONFIGURE_OPTIONS.32 += -Dintrospection=disabled
40 # Tell g-ir-scanner about compiler
41 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
42 COMPONENT_BUILD_ENV += CC="$(CC)"
44 COMPONENT_TEST_TRANSFORMS += '-e "s/[0-9]*\.[0-9]*s/X.XXs/" '
46 # Build dependencies
47 REQUIRED_PACKAGES += data/docbook/xsl
48 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
49 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
50 REQUIRED_PACKAGES += library/libxslt
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/glib2
54 REQUIRED_PACKAGES += system/library