diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-08-05 23:14:14 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-08-05 23:14:14 +0000 |
commit | 459b50d48e3bc4b14ee39d92081df4f66b150f17 (patch) | |
tree | b6f4f9a530ba4f66d5b5a898f54fd12013442cfe /app-i18n/scim-bridge | |
parent | Mark stable on PPC64, as requested in bug #187790. Tested on a PowerMac 7,3 (... (diff) | |
download | gentoo-2-459b50d48e3bc4b14ee39d92081df4f66b150f17.tar.gz gentoo-2-459b50d48e3bc4b14ee39d92081df4f66b150f17.tar.bz2 gentoo-2-459b50d48e3bc4b14ee39d92081df4f66b150f17.zip |
Added qt4 USE flag.
(Portage version: 2.1.2.11)
Diffstat (limited to 'app-i18n/scim-bridge')
-rw-r--r-- | app-i18n/scim-bridge/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/scim-bridge/files/digest-scim-bridge-0.4.13-r1 | 3 | ||||
-rw-r--r-- | app-i18n/scim-bridge/scim-bridge-0.4.13-r1.ebuild | 71 |
3 files changed, 81 insertions, 1 deletions
diff --git a/app-i18n/scim-bridge/ChangeLog b/app-i18n/scim-bridge/ChangeLog index 459ee35234b8..18adb7a77da2 100644 --- a/app-i18n/scim-bridge/ChangeLog +++ b/app-i18n/scim-bridge/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/scim-bridge # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.14 2007/07/16 16:51:35 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-bridge/ChangeLog,v 1.15 2007/08/05 23:14:14 matsuu Exp $ + +*scim-bridge-0.4.13-r1 (05 Aug 2007) + + 05 Aug 2007; MATSUU Takuto <matsuu@gentoo.org> + +scim-bridge-0.4.13-r1.ebuild: + Added qt4 USE flag. *scim-bridge-0.4.13 (16 Jul 2007) diff --git a/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.13-r1 b/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.13-r1 new file mode 100644 index 000000000000..2b89bef99c1f --- /dev/null +++ b/app-i18n/scim-bridge/files/digest-scim-bridge-0.4.13-r1 @@ -0,0 +1,3 @@ +MD5 32e2cff6a239e62c2de51075d4c512d9 scim-bridge-0.4.13.tar.gz 525972 +RMD160 d9736192c88ec6413a60e933866b607c8b6963d9 scim-bridge-0.4.13.tar.gz 525972 +SHA256 e18f711a84f3fd20b9465f7ac4aa7c0ae3fa84539b7e7161e9a0ae8bbc100bfe scim-bridge-0.4.13.tar.gz 525972 diff --git a/app-i18n/scim-bridge/scim-bridge-0.4.13-r1.ebuild b/app-i18n/scim-bridge/scim-bridge-0.4.13-r1.ebuild new file mode 100644 index 000000000000..e2e7737599c6 --- /dev/null +++ b/app-i18n/scim-bridge/scim-bridge-0.4.13-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 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.13-r1.ebuild,v 1.1 2007/08/05 23:14:14 matsuu Exp $ + +inherit eutils qt3 qt4 + +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 ~sparc ~x86" +IUSE="doc gtk qt3 qt4" + +DEPEND=">=app-i18n/scim-1.4.6 + gtk? ( + >=x11-libs/gtk+-2.2 + >=x11-libs/pango-1.1 + ) + qt3? ( + $(qt_min_version 3.3.4) + >=x11-libs/pango-1.1 + ) + qt4? ( + $(qt4_min_version 4.0.0) + >=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 qt4 qt4-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() { + elog + elog "If you would like to use ${PN} as default instead of scim, set" + elog " $ export GTK_IM_MODULE=scim-bridge" + elog " $ export QT_IM_MODULE=scim-bridge" + elog + [ -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" +} |