blob: dd62ec2f3c030c0d22337894147048edd2c188dd (
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
49
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild,v 1.2 2014/08/05 10:13:50 dlan Exp $
EAPI="5"
inherit cmake-utils eutils multilib
DESCRIPTION="Qt IBus library and Qt input method plugin"
HOMEPAGE="http://code.google.com/p/ibus/"
SRC_URI="https://github.com/ibus/ibus-qt/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
RDEPEND=">=app-i18n/ibus-1.3.7
>=sys-apps/dbus-1.2
x11-libs/libX11
>=dev-qt/qtcore-4.5:4
>=dev-qt/qtdbus-4.5:4"
DEPEND="${RDEPEND}
>=dev-libs/icu-4:=
dev-util/cmake
virtual/pkgconfig
doc? ( app-doc/doxygen )"
DOCS="AUTHORS README TODO"
PATCHES=( "${FILESDIR}"/${PN}-1.3-doc.patch )
mycmakeargs="-DLIBDIR=$(get_libdir) all"
src_compile() {
cmake-utils_src_compile
if use doc ; then
cd "${CMAKE_BUILD_DIR}"
emake docs || die
fi
}
src_install() {
if use doc ; then
HTML_DOCS="${CMAKE_BUILD_DIR}/docs/html/*"
fi
cmake-utils_src_install
}
|