blob: 0bd84f708de159d3896d768964617c23067c710c (
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
45
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/goldendict/goldendict-0.9.0_p20100410.ebuild,v 1.1 2010/04/10 20:49:05 yngwin Exp $
EAPI="3"
LANGSLONG="ar_SA bg_BG cs_CZ de_DE el_GR lt_LT ru_RU zh_CN"
inherit qt4-r2
DESCRIPTION="Feature-rich dictionary lookup program"
HOMEPAGE="http://goldendict.berlios.de/"
SRC_URI="http://omploader.org/vNDQ1cQ/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug kde"
RDEPEND=">=app-text/hunspell-1.2
media-libs/libogg
media-libs/libvorbis
sys-libs/zlib
x11-libs/libXtst
>=x11-libs/qt-core-4.5:4[exceptions]
>=x11-libs/qt-gui-4.5:4[exceptions]
>=x11-libs/qt-webkit-4.5:4[exceptions]
!kde? ( || (
>=x11-libs/qt-phonon-4.5:4[exceptions]
media-sound/phonon
) )
kde? ( media-sound/phonon )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_install() {
qt4-r2_src_install
# install translations
insinto /usr/share/apps/${PN}/locale
for lang in ${LANGSLONG}; do
if use linguas_${lang%_*}; then
doins locale/${lang}.qm || die
fi
done
}
|