blob: 4c7d1c679f878ad300839d79b5d6d5b39a1ebbc3 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils
MY_P=${P}-Source
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
SRC_URI="https://github.com/definite/ibus-chewing/releases/download/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="x11-libs/libXtst
>=app-i18n/ibus-1.3
>=app-i18n/libchewing-0.3.3
x11-libs/gtk+:2
dev-util/gob:2"
DEPEND="${RDEPEND}
gnome-base/gconf
virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
CMAKE_IN_SOURCE_BUILD=1
DOCS="AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE"
src_configure() {
local mycmakeargs=(
-DPRJ_DOC_DIR=/usr/share/doc/${PF}
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_make all translations
}
|