Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 542070
Collapse All | Expand All

(-)/usr/portage/app-i18n/mozc/mozc-2.16.2037.102.ebuild (-1 / +38 lines)
Line 24 Link Here
25
FCITX_PATCH_VER="2"
26
FCITX_PATCH_URL="http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${PV}.${FCITX_PATCH_VER}.patch"
Line 25 Link Here
28
	fcitx? ( ${FCITX_PATCH_URL} )
Line 31 Link Here
31
IUSE="emacs +ibus +qt4 renderer test"
34
IUSE="emacs +ibus +qt4 renderer test fcitx"
Line 36 Link Here
40
	fcitx? ( app-i18n/fcitx )
Line 89 Link Here
94
	if use fcitx; then
95
		#EPATCH_OPTS="-p2" epatch "${FILESDIR}/fcitx-mozc-${PV}.${FCITX_PATCH_VER}.patch"
96
		EPATCH_OPTS="-p2" epatch "${DISTDIR}/fcitx-mozc-${PV}.${FCITX_PATCH_VER}.patch"
97
	fi
98
Line 124 Link Here
134
	if use fcitx ; then
135
		"${PYTHON}" build_mozc.py build -v -c "${BUILDTYPE}" "unix/fcitx/fcitx.gyp:fcitx-mozc" ${myjobs} || die
136
	fi
137
Line 135 Link Here
149
	if use fcitx; then
150
		exeinto /usr/$(get_libdir)/fcitx
151
		doexe "out_linux/${BUILDTYPE}/fcitx-mozc.so"
152
		insinto /usr/share/fcitx/addon
153
		doins "unix/fcitx/fcitx-mozc.conf"
154
		insinto /usr/share/fcitx/inputmethod
155
		doins "unix/fcitx/mozc.conf"
156
		insinto /usr/share/fcitx/mozc/icon
157
		(
158
			cd data/images
159
			newins product_icon_32bpp-128.png mozc.png
160
			cd unix
161
			for f in ui-* ; do
162
				newins ${f} mozc-${f/ui-}
163
			done
164
		)
165
		for mofile in out_linux/${BUILDTYPE}/gen/unix/fcitx/po/*.mo ; do
166
			filename=$(basename ${mofile})
167
			lang=${filename/.mo/}
168
			insinto "/usr/share/locale/${lang}/LC_MESSAGES/"
169
			newins ${mofile} fcitx-mozc.mo
170
		done
171
	fi
172

Return to bug 542070