summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2010-07-04 11:09:26 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2010-07-04 11:09:26 +0900
commitd9411bcc7181e5162e713f411626441fe1418130 (patch)
treeb666af51fd40bea47b20275b50e651957a797fee
parentapp-backup/nautilus-dropbox: Version bumped. (diff)
downloadmatsuu-d9411bcc7181e5162e713f411626441fe1418130.tar.gz
matsuu-d9411bcc7181e5162e713f411626441fe1418130.tar.bz2
matsuu-d9411bcc7181e5162e713f411626441fe1418130.zip
moved to gentoo-x86 portage tree.
-rw-r--r--app-i18n/ibus-mozc/Manifest1
-rw-r--r--app-i18n/ibus-mozc/ibus-mozc-9999.ebuild95
2 files changed, 0 insertions, 96 deletions
diff --git a/app-i18n/ibus-mozc/Manifest b/app-i18n/ibus-mozc/Manifest
deleted file mode 100644
index 8a1581c..0000000
--- a/app-i18n/ibus-mozc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-EBUILD ibus-mozc-9999.ebuild 2571 RMD160 ef47f4f7604cb7677ac22f0d8100eea2efc35804 SHA1 58621284f3565a2c221f2291c840c9429f56d2a0 SHA256 93b84cc271bb1e06c0c856eec3644185f9eb7111e024d517ba418f31b0b0f44d
diff --git a/app-i18n/ibus-mozc/ibus-mozc-9999.ebuild b/app-i18n/ibus-mozc/ibus-mozc-9999.ebuild
deleted file mode 100644
index bb0b7b8..0000000
--- a/app-i18n/ibus-mozc/ibus-mozc-9999.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-PYTHON_DEPEND="2"
-inherit multilib python subversion toolchain-funcs
-
-DESCRIPTION="The Mozc engine for IBus Framework"
-HOMEPAGE="http://code.google.com/p/mozc/"
-# subversion eclass fetches gclient, which will then fetch mozc itself
-ESVN_REPO_URI="http://src.chromium.org/svn/trunk/tools/depot_tools"
-EGCLIENT_REPO_URI="http://mozc.googlecode.com/svn/trunk/src"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=app-i18n/ibus-1.2
- dev-libs/glib:2
- dev-libs/protobuf
- net-misc/curl
- sys-libs/zlib
- x11-libs/qt-gui:4"
-DEPEND="${RDEPEND}
- dev-util/gtest"
-
-BUILDTYPE="${BUILDTYPE:-Release}"
-
-pkg_setup() {
- python_set_active_version 2
-}
-
-src_unpack() {
- subversion_src_unpack
- mv "${S}" "${WORKDIR}"/depot_tools
-
- # Most subversion checks and configurations were already run
- EGCLIENT="${WORKDIR}"/depot_tools/gclient
- cd "${ESVN_STORE_DIR}" || die "gclient: can't chdir to ${ESVN_STORE_DIR}"
-
- if [[ ! -d ${PN} ]]; then
- mkdir -p "${PN}" || die "gclient: can't mkdir ${PN}."
- fi
-
- cd "${PN}" || die "gclient: can't chdir to ${PN}"
-
- if [[ ! -f .gclient ]]; then
- einfo "gclient config -->"
- ${EGCLIENT} config ${EGCLIENT_REPO_URI} || die "gclient: error creating config"
- fi
-
- einfo "gclient sync start -->"
- einfo " repository: ${EGCLIENT_REPO_URI}"
- ${EGCLIENT} sync || die "gclient: can't fetch to ${PN} from ${EGCLIENT_REPO_URI}."
- einfo " working copy: ${ESVN_STORE_DIR}/${PN}"
-
- mkdir -p "${S}"
- rsync -rlpgo --exclude=".svn/" src/ "${S}" || die "gclient: can't export to ${S}."
-}
-
-src_prepare() {
- sed -i -e "s:/usr/lib/mozc:/usr/$(get_libdir)/mozc:" base/util.cc || die
-}
-
-src_configure() {
- export HOME="${S}"
- export BUILD_COMMAND="emake"
- "$(PYTHON)" build_mozc.py gyp || die "gyp failed"
-}
-
-src_compile() {
- CFLAGS="" CXXFLAGS="" "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die
-
- export CXX="$(tc-getCXX)"
- export CC="$(tc-getCC)"
- export AR="$(tc-getAR)"
- export AS="$(tc-getAS)"
- export RANLIB="$(tc-getRANLIB)"
- export LD="$(tc-getLD)"
- "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" \
- unix/ibus/ibus.gyp:ibus_mozc \
- server/server.gyp:mozc_server \
- gui/gui.gyp:mozc_tool || die
-}
-
-src_install() {
- exeinto /usr/libexec || die
- newexe "out/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die
- exeinto "/usr/$(get_libdir)/mozc" || die
- doexe "out/${BUILDTYPE}/mozc_server" "out/${BUILDTYPE}/mozc_tool" || die
- insinto /usr/share/ibus/component || die
- doins unix/ibus/mozc.xml || die
-}