diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2017-09-13 19:08:43 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-09-13 15:24:25 -0400 |
commit | e275f194950e7e84e97684aca1b0aa1d5a81cd18 (patch) | |
tree | 3c3cd689cc1a0d4214fcaf0b6006ce614c501a3c | |
parent | ba299d312f5965dc8ef5e7f737b5ceabc4b63bfd (diff) | |
download | gentoo-e275f194950e7e84e97684aca1b0aa1d5a81cd18.tar.gz gentoo-e275f194950e7e84e97684aca1b0aa1d5a81cd18.tar.xz |
app-i18n/fcitx: In live ebuild, avoid downloading of data during src_compile() phase.
-rw-r--r-- | app-i18n/fcitx/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/fcitx/fcitx-4.2.9.1.ebuild | 14 | ||||
-rw-r--r-- | app-i18n/fcitx/fcitx-4.2.9.2.ebuild | 14 | ||||
-rw-r--r-- | app-i18n/fcitx/fcitx-9999.ebuild | 14 |
4 files changed, 44 insertions, 3 deletions
diff --git a/app-i18n/fcitx/Manifest b/app-i18n/fcitx/Manifest index 65b175e4293..999afcc2b9c 100644 --- a/app-i18n/fcitx/Manifest +++ b/app-i18n/fcitx/Manifest @@ -1,2 +1,7 @@ DIST fcitx-4.2.9.1_dict.tar.xz 8684772 SHA256 5337c8226417a1d4e6f88b3b1048aa73695d281ed483568a7b6a9ee849ad6c77 SHA512 5d3b669ed97423f976116385571d07f832e9e18007e6a3c2aef12957219739a81fbf2343825fea4a1b01a83a6bf9e40e9ffa88466c651876602517c6da1fb25d WHIRLPOOL 02b2ff1b0c33b1f2c0461988bc3323ca27ba565a0d8a1f49b96aaceac857c07365aaaee0048d470dea82e60857bedf59ef8c60d3cdfa14a2ff074216d5cdc16d DIST fcitx-4.2.9.2_dict.tar.xz 8735848 SHA256 2cdd7c138163f717aacca8eabb18a4a823c808a408e4b0770f5be2e3e892de20 SHA512 9228fc4629479e2c518e0d0a7dbe604f6e56e864b41927d120e1f0b7a277ff53ff1b393870480bc1660662751a31885ddc1ddf43133a11edc2e96cbc7701daee WHIRLPOOL 8f19cd9f34a3957ff42e94ca7a5e28db5feecf658e9ca2535430fe6dd7a269ba9833e9273e8fd87d00a426027aebd97741c3fe909d9a0b0577ae6f64a8f4ba75 +DIST fcitx-data-en_dict-20121020.tar.gz 630491 SHA256 c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb SHA512 8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2 WHIRLPOOL 858b51723035e24756c0ece15ee28f9d25dbc86ca447c50e070f085e47b864f26201a100d3d968bcecf5711e76f99c7908eeabe7bc6d5b3b17d6cf2c53c3204b +DIST fcitx-data-pinyin.tar.gz 1608886 SHA256 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1 SHA512 1ee19eed3ee58be6cd6562ec363fe3bf630fff5e8820b3bfdd6d4618fceb082695e888dec5366a3685d58706f720e19319d891c223227237aed12674ea982131 WHIRLPOOL c5584213cab5b3729c159759909819bef42d4dba899e58df331aa12b47f5544545d9ba3f8ac7291835cb80c5e180a3a8b31360e9b9e43e4f38387b0eeee74b46 +DIST fcitx-data-py_stroke-20121124.tar.gz 445601 SHA256 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248 SHA512 d80ff9a3549e07c7a6935e686785f9a076c58f1a782a832ae28ee65e2a213d67f089f450ce09bed87ec2a141c32b9c1fcb83c221ddcab436858fa9009f161fb3 WHIRLPOOL 3b09c21b8f948538b10218bd52ed12235f8d8a1986db7c09a35de5454c89305d5ada27177c8501b6bf72324aa1824a384822a7fbb440d63ce081265b1fa34c65 +DIST fcitx-data-py_table-20121124.tar.gz 186822 SHA256 42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04 SHA512 0fa72ce6820a316e9729bc0d7a08af5ca3468134de9ff1bf0c559a398846a7bcf7313a3609d943e6bab637d930cf45ad9acfe25a8d3df078a774b071a7296486 WHIRLPOOL 43564e50722325215d250287276556fc6e8ccebd4da905fa579668658ff8e41f43a14e027f431489a9edf65691f00f6e95778acb91aed731da13b351ddf518cb +DIST fcitx-data-table.tar.gz 4144686 SHA256 6196053c724125e3ae3d8bd6b2f9172d0c83b65b0d410d3cde63b7a8d6ab87b7 SHA512 99e1d69c679355fcf3e117a1ef39b131cbd3af841387d2335757247d840b90ff6b7323e16fca98cf7a043033faf250d2e9c6d47b96845d18c278a0cf6f30fec9 WHIRLPOOL 465997dc17e88fb3130abb60e0c73564fbdb50a10de1587f5efaac4859a001b7b4aea1f0f4f6efe01ada5e8751351b7b6106a130f46d550e5dd0081dfaa780e5 diff --git a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild index 9a08d662655..9964edc0f49 100644 --- a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild +++ b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild @@ -14,7 +14,11 @@ fi DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" if [[ "${PV}" == "9999" ]]; then - SRC_URI="" + SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz + https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz + https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz + https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz + https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" fi @@ -71,6 +75,14 @@ PATCHES=( ) src_prepare() { + if [[ "${PV}" == "9999" ]]; then + ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" src/module/pinyin-enhance/data/py_table-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/module/spell/dict/en_dict-20121020.tar.gz || die + fi + # https://github.com/fcitx/fcitx/issues/250 sed \ -e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \ diff --git a/app-i18n/fcitx/fcitx-4.2.9.2.ebuild b/app-i18n/fcitx/fcitx-4.2.9.2.ebuild index 45eecfb5735..1bb5d6b08dd 100644 --- a/app-i18n/fcitx/fcitx-4.2.9.2.ebuild +++ b/app-i18n/fcitx/fcitx-4.2.9.2.ebuild @@ -14,7 +14,11 @@ fi DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" if [[ "${PV}" == "9999" ]]; then - SRC_URI="" + SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz + https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz + https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz + https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz + https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" fi @@ -70,6 +74,14 @@ PATCHES=( DOCS=(AUTHORS ChangeLog THANKS) src_prepare() { + if [[ "${PV}" == "9999" ]]; then + ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" src/module/pinyin-enhance/data/py_table-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/module/spell/dict/en_dict-20121020.tar.gz || die + fi + # https://github.com/fcitx/fcitx/issues/250 sed \ -e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \ diff --git a/app-i18n/fcitx/fcitx-9999.ebuild b/app-i18n/fcitx/fcitx-9999.ebuild index 5af39fc88f1..a3d5a977526 100644 --- a/app-i18n/fcitx/fcitx-9999.ebuild +++ b/app-i18n/fcitx/fcitx-9999.ebuild @@ -14,7 +14,11 @@ fi DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" if [[ "${PV}" == "9999" ]]; then - SRC_URI="" + SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz + https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz + https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz + https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz + https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" fi @@ -66,6 +70,14 @@ DEPEND="${RDEPEND} DOCS=(AUTHORS ChangeLog THANKS) src_prepare() { + if [[ "${PV}" == "9999" ]]; then + ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" src/module/pinyin-enhance/data/py_table-20121124.tar.gz || die + ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/module/spell/dict/en_dict-20121020.tar.gz || die + fi + # https://github.com/fcitx/fcitx/issues/250 sed \ -e "/find_package(XkbFile REQUIRED)/i\\ if(ENABLE_X11)" \ |