blob: e43ed1a821e1fd07182cb49bec8459f4335b7a5e (
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
|
# 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.3.ebuild,v 1.3 2007/08/10 10:02:19 armin76 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-3"
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"
}
|