vim: update to 9.1.0984
[oi-userland.git] / components / library / librsvg / Makefile
blobd5bd4d776217744c0f186e352e68deff4f73bfac
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 2018 Michal Nowak
15 # Copyright 2023,2024 Friedrich Kink
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 BUILD_STYLE= meson
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= librsvg
23 COMPONENT_VERSION= 2.59.2
24 COMPONENT_REVISION= 1
25 COMPONENT_MAJOR_VERSION=$(basename $(COMPONENT_VERSION))
26 COMPONENT_SUMMARY= Library for SVG support for GNOME
27 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/LibRsvg
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
30 COMPONENT_ARCHIVE_HASH= sha256:ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597
31 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
32 COMPONENT_FMRI= image/library/librsvg
33 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
34 COMPONENT_LICENSE= LGPLv2.1
35 COMPONENT_LICENSE_FILE= COPYING.LIB
37 include $(WS_MAKE_RULES)/common.mk
39 RUST_ARCH= x86_64-unknown-illumos
40 CARGO_HOME= $(@D)/.cargo
41 # if -z ignore is added to LD_OPTIONS the build will fail
42 LD_OPTIONS=-M /usr/lib/ld/map.noexstk -M /usr/lib/ld/map.noexdata -M /usr/lib/ld/map.pagealign -Bdirect
44 PATH= $(PATH.gnu)
46 LDFLAGS= -lsocket
48 # Manually added dependencies
49 REQUIRED_PACKAGES += developer/vala
50 REQUIRED_PACKAGES += developer/cargo-c
51 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
52 REQUIRED_PACKAGES += system/library/fontconfig
53 #needed to build the man page
54 PYTHON_REQUIRED_PACKAGES += library/python/docutils
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
58 REQUIRED_PACKAGES += library/desktop/cairo
59 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
60 REQUIRED_PACKAGES += library/desktop/pango
61 REQUIRED_PACKAGES += library/glib2
62 REQUIRED_PACKAGES += library/libxml2
63 REQUIRED_PACKAGES += service/gnome/desktop-cache
64 REQUIRED_PACKAGES += system/library
65 REQUIRED_PACKAGES += system/library/math