# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit cmake-utils DESCRIPTION="sakura is a terminal emulator based on GTK and VTE" HOMEPAGE="http://www.pleyades.net/david/${PN}.php" SRC_URI="http://www.pleyades.net/david/projects/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" LANGS=" ca cs de es fr hr hu it ja pt_BR ru zh_CN" IUSE="${LANGS// / linguas_}" RDEPEND=">=dev-libs/glib-2.14 >=x11-libs/gtk+-2.10 >=x11-libs/vte-0.16.15" DEPEND="${RDEPEND} >=dev-util/cmake-2.4.7" # cmake-utils variables DOCS="AUTHORS INSTALL" src_prepare() { for lang in ${LANGS}; do if ! use linguas_${lang}; then rm "po/${lang}.po" || die "rm failed" fi done # until perl v5.10.0 is stable David is Gomez sed -i -e '/COMMAND ${POD2MAN}/s/ -u//' CMakeLists.txt || die "sed failed" sed -i -e 's/รณ/o/' sakura.pod || die "sed failed" }