blob: c6e4e3905ae3534217a367ac1d1ce47630f35251 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-3.1.5.ebuild,v 1.3 2014/10/12 08:48:40 ago Exp $
EAPI=5
inherit cmake-utils eutils
DESCRIPTION="sakura is a terminal emulator based on GTK and VTE"
HOMEPAGE="http://www.pleyades.net/david/projects/sakura/"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~arm-linux ~x86-linux"
RDEPEND="
>=dev-libs/glib-2.20:2
>=x11-libs/vte-0.28:2.90
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}
>=dev-lang/perl-5.10.1
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}"/${PN}-3.1.3-flags.patch )
DOCS=( AUTHORS INSTALL )
src_prepare() {
sed -i "/FILES INSTALL/d" CMakeLists.txt || die
strip-linguas -i po/
local lingua
for lingua in po/*.po; do
lingua="${lingua/po\/}"
lingua="${lingua/.po}"
if ! has ${lingua} ${LINGUAS}; then
rm po/${lingua}.po || die
fi
done
cmake-utils_src_prepare
}
|