| OLD | NEW |
| 1 # Copyright 1999-2009 Gentoo Foundation | 1 # Copyright 1999-2009 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 |
| 4 EAPI="2" | 4 EAPI="2" |
| 5 inherit eutils multilib python | 5 inherit eutils multilib python |
| 6 | 6 |
| 7 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" | 7 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
| 8 HOMEPAGE="http://code.google.com/p/ibus/" | 8 HOMEPAGE="http://code.google.com/p/ibus/" |
| 9 | 9 |
| 10 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" | 10 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 pkg_setup() { | 35 pkg_setup() { |
| 36 # An arch specific config directory is used on multilib systems | 36 # An arch specific config directory is used on multilib systems |
| 37 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" | 37 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
| 38 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} | 38 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} |
| 39 } | 39 } |
| 40 | 40 |
| 41 src_prepare() { | 41 src_prepare() { |
| 42 epatch "${FILESDIR}/ibus-chromiumos.patch" | 42 epatch "${FILESDIR}/ibus-chromiumos.patch" |
| 43 epatch "${FILESDIR}/Add-api-to-ibus-for-retreiving-unused-config-values.patch" | 43 epatch "${FILESDIR}/Add-api-to-ibus-for-retreiving-unused-config-values.patch" |
| 44 epatch "${FILESDIR}/Fix-property-issue.patch" | 44 epatch "${FILESDIR}/Fix-property-issue.patch" |
| 45 # Do not create a new process group so session manager could kill ibus daemons |
| 46 epatch "${FILESDIR}/ibus-1.3.7-no-create-new-process-group.patch" |
| 45 } | 47 } |
| 46 | 48 |
| 47 src_configure() { | 49 src_configure() { |
| 48 econf \ | 50 econf \ |
| 49 --disable-gconf \ | 51 --disable-gconf \ |
| 50 --disable-key-snooper \ | 52 --disable-key-snooper \ |
| 51 --enable-memconf \ | 53 --enable-memconf \ |
| 52 --disable-vala \ | 54 --disable-vala \ |
| 53 --enable-introspection=no \ | 55 --enable-introspection=no \ |
| 54 $(use_enable doc gtk-doc) \ | 56 $(use_enable doc gtk-doc) \ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 102 } |
| 101 | 103 |
| 102 pkg_postrm() { | 104 pkg_postrm() { |
| 103 [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ | 105 [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ |
| 104 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules
" | 106 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules
" |
| 105 | 107 |
| 106 if use python; then | 108 if use python; then |
| 107 python_mod_cleanup /usr/share/${PN} | 109 python_mod_cleanup /usr/share/${PN} |
| 108 fi | 110 fi |
| 109 } | 111 } |
| OLD | NEW |