blob: 49ed455638709f1335465aad89cf6429fb52477a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/kplayer/kplayer-0.6.2.ebuild,v 1.2 2007/07/01 12:21:16 angelos Exp $
inherit kde
DESCRIPTION="KPlayer is a KDE media player based on mplayer."
HOMEPAGE="http://kplayer.sourceforge.net/"
SRC_URI="mirror://sourceforge/kplayer/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~x86"
IUSE=""
RDEPEND=">=media-video/mplayer-1.0_rc1"
DEPEND="${RDEPEND}"
LANGS="br ca cs cy da de el en_GB es et fi fr ga gl he hu it ja nb nl pa pl
pt_BR pt ru sr@Latn sr sv tr zh_CN"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
need-kde 3.1
src_unpack () {
kde_src_unpack
cd "${WORKDIR}/${P}/po"
for X in ${LANGS} ; do
use linguas_${X} || rm -f "${X}."*
done
rm -f "${S}/configure"
}
|