blob: ad7f08e82d8200c7a8d058e96c713dd2b35db9b4 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils
DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME"
HOMEPAGE="https://code.google.com/p/ibus-unikey/"
SRC_URI="https://ibus-unikey.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk3"
RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3]
x11-libs/gtk+:3 )
!gtk3? ( >=app-i18n/ibus-1.4.0
>=x11-libs/gtk+-2.12:2 )
x11-libs/libX11"
DEPEND="${RDEPEND}
virtual/pkgconfig
dev-util/intltool
>=sys-devel/gettext-0.17"
src_configure() {
use gtk3 && myconf="--with-gtk-version=3" || myconf=""
econf ${myconf}
}
|