python/virtualenv: update to 20.29.1
[oi-userland.git] / components / library / libxklavier / Makefile
blobb31690e041924eb0da85d83db2385788ca625187
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
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libxklavier
19 COMPONENT_VERSION= 5.4
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= XKB utility library
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:a30b302f3490e6423d21844dae4411a38e9c9d4f5196df571bc8276a03a53e63
26 COMPONENT_ARCHIVE_URL= \
27 https://cgit.freedesktop.org/libxklavier/snapshot/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = https://www.freedesktop.org/wiki/Software/LibXklavier/
29 COMPONENT_FMRI= library/desktop/libxklavier
30 COMPONENT_CLASSIFICATION= System/Libraries
31 COMPONENT_LICENSE = LGPLv2
32 COMPONENT_LICENSE_FILE = COPYING.LIB
34 include $(WS_MAKE_RULES)/prep.mk
35 include $(WS_MAKE_RULES)/configure.mk
36 include $(WS_MAKE_RULES)/ips.mk
38 PATH=$(PATH.gnu)
40 COMPONENT_PREP_ACTION = ( cd $(@D) && NOCONFIGURE=1 ./autogen.sh )
42 # Missing files in build dir without this.
43 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
45 CONFIGURE_OPTIONS += --sysconfdir=/etc
46 CONFIGURE_OPTIONS += --disable-static
47 CONFIGURE_OPTIONS += --enable-gtk-doc
49 # CFLAGS are not passed to compiler when g-ir-scanner is used
50 COMPONENT_BUILD_ENV += CC="$(CC)"
51 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
53 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
55 build: $(BUILD_32_and_64)
57 install: $(INSTALL_32_and_64)
59 test: $(NO_TESTS)
61 # Build dependencies
62 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
64 # Auto-generated dependencies
65 REQUIRED_PACKAGES += library/glib2
66 REQUIRED_PACKAGES += library/libxml2
67 REQUIRED_PACKAGES += system/library
68 REQUIRED_PACKAGES += x11/library/libx11
69 REQUIRED_PACKAGES += x11/library/libxi
70 REQUIRED_PACKAGES += x11/library/libxkbfile