1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake-utils eutils
8 DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
9 HOMEPAGE="http://www.pleyades.net/david/projects/sakura/"
10 SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux"
17 >=dev-libs/glib-2.20:2
18 >=x11-libs/vte-0.28:2.90
22 >=dev-lang/perl-5.10.1
26 PATCHES=( "${FILESDIR}"/${PN}-3.1.3-flags.patch )
31 sed -i "/FILES INSTALL/d" CMakeLists.txt || die
35 for lingua in po/*.po; do
36 lingua="${lingua/po\/}"
37 lingua="${lingua/.po}"
38 if ! has ${lingua} ${LINGUAS}; then
39 rm po/${lingua}.po || die
43 cmake-utils_src_prepare