blob: 25b5d86829ac81ca2ef0c68f2de18f6d39895bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
DESCRIPTION="Simple Hanguk X Input Method"
HOMEPAGE="https://github.com/libhangul/nabi"
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug nls"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND=">=app-i18n/libhangul-0.1
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
virtual/libintl"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
DOCS=( AUTHORS ChangeLog.0 NEWS README TODO )
src_configure() {
local myconf=()
# Broken configure: --disable-debug also enables debug
use debug && myconf+=( --enable-debug )
econf "${myconf[@]}"
}
src_install() {
default
insinto /etc/X11/xinit/xinput.d
sed -e "s:@EPREFIX@:${EPREFIX}:g" "${FILESDIR}"/xinput-${PN} | newins - ${PN}.conf
}
pkg_postinst() {
elog "You MUST add environment variable..."
elog
elog "export XMODIFIERS=\"@im=nabi\""
elog
}
|