Lines 1-25
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-2.3.8.ebuild,v 1.1 2010/07/01 17:24:32 phajdan.jr Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
EAPI="2" |
4 |
|
6 |
|
5 |
inherit cmake-utils |
7 |
inherit cmake-utils |
6 |
|
8 |
|
7 |
DESCRIPTION="sakura is a terminal emulator based on GTK and VTE" |
9 |
DESCRIPTION="sakura is a terminal emulator based on GTK and VTE" |
8 |
HOMEPAGE="http://www.pleyades.net/david/sakura.php" |
10 |
HOMEPAGE="http://www.pleyades.net/david/${PN}.php" |
9 |
SRC_URI="http://www.pleyades.net/david/projects/sakura/${P}.tar.gz" |
11 |
SRC_URI="http://www.pleyades.net/david/projects/${PN}/${P}.tar.bz2" |
10 |
|
12 |
|
11 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
14 |
IUSE="" |
16 |
LANGS=" ca cs de es fr hr hu it ja pt_BR ru zh_CN" |
|
|
17 |
IUSE="${LANGS// / linguas_}" |
15 |
|
18 |
|
16 |
RDEPEND=">=dev-libs/glib-2.14 |
19 |
RDEPEND=">=dev-libs/glib-2.14 |
17 |
>=x11-libs/gtk+-2.10 |
20 |
>=x11-libs/gtk+-2.10 |
18 |
>=x11-libs/vte-0.16.15" |
21 |
>=x11-libs/vte-0.16.15" |
19 |
|
|
|
20 |
# this version is first that contains needed FindPkgConfig |
21 |
DEPEND="${RDEPEND} |
22 |
DEPEND="${RDEPEND} |
22 |
>=dev-util/cmake-2.4.7" |
23 |
>=dev-util/cmake-2.4.7" |
23 |
|
24 |
|
24 |
# cmake-utils variables |
25 |
# cmake-utils variables |
25 |
DOCS="AUTHORS INSTALL" |
26 |
DOCS="AUTHORS INSTALL" |
|
|
27 |
|
28 |
src_prepare() { |
29 |
for lang in ${LANGS}; do |
30 |
if ! use linguas_${lang}; then |
31 |
rm -f "po/${lang}.po" || die "rm failed" |
32 |
fi |
33 |
done |
34 |
|
35 |
# until perl v5.10.0 is stable David is Gomez |
36 |
sed -i -e '/COMMAND ${POD2MAN}/s/ -u//' CMakeLists.txt || die "sed failed" |
37 |
sed -i -e 's/รณ/o/' sakura.pod || die "sed failed" |
38 |
} |