# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2015 Alexander Pyhalov # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= libxklavier COMPONENT_VERSION= 5.4 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= XKB utility library COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= \ sha256:a30b302f3490e6423d21844dae4411a38e9c9d4f5196df571bc8276a03a53e63 COMPONENT_ARCHIVE_URL= \ https://cgit.freedesktop.org/libxklavier/snapshot/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL = https://www.freedesktop.org/wiki/Software/LibXklavier/ COMPONENT_FMRI= library/desktop/libxklavier COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_LICENSE = LGPLv2 COMPONENT_LICENSE_FILE = COPYING.LIB include $(WS_MAKE_RULES)/prep.mk include $(WS_MAKE_RULES)/configure.mk include $(WS_MAKE_RULES)/ips.mk PATH=$(PATH.gnu) COMPONENT_PREP_ACTION = ( cd $(@D) && NOCONFIGURE=1 ./autogen.sh ) # Missing files in build dir without this. COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) CONFIGURE_OPTIONS += --sysconfdir=/etc CONFIGURE_OPTIONS += --disable-static CONFIGURE_OPTIONS += --enable-gtk-doc # CFLAGS are not passed to compiler when g-ir-scanner is used COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 build: $(BUILD_32_and_64) install: $(INSTALL_32_and_64) test: $(NO_TESTS) # Build dependencies REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc # Auto-generated dependencies REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxi REQUIRED_PACKAGES += x11/library/libxkbfile