From 51ba2ac3eb71158619c8f93a92f6c84194975383 Mon Sep 17 00:00:00 2001
From: Alexander Pyhalov <apyhalov@gmail.com>
Date: Wed, 05 Oct 2016 12:58:35 +0200
Subject: [PATCH] ibus: switch to python 2.7

---
 components/inputmethod/ibus/Makefile |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/components/inputmethod/ibus/Makefile b/components/inputmethod/ibus/Makefile
index abfb307..4a8592d 100644
--- a/components/inputmethod/ibus/Makefile
+++ b/components/inputmethod/ibus/Makefile
@@ -17,6 +17,7 @@
 
 COMPONENT_NAME= ibus
 COMPONENT_VERSION= 1.3.9
+COMPONENT_REVISION= 1
 COMPONENT_SUMMARY= iBus - Intelligent Input Bus
 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
@@ -53,6 +54,10 @@
 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/ibus/$(MACH64)
 CONFIGURE_OPTIONS.64 += --with-gtk-im-module-dir=/usr/lib/$(MACH64)/gtk-2.0/$(GTK_BIN_VER)/immodules/
 
+CONFIGURE_ENV += PYTHON="$(PYTHON)"
+CONFIGURE_ENV += am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)"
+CONFIGURE_ENV += am_cv_python_pyexecdir="$(PYTHON_VENDOR_PACKAGES)"
+
 # CFLAGS are not passed to compiler when g-ir-scanner is used
 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
 COMPONENT_BUILD_ENV += CC="$(CC)"
@@ -64,3 +69,13 @@
 install: $(INSTALL_32_and_64)
 
 test: $(TEST_32_and_64)
+
+REQUIRED_PACKAGES += SUNWcs
+REQUIRED_PACKAGES += gnome/config/gconf
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += x11/library/libx11

--
Gitblit v1.9.3