| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-configtool/fcitx-configtool-0.4.4.ebuild,v 1.2 2012/07/01 07:58:19 qiaomuf Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit cmake-utils |
| 8 |
|
| 9 |
DESCRIPTION="A GTK+ GUI to edit fcitx settings" |
| 10 |
HOMEPAGE="http://fcitx.googlecode.com/" |
| 11 |
SRC_URI="${HOMEPAGE}files/${P}.tar.xz" |
| 12 |
|
| 13 |
LICENSE="GPL-3" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~x86" |
| 16 |
IUSE="+gtk gtk3" |
| 17 |
REQUIRED_USE="|| ( gtk gtk3 )" |
| 18 |
|
| 19 |
RDEPEND=">=app-i18n/fcitx-4.2.4 |
| 20 |
dev-libs/glib:2 |
| 21 |
gtk? ( x11-libs/gtk+:2 ) |
| 22 |
gtk3? ( x11-libs/gtk+:3 )" |
| 23 |
DEPEND="${RDEPEND} |
| 24 |
app-arch/xz-utils |
| 25 |
app-text/iso-codes |
| 26 |
dev-libs/libunique:1 |
| 27 |
dev-util/intltool |
| 28 |
virtual/pkgconfig |
| 29 |
sys-devel/gettext" |
| 30 |
|
| 31 |
src_configure() { |
| 32 |
local mycmakeargs=" |
| 33 |
$(cmake-utils_use_enable gtk GTK2) |
| 34 |
$(cmake-utils_use_enable gtk3 GTK3)" |
| 35 |
cmake-utils_src_configure |
| 36 |
} |