1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION
="Sogou Pinyin input method."
7 HOMEPAGE
="http://pinyin.sogou.com/linux/"
8 SRC_URI
="amd64? ( http://pinyin.sogou.com/linux/download.php?f=linux&bit=64 -> ${PN}_${PV}_amd64.deb )
9 x86? ( http://pinyin.sogou.com/linux/download.php?f=linux&bit=32 -> ${PN}_${PV}_i386.deb )
14 KEYWORDS
="~amd64 ~x86"
18 RDEPEND
=">=app-i18n/fcitx-4.2.8[X]
19 !app-i18n/fcitx-qimpanel
24 dev-qt/qtdeclarative:5
28 !app-i18n/fcitx-sogoupinyin"
33 /usr/bin/sogou-sys-notify
34 /usr/bin/sogou-qimpanel-watchdog
35 /usr/bin/sogou-qimpanel
36 /usr/lib/fcitx/fcitx-sogoupinyin.so
37 /usr/lib/fcitx/fcitx-sogoucloudpinyin.so
38 /usr/lib/fcitx/fcitx-punc-ng.so
39 /usr/lib/fcitx/fcitx-fullwidth-char-enhance.so
40 /usr/lib/fcitx/fcitx-autoeng-ng.so
44 tar xf
"${WORKDIR}/data.tar.xz"
45 rm control.
tar.gz data.
tar.xz debian-binary
46 # rm -rf usr/share/fcitx-qimpanel
47 rm -rf usr
/share
/keyrings
53 insinto
/usr
/lib
/fcitx
55 doins
"${S}"/usr
/lib
/*-linux-gnu/fcitx
/*
56 dodir
/usr
/share
/mime-info
57 insinto
/usr
/share
/mime-info
58 install -D "${S}/usr/lib/mime/packages/fcitx-ui-sogou-qimpanel" fcitx-ui-sogou-qimpanel.keys
61 doins
-r "${S}"/usr
/share
/*
65 doins
"${S}"/usr
/bin
/*
66 dodir
/etc
/xdg
/autostart
67 insinto
/etc
/xdg
/autostart
68 doins
"${S}"/etc
/xdg
/autostart
/*
72 # dosym libcurl.so.4 /usr/lib/libcurl-gnutls.so.4
73 # dosym libgnutls.so /usr/lib/libgnutls.so.26
74 # dosym librtmp.so /usr/lib/librtmp.so.0
79 einfo
"After install the fcitx-sogoupinyin, a restart of fcitx is"
82 einfo
"if you see 请启用sogou-qimpanel面板程序,以便更好的享受搜狗输入法!"
83 einfo
"relogin to your desktop, or just start sogou-qimpanel"