summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2010-05-28 08:50:48 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2010-05-28 09:05:46 +0900
commitf3994ff15ecc0413fcab87277c1f0e08b30b11d8 (patch)
tree269f20625d164e58e513fd2c5edd93bb7a65449e
parentdev-ruby/notify: Initial import. (diff)
downloadmatsuu-f3994ff15ecc0413fcab87277c1f0e08b30b11d8.tar.gz
matsuu-f3994ff15ecc0413fcab87277c1f0e08b30b11d8.tar.bz2
matsuu-f3994ff15ecc0413fcab87277c1f0e08b30b11d8.zip
app-i18n/ibus-mozc: r25 support.
-rw-r--r--app-i18n/ibus-mozc/Manifest2
-rw-r--r--app-i18n/ibus-mozc/ibus-mozc-9999.ebuild22
2 files changed, 10 insertions, 14 deletions
diff --git a/app-i18n/ibus-mozc/Manifest b/app-i18n/ibus-mozc/Manifest
index f42569c..8a1581c 100644
--- a/app-i18n/ibus-mozc/Manifest
+++ b/app-i18n/ibus-mozc/Manifest
@@ -1 +1 @@
-EBUILD ibus-mozc-9999.ebuild 2590 RMD160 bf06c59df4e0f913cf4d8e4ddac1bc493e5c3aa4 SHA1 ce428de5737ba418a276119cad5b5742763baac1 SHA256 7e9090d88b4ce4d8a0cd1937c6b836bf0fe45f34e6bf5acf03744dbf9f9b1096
+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
index 43a5786..bb0b7b8 100644
--- a/app-i18n/ibus-mozc/ibus-mozc-9999.ebuild
+++ b/app-i18n/ibus-mozc/ibus-mozc-9999.ebuild
@@ -20,8 +20,9 @@ IUSE=""
RDEPEND=">=app-i18n/ibus-1.2
dev-libs/glib:2
dev-libs/protobuf
+ net-misc/curl
sys-libs/zlib
- net-misc/curl"
+ x11-libs/qt-gui:4"
DEPEND="${RDEPEND}
dev-util/gtest"
@@ -60,20 +61,10 @@ src_unpack() {
}
src_prepare() {
- sed -i -e "s:/lib:/$(get_libdir):g" unix/ibus/ibus.gyp || die
+ sed -i -e "s:/usr/lib/mozc:/usr/$(get_libdir)/mozc:" base/util.cc || die
}
src_configure() {
- # CFLAGS/LDFLAGS
- mkdir -p "${S}"/.gyp || die "cflags mkdir failed"
- cat << EOF > "${S}"/.gyp/include.gypi || die "cflags cat failed"
-{
- 'target_defaults': {
- 'cflags': [ '${CFLAGS// /','}' ],
- 'ldflags': [ '${LDFLAGS// /','}' ],
- },
-}
-EOF
export HOME="${S}"
export BUILD_COMMAND="emake"
"$(PYTHON)" build_mozc.py gyp || die "gyp failed"
@@ -88,12 +79,17 @@ src_compile() {
export AS="$(tc-getAS)"
export RANLIB="$(tc-getRANLIB)"
export LD="$(tc-getLD)"
- "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" unix:ibus_mozc || die
+ "$(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
}