blob: 739820b0e75be1bd42406074e765e71e86ef7dd7 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/bangarang/bangarang-1.0.1-r1.ebuild,v 1.1 2010/07/28 00:02:43 reavertm Exp $
EAPI="2"
KDE_LINGUAS="cs de fr it nl pl pt_BR zh_CN"
KDE_LINGUAS_DIR="translations"
inherit kde4-base
DESCRIPTION="A media player for KDE utilizing Nepomuk for tagging"
HOMEPAGE="http://bangarangkde.wordpress.com"
SRC_URI="http://opendesktop.org/CONTENT/content-files/113305-${P}.tar.gz"
#EGIT_REPO_URI="git://gitorious.org/bangarang/bangarang.git"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="4"
IUSE="debug"
RDEPEND="
>=kde-base/kdelibs-${KDE_MINIMAL}[semantic-desktop]
>=kde-base/kdemultimedia-kioslaves-${KDE_MINIMAL}
media-libs/taglib
media-sound/phonon
"
DEPEND="${RDEPEND}
sys-devel/gettext
"
S=${WORKDIR}/${PN}-${PN}
src_prepare() {
kde4-base_src_prepare
# Rename invalid Czech locale location from cz to cs
sed -e 's/ cz ALL/ cs ALL/' \
-i translations/cz/CMakeLists.txt || die
mv translations/{cz,cs} || die
sed -e 's/add_subirectory( cz )/add_subirectory( cs )/' \
-i translations/CMakeLists.txt || die
}
|