blob: 3ab16f01fd4cb1f0ce63541640b03cf84f883459 (
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
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-radio/radiotray/radiotray-9999.ebuild,v 1.8 2012/12/27 19:01:32 ottxor Exp $
EAPI=4
PYTHON_COMPAT='python2_6 python2_7'
inherit mercurial python-distutils-ng
DESCRIPTION="Online radio streaming player"
HOMEPAGE="http://radiotray.sourceforge.net/"
SRC_URI=""
EHG_REPO_URI="http://radiotray.hg.sourceforge.net:8000/hgroot/radiotray/radiotray"
LICENSE="GPL-1+"
SLOT="0"
KEYWORDS=""
IUSE=""
LANGS="ca de el en_GB es fi fr gl gu hu it ko lt pl pt_BR pt ro ru sk sl sv te
tr uk zh_CN"
for x in ${LANGS}; do
IUSE="${IUSE} linguas_${x}"
done
RDEPEND="dev-python/gst-python:0.10
dev-python/pygtk
dev-python/lxml
dev-python/pyxdg
dev-python/pygobject:2
dev-python/notify-python
media-libs/gst-plugins-good:0.10
media-libs/gst-plugins-ugly:0.10
media-plugins/gst-plugins-alsa:0.10
media-plugins/gst-plugins-libmms:0.10
media-plugins/gst-plugins-ffmpeg:0.10
media-plugins/gst-plugins-mad:0.10
media-plugins/gst-plugins-ogg:0.10
media-plugins/gst-plugins-soup:0.10
media-plugins/gst-plugins-vorbis:0.10"
DEPEND="${RDEPEND}"
DOCS="AUTHORS CONTRIBUTORS NEWS README"
src_prepare() {
python_convert_shebangs -r 2 .
distutils_src_prepare
# remove LINUGAS file so we can create our
rm "${S}"/po/LINGUAS
for x in ${LANGS}; do
use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS
! use "linguas_${x}" && rm "${S}"/po/${x}.po
done
}
|