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 2017 Alexander Pyhalov
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= ibus-anthy
20 COMPONENT_VERSION
= 1.5.16
21 COMPONENT_CLASSIFICATION
=System
/Internationalization
22 COMPONENT_SUMMARY
= iBus Japanese IME
- anthy
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:15522214b58ad884acc9d9b1da13f15db7dcd76c3b18a88509046e5ec613d1ae
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/ibus
/ibus-anthy
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://github.com
/fujiwarat
/ibus-anthy
/wiki
28 COMPONENT_FMRI
= system
/input-method
/ibus
/anthy
29 COMPONENT_LICENSE
= GPL-2.0
-only
30 COMPONENT_LICENSE_FILE
= COPYING
32 # We are lacking pycotap
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 # GNU make is expected
39 # Missing files in build dir without this.
40 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
42 CONFIGURE_ENV
+= PYTHON
="$(PYTHON)"
44 # Testing needs UTF-8 locale
45 COMPONENT_TEST_ENV
+= LC_CTYPE
=C.UTF-8
47 # Manually added build dependencies
48 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
49 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pip
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= library
/glib2
53 REQUIRED_PACKAGES
+= shell/ksh93
54 REQUIRED_PACKAGES
+= system
/input-method
/library
/libanthy
55 REQUIRED_PACKAGES
+= system
/library