blob: c16708557dc8ded4f2642ac25a58943593aba2d6 (
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
|
# Copyright 1999-2008 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.4 2008/01/12 00:25:32 carlo 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.5
PATCHES="${FILESDIR}/kplayer-0.6.3-desktop-entry.diff"
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"
}
|