summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-12-22 17:49:50 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-12-22 17:49:50 +0000
commitc2d088878aef33ab4c3ab4fd2bf63aa1fe100249 (patch)
tree8514f4bf36059fd2be8ba5dac2b7cf8679b3943e /app-i18n/scim-bridge
parentVersion bumped. (diff)
downloadgentoo-2-c2d088878aef33ab4c3ab4fd2bf63aa1fe100249.tar.gz
gentoo-2-c2d088878aef33ab4c3ab4fd2bf63aa1fe100249.tar.bz2
gentoo-2-c2d088878aef33ab4c3ab4fd2bf63aa1fe100249.zip
Version bumped.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-i18n/scim-bridge')
-rw-r--r--app-i18n/scim-bridge/ChangeLog7
-rw-r--r--app-i18n/scim-bridge/files/digest-scim-bridge-0.4.93
-rw-r--r--app-i18n/scim-bridge/scim-bridge-0.4.9.ebuild66
3 files changed, 75 insertions, 1 deletions
diff --git a/app-i18n/scim-bridge/ChangeLog b/app-i18n/scim-bridge/ChangeLog
index cc78535515c6..959a51a4a411 100644
--- a/app-i18n/scim-bridge/ChangeLog
+++ b/app-i18n/scim-bridge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/scim-bridge
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.7 2006/12/02 07:52:04 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.8 2006/12/22 17:49:50 matsuu Exp $
+
+*scim-bridge-0.4.9 (22 Dec 2006)
+
+ 22 Dec 2006; MATSUU Takuto <matsuu@gentoo.org> +scim-bridge-0.4.9.ebuild:
+ Version bumped.
*scim-bridge-0.4.8 (02 Dec 2006)
diff --git a/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.9 b/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.9
new file mode 100644
index 000000000000..a368c4cca692
--- /dev/null
+++ b/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.9
@@ -0,0 +1,3 @@
+MD5 5997d4172e6602775e906f21eaf28552 scim-bridge-0.4.9.tar.gz 509254
+RMD160 ad135d1de043be68d1bb3eb358687da13f7e43f7 scim-bridge-0.4.9.tar.gz 509254
+SHA256 4851ee787525700960f6d6d3644d5cb99a609c231407daaf0eb7e54657e08cea scim-bridge-0.4.9.tar.gz 509254
diff --git a/app-i18n/scim-bridge/scim-bridge-0.4.9.ebuild b/app-i18n/scim-bridge/scim-bridge-0.4.9.ebuild
new file mode 100644
index 000000000000..945359580112
--- /dev/null
+++ b/app-i18n/scim-bridge/scim-bridge-0.4.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/scim-bridge-0.4.9.ebuild,v 1.1 2006/12/22 17:49:50 matsuu Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="Yet another IM-client of SCIM"
+HOMEPAGE="http://www.scim-im.org/projects/scim_bridge"
+SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+IUSE="doc gtk qt3"
+
+DEPEND=">=app-i18n/scim-1.4.0
+ gtk? (
+ >=x11-libs/gtk+-2.2
+ >=x11-libs/pango-1.1
+ )
+ qt3? (
+ $(qt_min_version 3.3.4)
+ >=x11-libs/pango-1.1
+ )
+ doc? ( app-doc/doxygen )"
+
+get_gtk_confdir() {
+ if use amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && use x86 ) ; then
+ echo "/etc/gtk-2.0/${CHOST}"
+ else
+ echo "/etc/gtk-2.0"
+ fi
+}
+
+pkg_setup() {
+ if use qt3 && ! built_with_use =x11-libs/qt-3* immqt-bc && ! built_with_use =x11-libs/qt-3* immqt; then
+ die "You need to rebuild >=x11-libs/qt-3.3.4 with immqt-bc(recommended) or immqt USE flag enabled."
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable gtk gtk2-immodule) \
+ $(use_enable qt3 qt3-immodule) \
+ $(use_enable doc documents) || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ einfo
+ einfo "If you would like to use ${PN} as default instead of scim, set"
+ einfo " $ export GTK_IM_MODULE=scim-bridge"
+ einfo " $ export QT_IM_MODULE=scim-bridge"
+ einfo
+ [ -x /usr/bin/gtk-query-immodules-2.0 ] && gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
+}
+
+pkg_postrm() {
+ [ -x /usr/bin/gtk-query-immodules-2.0 ] && gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
+}