|
Lines 2-7
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.4.0.ebuild,v 1.2 2011/02/25 00:30:08 jmbsvicetto Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-terms/sakura/sakura-2.4.0.ebuild,v 1.2 2011/02/25 00:30:08 jmbsvicetto 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" |
|
Lines 11-17
Link Here
|
| 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 pl pt_BR ru zh_CN" |
|
|
17 |
IUSE="${LANGS// / linguas_}" |
| 15 |
|
18 |
|
| 16 |
RDEPEND=" |
19 |
RDEPEND=" |
| 17 |
>=dev-libs/glib-2.20 |
20 |
>=dev-libs/glib-2.20 |
|
Lines 25-27
Link Here
|
| 25 |
|
28 |
|
| 26 |
# cmake-utils variables |
29 |
# cmake-utils variables |
| 27 |
DOCS="AUTHORS INSTALL" |
30 |
DOCS="AUTHORS INSTALL" |
|
|
31 |
|
| 32 |
src_prepare() { |
| 33 |
for lang in ${LANGS}; do |
| 34 |
if ! use linguas_${lang}; then |
| 35 |
rm -f "po/${lang}.po" || die "rm failed" |
| 36 |
fi |
| 37 |
done |
| 38 |
} |