Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
711dea 1 #
AP 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.
6 #
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.
10 #
11
12 #
27effb 13 # Copyright 2020 Alexander Pyhalov
711dea 14 #
AP 15
27effb 16 PREFERRED_BITS=64
AP 17 BUILD_BITS= 32_and_64
bc4892 18 include ../../../../make-rules/shared-macros.mk
711dea 19
AP 20 COMPONENT_NAME= GConf
5cbd70 21 COMPONENT_VERSION= 2.32.4
d18dbb 22 COMPONENT_REVISION= 8
711dea 23 COMPONENT_SUMMARY= GNOME Configuration Framework
AP 24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
26 COMPONENT_ARCHIVE_HASH= \
5cbd70 27   sha256:46030c09422603dbb72f13b5dd592dcc01fbc13562b9e94dafb2b58982bc6b3a
711dea 28 COMPONENT_ARCHIVE_URL= \
b7ef23 29   https://download.gnome.org/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_ARCHIVE)
711dea 30 COMPONENT_PROJECT_URL = https://projects.gnome.org/gconf/
AP 31
27effb 32 TEST_TARGET= $(NO_TESTS)
711dea 33
27effb 34 include $(WS_MAKE_RULES)/common.mk
AP 35
36 PATH=$(PATH.gnu)
711dea 37
5cbd70 38 COMPONENT_PREP_ACTION = (cd $(@D) && autoreconf --install --force)
711dea 39 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
AP 40
41 CONFIGURE_SCRIPT =$(@D)/configure
42
3aa734 43 CONFIGURE_LIBEXECDIR.32  = $(CONFIGURE_PREFIX)/lib/$(MACH32)
AP 44 CONFIGURE_LIBEXECDIR.64  = $(CONFIGURE_PREFIX)/lib
45
711dea 46 CONFIGURE_OPTIONS += --sysconfdir=/etc
3aa734 47 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBEXECDIR.$(BITS))
711dea 48 CONFIGURE_OPTIONS += --enable-defaults-service=no
AP 49
50 CONFIGURE_ENV+= INTLTOOL_PERL=$(PERL)
51
52 # CFLAGS are not passed to compiler when g-ir-scanner is used
53 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
27ecb3 54 COMPONENT_BUILD_ENV += CC="$(CC)"
bc4892 55
d109a5 56 # Build dependencies
bc4892 57 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
d109a5 58 REQUIRED_PACKAGES += text/gnu-gettext
AL 59 REQUIRED_PACKAGES += text/intltool
60
61 # Auto-generated dependencies
bc4892 62 REQUIRED_PACKAGES += library/glib2
AP 63 REQUIRED_PACKAGES += library/libxml2
64 REQUIRED_PACKAGES += library/orbit2
27effb 65 REQUIRED_PACKAGES += library/python/lxml-35
AP 66 REQUIRED_PACKAGES += runtime/python-35
bc4892 67 REQUIRED_PACKAGES += system/library
AP 68 REQUIRED_PACKAGES += system/library/libdbus
69 REQUIRED_PACKAGES += system/library/libdbus-glib