From 6d656ff64fdf79315aca4dfbeaa7d6675991564d Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Tue, 28 Sep 2010 23:45:53 +0000 Subject: Version bumped. Package-Manager: portage-2.1.9.10/cvs/Linux x86_64 --- app-i18n/ibus-mozc/ChangeLog | 10 ++- app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild | 73 ---------------- app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild | 82 ----------------- app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild | 88 ------------------- app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild | 88 ------------------- app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild | 107 ----------------------- app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild | 107 +++++++++++++++++++++++ 7 files changed, 116 insertions(+), 439 deletions(-) delete mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild delete mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild delete mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild delete mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild delete mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild create mode 100644 app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild (limited to 'app-i18n') diff --git a/app-i18n/ibus-mozc/ChangeLog b/app-i18n/ibus-mozc/ChangeLog index 969dae9c5e73..4df413c335a8 100644 --- a/app-i18n/ibus-mozc/ChangeLog +++ b/app-i18n/ibus-mozc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-i18n/ibus-mozc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ChangeLog,v 1.7 2010/09/15 17:33:27 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ChangeLog,v 1.8 2010/09/28 23:45:53 matsuu Exp $ + +*ibus-mozc-0.13.481.102 (27 Sep 2010) + + 27 Sep 2010; MATSUU Takuto + -ibus-mozc-0.11.365.102.ebuild, -ibus-mozc-0.11.383.102.ebuild, + -ibus-mozc-0.12.402.102.ebuild, -ibus-mozc-0.12.410.102.ebuild, + -ibus-mozc-0.12.422.102.ebuild, +ibus-mozc-0.13.481.102.ebuild: + Version bumped. Removed old versions. *ibus-mozc-0.13.464.102 (14 Sep 2010) diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild deleted file mode 100644 index 42fb0a356b9a..000000000000 --- a/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild,v 1.1 2010/06/11 23:50:08 matsuu Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit eutils multilib python toolchain-funcs - -MY_P="mozc-${PV}" -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ibus qt4" - -RDEPEND="dev-libs/glib:2 - dev-libs/protobuf - net-misc/curl - sys-libs/zlib - ibus? ( >=app-i18n/ibus-1.2 ) - qt4? ( x11-libs/qt-gui:4 )" -DEPEND="${RDEPEND} - dev-util/gtest - dev-util/pkgconfig" - -S="${WORKDIR}/mozc" - -BUILDTYPE="${BUILDTYPE:-Release}" - -pkg_setup() { - python_set_active_version 2 -} - -src_prepare() { - sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die - epatch "${FILESDIR}/${P}-gentoo.patch" -} - -src_configure() { - "$(PYTHON)" build_mozc.py gyp --gypdir=third_party/gyp || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - export QTDIR="${EPREFIX}/usr" - - local mytarget="server/server.gyp:mozc_server" - use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" - use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die -} - -src_install() { - if use ibus ; then - exeinto /usr/libexec || die - newexe "out/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die - insinto /usr/share/ibus/component || die - doins unix/ibus/mozc.xml || die - fi - - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out/${BUILDTYPE}/mozc_server" || die - - if use qt4 ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out/${BUILDTYPE}/mozc_tool" || die - fi -} diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild deleted file mode 100644 index 640d8c14884c..000000000000 --- a/app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.11.383.102.ebuild,v 1.1 2010/06/17 17:23:04 matsuu Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit eutils multilib python toolchain-funcs - -MY_P="mozc-${PV}" -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ibus scim qt4" - -RDEPEND="dev-libs/glib:2 - dev-libs/protobuf - net-misc/curl - sys-libs/zlib - ibus? ( >=app-i18n/ibus-1.2 ) - scim? ( app-i18n/scim ) - qt4? ( x11-libs/qt-gui:4 )" -DEPEND="${RDEPEND} - dev-util/gtest - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -BUILDTYPE="${BUILDTYPE:-Release}" - -pkg_setup() { - python_set_active_version 2 -} - -src_prepare() { - sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die - epatch "${FILESDIR}/${PN}-0.11.365.102-gentoo.patch" -} - -src_configure() { - "$(PYTHON)" build_mozc.py gyp --gypdir=third_party/gyp || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - export QTDIR="${EPREFIX}/usr" - - local mytarget="server/server.gyp:mozc_server" - use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" - use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" - use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die -} - -src_install() { - if use ibus ; then - exeinto /usr/libexec || die - newexe "out/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die - insinto /usr/share/ibus/component || die - doins unix/ibus/mozc.xml || die - fi - - if use scim ; then - exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die - newexe "out/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die - exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die - newexe "out/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die - fi - - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out/${BUILDTYPE}/mozc_server" || die - - if use qt4 ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out/${BUILDTYPE}/mozc_tool" || die - fi -} diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild deleted file mode 100644 index 2a9789234206..000000000000 --- a/app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.12.402.102.ebuild,v 1.1 2010/07/01 22:59:02 matsuu Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit eutils multilib python toolchain-funcs - -MY_P="${P/ibus-}" -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ibus scim qt4" - -RDEPEND="dev-libs/glib:2 - dev-libs/protobuf - net-misc/curl - sys-libs/zlib - ibus? ( >=app-i18n/ibus-1.2 ) - scim? ( app-i18n/scim ) - qt4? ( x11-libs/qt-gui:4 )" -DEPEND="${RDEPEND} - dev-util/gtest - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -BUILDTYPE="${BUILDTYPE:-Release}" - -RESTRICT="test" - -pkg_setup() { - python_set_active_version 2 -} - -src_prepare() { - sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die - epatch "${FILESDIR}/${PN}-0.11.365.102-gentoo.patch" -} - -src_configure() { - "$(PYTHON)" build_mozc.py gyp || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - export QTDIR="${EPREFIX}/usr" - - local mytarget="server/server.gyp:mozc_server" - use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" - use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" - use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die -} - -src_test() { - "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die -} - -src_install() { - if use ibus ; then - exeinto /usr/libexec || die - newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die - insinto /usr/share/ibus/component || die - doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die - fi - - if use scim ; then - exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die - exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die - fi - - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_server" || die - - if use qt4 ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_tool" || die - fi -} diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild deleted file mode 100644 index 776f4f0cf01c..000000000000 --- a/app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.12.410.102.ebuild,v 1.1 2010/07/13 23:39:33 matsuu Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit eutils multilib python toolchain-funcs - -MY_P="${P/ibus-}" -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ibus scim qt4" - -RDEPEND="dev-libs/glib:2 - dev-libs/protobuf - net-misc/curl - sys-libs/zlib - ibus? ( >=app-i18n/ibus-1.2 ) - scim? ( app-i18n/scim ) - qt4? ( x11-libs/qt-gui:4 )" -DEPEND="${RDEPEND} - dev-util/gtest - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -BUILDTYPE="${BUILDTYPE:-Release}" - -RESTRICT="test" - -pkg_setup() { - python_set_active_version 2 -} - -src_prepare() { - sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die - epatch "${FILESDIR}/${PN}-0.11.365.102-gentoo.patch" -} - -src_configure() { - "$(PYTHON)" build_mozc.py gyp || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - export QTDIR="${EPREFIX}/usr" - - local mytarget="server/server.gyp:mozc_server" - use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" - use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" - use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die -} - -src_test() { - "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die -} - -src_install() { - if use ibus ; then - exeinto /usr/libexec || die - newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die - insinto /usr/share/ibus/component || die - doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die - fi - - if use scim ; then - exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die - exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die - fi - - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_server" || die - - if use qt4 ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_tool" || die - fi -} diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild deleted file mode 100644 index b938b3308943..000000000000 --- a/app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.12.422.102.ebuild,v 1.1 2010/07/29 17:29:33 matsuu Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit eutils multilib python toolchain-funcs - -MY_P="${P/ibus-}" -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ibus scim qt4" - -RDEPEND="dev-libs/glib:2 - dev-libs/protobuf - net-misc/curl - sys-libs/zlib - ibus? ( >=app-i18n/ibus-1.2 ) - scim? ( app-i18n/scim ) - qt4? ( x11-libs/qt-gui:4 )" -DEPEND="${RDEPEND} - dev-util/gtest - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_P}" - -BUILDTYPE="${BUILDTYPE:-Release}" - -RESTRICT="test" - -pkg_setup() { - python_set_active_version 2 -} - -src_prepare() { - sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die - epatch "${FILESDIR}/${PN}-0.11.365.102-gentoo.patch" -} - -src_configure() { - "$(PYTHON)" build_mozc.py gyp || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - export QTDIR="${EPREFIX}/usr" - - local mytarget="server/server.gyp:mozc_server" - use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" - use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" - use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die -} - -src_test() { - "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die -} - -src_install() { - if use ibus ; then - exeinto /usr/libexec || die - newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die - insinto /usr/share/ibus/component || die - doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die - insinto /usr/share/ibus-mozc || die - ( - cd data/images/unix - newins ime_product_icon_opensource-32.png product_icon.png || die - for f in ui-* - do - newins ${f} ${f/ui-} || die - done - ) - - fi - - if use scim ; then - exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die - exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die - newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die - insinto "$(pkg-config --variable=icondir scim)" || die - ( - cd data/images/unix - newins ime_product_icon_opensource-32.png scim-mozc.png || die - for f in ui-* - do - newins ${f} ${f/ui-/scim-mozc-} || die - done - ) - fi - - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_server" || die - - if use qt4 ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_tool" || die - fi -} diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild new file mode 100644 index 000000000000..43a91469261a --- /dev/null +++ b/app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.13.481.102.ebuild,v 1.1 2010/09/28 23:45:53 matsuu Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +inherit eutils multilib python toolchain-funcs + +MY_P="${P/ibus-}" +DESCRIPTION="The Mozc engine for IBus Framework" +HOMEPAGE="http://code.google.com/p/mozc/" +SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ibus scim qt4" + +RDEPEND="dev-libs/glib:2 + dev-libs/protobuf + net-misc/curl + sys-libs/zlib + ibus? ( >=app-i18n/ibus-1.2 ) + scim? ( app-i18n/scim ) + qt4? ( x11-libs/qt-gui:4 )" +DEPEND="${RDEPEND} + dev-util/gtest + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +BUILDTYPE="${BUILDTYPE:-Release}" + +RESTRICT="test" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die + epatch "${FILESDIR}/${PN}-0.11.365.102-gentoo.patch" +} + +src_configure() { + "$(PYTHON)" build_mozc.py gyp || die "gyp failed" +} + +src_compile() { + tc-export CC CXX AR AS RANLIB LD + export QTDIR="${EPREFIX}/usr" + + local mytarget="server/server.gyp:mozc_server" + use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" + use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" + use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool" + + "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die + "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die +} + +src_test() { + "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die +} + +src_install() { + if use ibus ; then + exeinto /usr/libexec || die + newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die + insinto /usr/share/ibus/component || die + doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die + insinto /usr/share/ibus-mozc || die + ( + cd data/images/unix + newins ime_product_icon_opensource-32.png product_icon.png || die + for f in ui-* + do + newins ${f} ${f/ui-} || die + done + ) + + fi + + if use scim ; then + exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die + newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die + exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die + newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die + insinto "$(pkg-config --variable=icondir scim)" || die + ( + cd data/images/unix + newins ime_product_icon_opensource-32.png scim-mozc.png || die + for f in ui-* + do + newins ${f} ${f/ui-/scim-mozc-} || die + done + ) + fi + + exeinto "/usr/$(get_libdir)/mozc" || die + doexe "out_linux/${BUILDTYPE}/mozc_server" || die + + if use qt4 ; then + exeinto "/usr/$(get_libdir)/mozc" || die + doexe "out_linux/${BUILDTYPE}/mozc_tool" || die + fi +} -- cgit v1.2.3-65-gdbad