diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-10 05:25:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-10 05:25:01 +0000 |
commit | 456dbeaab3e2f71f527eae542ab44d1e372b0655 (patch) | |
tree | 5cee708ec6e4b4e530a4337e7389598dc7cd6144 /app-i18n/mozc | |
parent | 65737cf14a7220bd9a487aa2af4ae0e79bd23e86 (diff) |
gentoo resync : 10.01.2018
Diffstat (limited to 'app-i18n/mozc')
-rw-r--r-- | app-i18n/mozc/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/mozc/mozc-2.20.2673.102.ebuild | 21 | ||||
-rw-r--r-- | app-i18n/mozc/mozc-9999.ebuild | 22 |
3 files changed, 33 insertions, 14 deletions
diff --git a/app-i18n/mozc/Manifest b/app-i18n/mozc/Manifest index 2953b006b3b2..385e9e1313bf 100644 --- a/app-i18n/mozc/Manifest +++ b/app-i18n/mozc/Manifest @@ -6,6 +6,6 @@ AUX mozc-2.20.2673.102-tests_skipping.patch 2086 BLAKE2B a104d6a83b02b49e1208be1 DIST fcitx-mozc-2.18.2612.102.1.patch 140722 BLAKE2B a412b8dd94bcf44f7fd946bcc1072f3dde7d8d8da55d3ad04ef5d8ef851a63f4d4d8e7e6249172a9d1e75e1f1672e32e6a673e6016d94b034f80d23b660a80e2 SHA512 725c464727f230707b90975705ef1565f1178f9144e66c5a688696a4ef520a6fec1d11f7aa68ee05f82aa9417060b1cccf49a155e30734871a525eaa4c76addb DIST japanese-usage-dictionary-20120416091336.tar.gz 71051 BLAKE2B 08eecf0aa021e27a2813f58c2d37f1cec760448f6ae086ae7468b8a11575c6ef9f72f656cb4d53e0179b8a7b00f2d91ff51a0ad7825e078dcbac0810f1d8b3e1 SHA512 b7e997a979b6d50e49b9af5dc830ea4df0532f6ab1321b9ef14983f65bb54f1b2967375c82e07957ae7693ebbf43c9b56ecea6bfea8dd1fdaee444bd549d83a7 DIST mozc-2.20.2673.102.tar.gz 48624369 BLAKE2B 0d80065f989c1f61e5f2852e7f471dd83777323b21499c118dc87f4fd6596329ab096dd64db3419895090ab61d6aef9a07e61c7fddeaf4f3a40ce3f3acbad949 SHA512 ad7a78b03b29847057625fd5422c03ac8fc5755c5e85c66fd6e80f81be719dd56bf1349a1d745797118deed239641512789687b4f9ffe49bab1bc966385229ae -EBUILD mozc-2.20.2673.102.ebuild 8980 BLAKE2B 2710a6125bf373325faed28df812781492b112fbeca02690c5bb9fd8923ed6108f574ca1497a65d2da199be15635739289232f2b1e0d8cff2441d2f34d5b3f9e SHA512 658afe79f1121d4d920e908743fe3a21ee9529f054a1ec0c74baf304a67ae2549ef81f7ef475a5fcf5072efa67635a0f4db5fa3fb27c2d3e255fdefe00737e1c -EBUILD mozc-9999.ebuild 8875 BLAKE2B 5179d521536751f60166385d90c9862c50ad871bc2592ec2072788b289a3579a55bfcd929a4ff05fcffa21d563b3d5f605d259839dd35a3090b28fc58a262af2 SHA512 325c139315a060116f1ae64f88c93bcc191000a0ec06717e3adb359e624b02f7ad334c806b1b01147c233337ee247f5b53122f7287299e3bb12700b2e812729e +EBUILD mozc-2.20.2673.102.ebuild 9271 BLAKE2B a5cbd77595500d0c66b6871ebf9177c183a015396ee51388d79f2693d1681a046eeca1e39f7549a6c617dd3a319a72b386f9022a8b6e603bd0fe456bb12d446f SHA512 8b24b700137299bf6626e3cc0e4d140b364e126383e51336fe3e718fa720453cdda2a6c099bba093b22e5aa6bd9f6b8490a50f96af3bacfcce6a5a87d952fd33 +EBUILD mozc-9999.ebuild 9204 BLAKE2B 5faf12f397fb5d6cd536216759281583417d41ff3e27fc35468015fd95e2ee0b234d3bed6032b8adef9c0750b171a6a2508e1fe38ca14ed76cda4ace193a474a SHA512 d8be6dd3690e2912ff1c5f744b9b04371f073840648de8927caa787c2495a2ae07e4aa63c0108c823c3b105a10aa2a3ed17fa09cbef6394246eafa0f49ae80c6 MISC metadata.xml 1127 BLAKE2B 55c44374c1d0c03845435544fb8bcd254bfa59faa54e773110fe2a9bcfba0f6863a1f5c167e3ca7d2a1108e566ae4d7d4155a1a1994bef006bbde906265fffe1 SHA512 8d1ee79d5e359c746627cc10ddae170088dd1be8a69379f60969e588c0c6141fea80ebcba0183a91e786116e8937c14e76888c9232526244aab584ed4ef27a54 diff --git a/app-i18n/mozc/mozc-2.20.2673.102.ebuild b/app-i18n/mozc/mozc-2.20.2673.102.ebuild index ee84afb7d91f..907a92420d3a 100644 --- a/app-i18n/mozc/mozc-2.20.2673.102.ebuild +++ b/app-i18n/mozc/mozc-2.20.2673.102.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -15,19 +15,18 @@ else MOZC_GIT_REVISION="280e38fe3d9db4df52f0713acf2ca65898cd697a" JAPANESE_USAGE_DICTIONARY_GIT_REVISION="e5b3425575734c323e1d947009dd74709437b684" JAPANESE_USAGE_DICTIONARY_DATE="20120416091336" + FCITX_PATCH_VERSION="2.18.2612.102.1" fi -FCITX_PATCH_VERSION="2.18.2612.102.1" - DESCRIPTION="Mozc - Japanese input method editor" HOMEPAGE="https://github.com/google/mozc" if [[ "${PV}" == "9999" ]]; then SRC_URI="" else SRC_URI="https://github.com/google/${PN}/archive/${MOZC_GIT_REVISION}.tar.gz -> ${P}.tar.gz - https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz" + https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz + fcitx4? ( https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${FCITX_PATCH_VERSION}.patch )" fi -SRC_URI+=" fcitx4? ( https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${FCITX_PATCH_VERSION}.patch )" # Mozc: BSD # src/data/dictionary_oss: ipadic, public-domain @@ -83,6 +82,12 @@ execute() { src_unpack() { if [[ "${PV}" == "9999" ]]; then git-r3_src_unpack + + if use fcitx4; then + local EGIT_SUBMODULES=() + git-r3_fetch https://github.com/fcitx/mozc refs/heads/fcitx + git-r3_checkout https://github.com/fcitx/mozc "${WORKDIR}/fcitx-mozc" + fi else unpack ${P}.tar.gz mv mozc-${MOZC_GIT_REVISION} ${P} || die @@ -99,7 +104,11 @@ src_prepare() { eapply -p2 "${FILESDIR}/${PN}-2.20.2673.102-tests_skipping.patch" if use fcitx4; then - eapply -p2 "${DISTDIR}/fcitx-mozc-${FCITX_PATCH_VERSION}.patch" + if [[ "${PV}" == "9999" ]]; then + cp -pr "${WORKDIR}/fcitx-mozc/src/unix/fcitx" unix || die + else + eapply -p2 "${DISTDIR}/fcitx-mozc-${FCITX_PATCH_VERSION}.patch" + fi fi eapply_user diff --git a/app-i18n/mozc/mozc-9999.ebuild b/app-i18n/mozc/mozc-9999.ebuild index 35e9ab69f408..388857a1862e 100644 --- a/app-i18n/mozc/mozc-9999.ebuild +++ b/app-i18n/mozc/mozc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -15,19 +15,18 @@ else MOZC_GIT_REVISION="" JAPANESE_USAGE_DICTIONARY_GIT_REVISION="" JAPANESE_USAGE_DICTIONARY_DATE="" + FCITX_PATCH_VERSION="" fi -FCITX_PATCH_VERSION="2.18.2612.102.1" - DESCRIPTION="Mozc - Japanese input method editor" HOMEPAGE="https://github.com/google/mozc" if [[ "${PV}" == "9999" ]]; then SRC_URI="" else SRC_URI="https://github.com/google/${PN}/archive/${MOZC_GIT_REVISION}.tar.gz -> ${P}.tar.gz - https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz" + https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JAPANESE_USAGE_DICTIONARY_GIT_REVISION}.tar.gz -> japanese-usage-dictionary-${JAPANESE_USAGE_DICTIONARY_DATE}.tar.gz + fcitx4? ( https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${FCITX_PATCH_VERSION}.patch )" fi -SRC_URI+=" fcitx4? ( https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${FCITX_PATCH_VERSION}.patch )" # Mozc: BSD # src/data/dictionary_oss: ipadic, public-domain @@ -83,6 +82,12 @@ execute() { src_unpack() { if [[ "${PV}" == "9999" ]]; then git-r3_src_unpack + + if use fcitx4; then + local EGIT_SUBMODULES=() + git-r3_fetch https://github.com/fcitx/mozc refs/heads/fcitx + git-r3_checkout https://github.com/fcitx/mozc "${WORKDIR}/fcitx-mozc" + fi else unpack ${P}.tar.gz mv mozc-${MOZC_GIT_REVISION} ${P} || die @@ -99,7 +104,11 @@ src_prepare() { eapply -p2 "${FILESDIR}/${PN}-2.20.2673.102-tests_skipping.patch" if use fcitx4; then - eapply -p2 "${DISTDIR}/fcitx-mozc-${FCITX_PATCH_VERSION}.patch" + if [[ "${PV}" == "9999" ]]; then + cp -pr "${WORKDIR}/fcitx-mozc/src/unix/fcitx" unix || die + else + eapply -p2 "${DISTDIR}/fcitx-mozc-${FCITX_PATCH_VERSION}.patch" + fi fi eapply_user @@ -157,6 +166,7 @@ src_configure() { gyp_arguments+=(-D compiler_host=unknown -D compiler_target=unknown) fi + gyp_arguments+=(-D use_fcitx=$(usex fcitx4 YES NO)) gyp_arguments+=(-D use_libgtest=$(usex test 1 0)) gyp_arguments+=(-D use_libibus=$(usex ibus 1 0)) gyp_arguments+=(-D use_libjsoncpp=$(usex test 1 0)) |