json-glib: update to 1.10.6
[oi-userland.git] / components / library / libgsf / Makefile
blob078bb47141d2d49ae7b9abae8070f1a57847e5f1
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 2015 Alexander Pyhalov
14 # Copyright 2019 Jason Martin
15 # Copyright 2021 Andreas Wacknitz
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= libgsf
22 COMPONENT_VERSION_MAJOR= 1.14
23 COMPONENT_VERSION= $(COMPONENT_VERSION_MAJOR).53
24 COMPONENT_SUMMARY= GNOME Structured File Library
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
27 COMPONENT_ARCHIVE_HASH= sha256:0eb59a86e0c50f97ac9cfe4d8cc1969f623f2ae8c5296f2414571ff0a9e8bcba
28 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MAJOR)/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL= https://www.gnome.org
30 COMPONENT_FMRI= library/desktop/libgsf
31 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
32 COMPONENT_LICENSE= LGPLv2.1
33 COMPONENT_LICENSE_FILE= COPYING
35 include $(WS_MAKE_RULES)/common.mk
37 PATH= $(PATH.gnu)
39 COMPONENT_PREP_ACTION= ( \
40 cd $(@D) && \
41 libtoolize --copy --force && \
42 aclocal -I m4 && \
43 autoheader && \
44 automake -c -f -a && \
45 autoconf && \
46 cp /usr/share/gettext/config.rpath . )
48 # Missing files in build dir without this.
49 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
51 CONFIGURE_OPTIONS += --sysconfdir=/etc
52 CONFIGURE_OPTIONS += --disable-static
53 CONFIGURE_OPTIONS += --enable-shared
54 CONFIGURE_OPTIONS += --with-bz2
55 CONFIGURE_OPTIONS += --with-pic
56 CONFIGURE_OPTIONS += --with-zlib
57 CONFIGURE_OPTIONS += --enable-introspection
59 COMPONENT_TEST_ENV += CC=$(CC)
60 COMPONENT_TEST_ARGS= -k -i
62 # Manually added build dependencies
63 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
64 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES += compress/bzip2
68 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
69 REQUIRED_PACKAGES += library/glib2
70 REQUIRED_PACKAGES += library/libxml2
71 REQUIRED_PACKAGES += library/zlib
72 REQUIRED_PACKAGES += system/library