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 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
39 COMPONENT_PREP_ACTION
= ( \
41 libtoolize
--copy
--force && \
44 automake
-c
-f
-a
&& \
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