commit: 873ca8f1e7585b5ef38d4d6c63c8c4c09b727cb8 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> AuthorDate: Sun Aug 17 21:13:58 2014 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sun Aug 17 22:26:24 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=873ca8f1
app-emulation/wineloc: 0.41 --- app-emulation/wineloc/wineloc-0.41.ebuild | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-emulation/wineloc/wineloc-0.41.ebuild b/app-emulation/wineloc/wineloc-0.41.ebuild new file mode 100644 index 0000000..713801a --- /dev/null +++ b/app-emulation/wineloc/wineloc-0.41.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +DESCRIPTION="CJK Launcher for Wine (cli)" +HOMEPAGE="https://bitbucket.org/dsobodash/winelocale" +SRC_URI="http://files.sobodash.com/software/winelocale/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-emulation/wine + media-fonts/VeraSansYuanTi" + +src_prepare() { + sed -i 's|WLOCSHARE=/usr/local/share/wineloc|WLOCSHARE=/usr/share/wineloc|' \ + share/wineloc || die +} + +src_install() { + insinto /usr/share/${PN} + doins -r share/patches || die + + dodoc CHANGELOG INSTALL || die + + dobin share/wineloc || die + + ewarn 'For Chinese, be sure to enable these locales in /etc/locale.gen:' + ewarn ' zh_CN.UTF-8 UTF-8' + ewarn ' zh_TW.UTF-8 UTF-8' + ewarn ' zh_CN GB2312' + ewarn ' zh_CN.GBK GBK' + ewarn ' zh_CN.GB18030 GB18030' + ewarn ' zh_TW BIG5' + ewarn '' + ewarn 'Do not forget to run "sudo locale-gen" to propagate changes.' +}
