Lines 2-17
Link Here
|
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.4 2010/10/29 10:25:10 hwoarang Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-2.3.8.ebuild,v 1.4 2010/10/29 10:25:10 hwoarang Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=2 |
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/sakura.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 |
Lines 23-25
Link Here
|
23 |
|
26 |
|
24 |
# cmake-utils variables |
27 |
# cmake-utils variables |
25 |
DOCS="AUTHORS INSTALL" |
28 |
DOCS="AUTHORS INSTALL" |
|
|
29 |
|
30 |
src_prepare() { |
31 |
for lang in ${LANGS}; do |
32 |
if ! use linguas_${lang}; then |
33 |
rm -f "po/${lang}.po" || die "rm failed" |
34 |
fi |
35 |
done |
36 |
} |