39 lines
874 B
Bash
39 lines
874 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-unikey/fcitx-unikey-0.2.0.ebuild,v 1.4 2013/08/03 14:49:19 ago Exp $
|
|
|
|
EAPI=5
|
|
inherit cmake-utils gnome2-utils
|
|
|
|
DESCRIPTION="Vietnamese Unikey module for Fcitx"
|
|
HOMEPAGE="http://fcitx-im.org/"
|
|
SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="+qt4"
|
|
|
|
RDEPEND=">=app-i18n/fcitx-4.2.7[qt4?]"
|
|
DEPEND="${RDEPEND}
|
|
sys-devel/gettext"
|
|
|
|
src_prepare() {
|
|
# Add cmake option to build the qt based macro editor or not
|
|
epatch "${FILESDIR}/${P}-cmake-qt-option.patch"
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
$(cmake-utils_use_enable qt4 QT)
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
gnome2_icon_cache_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
gnome2_icon_cache_update
|
|
}
|