Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 477722
Collapse All | Expand All

(-)a/gx86/media-radio/radiotray/radiotray-0.7.3-r1.ebuild (-11 / +11 lines)
Lines 2-11 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-radio/radiotray/radiotray-0.7.3-r1.ebuild,v 1.4 2012/12/02 16:57:22 eva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-radio/radiotray/radiotray-0.7.3-r1.ebuild,v 1.4 2012/12/02 16:57:22 eva Exp $
4
4
5
EAPI=4
5
EAPI=5
6
6
7
PYTHON_COMPAT='python2_6 python2_7'
7
PYTHON_COMPAT=( python2_6 python2_7 )
8
inherit base python-distutils-ng
8
inherit distutils-r1
9
9
10
DESCRIPTION="Online radio streaming player"
10
DESCRIPTION="Online radio streaming player"
11
HOMEPAGE="http://radiotray.sourceforge.net/"
11
HOMEPAGE="http://radiotray.sourceforge.net/"
Lines 16-28 SLOT="0" Link Here
16
KEYWORDS="~amd64 ~x86"
16
KEYWORDS="~amd64 ~x86"
17
IUSE=""
17
IUSE=""
18
18
19
RDEPEND="dev-python/dbus-python
19
RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]
20
	dev-python/gst-python:0.10
20
	dev-python/gst-python:0.10[${PYTHON_USEDEP}]
21
	dev-python/pygtk
21
	dev-python/pygtk[${PYTHON_USEDEP}]
22
	dev-python/lxml
22
	dev-python/lxml[${PYTHON_USEDEP}]
23
	dev-python/pyxdg
23
	dev-python/pyxdg[${PYTHON_USEDEP}]
24
	dev-python/pygobject:2
24
	dev-python/pygobject:2[${PYTHON_USEDEP}]
25
	dev-python/notify-python
25
	dev-python/notify-python[${PYTHON_USEDEP}]
26
	media-libs/gst-plugins-good:0.10
26
	media-libs/gst-plugins-good:0.10
27
	media-libs/gst-plugins-ugly:0.10
27
	media-libs/gst-plugins-ugly:0.10
28
	media-plugins/gst-plugins-alsa:0.10
28
	media-plugins/gst-plugins-alsa:0.10
Lines 33-36 RDEPEND="dev-python/dbus-python Link Here
33
	media-plugins/gst-plugins-soup:0.10
33
	media-plugins/gst-plugins-soup:0.10
34
	media-plugins/gst-plugins-vorbis:0.10"
34
	media-plugins/gst-plugins-vorbis:0.10"
35
35
36
DEPEND="dev-python/pyxdg"
36
DEPEND="dev-python/pyxdg[${PYTHON_USEDEP}]"
(-)a/gx86/media-radio/radiotray/radiotray-9999.ebuild (-14 / +15 lines)
Lines 2-11 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-radio/radiotray/radiotray-9999.ebuild,v 1.8 2012/12/27 19:01:32 ottxor Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-radio/radiotray/radiotray-9999.ebuild,v 1.8 2012/12/27 19:01:32 ottxor Exp $
4
4
5
EAPI=4
5
EAPI=5
6
PYTHON_COMPAT='python2_6 python2_7'
6
PYTHON_COMPAT=( python2_6 python2_7 )
7
7
8
inherit mercurial python-distutils-ng
8
DISTUTILS_NO_PARALLEL_BUILD=1
9
10
inherit distutils-r1 mercurial
9
11
10
DESCRIPTION="Online radio streaming player"
12
DESCRIPTION="Online radio streaming player"
11
HOMEPAGE="http://radiotray.sourceforge.net/"
13
HOMEPAGE="http://radiotray.sourceforge.net/"
Lines 24-35 for x in ${LANGS}; do Link Here
24
	IUSE="${IUSE} linguas_${x}"
26
	IUSE="${IUSE} linguas_${x}"
25
done
27
done
26
28
27
RDEPEND="dev-python/gst-python:0.10
29
RDEPEND="dev-python/gst-python:0.10[${PYTHON_USEDEP}]
28
	dev-python/pygtk
30
	dev-python/pygtk[${PYTHON_USEDEP}]
29
	dev-python/lxml
31
	dev-python/lxml[${PYTHON_USEDEP}]
30
	dev-python/pyxdg
32
	dev-python/pyxdg[${PYTHON_USEDEP}]
31
	dev-python/pygobject:2
33
	dev-python/pygobject:2[${PYTHON_USEDEP}]
32
	dev-python/notify-python
34
	dev-python/notify-python[${PYTHON_USEDEP}]
33
	media-libs/gst-plugins-good:0.10
35
	media-libs/gst-plugins-good:0.10
34
	media-libs/gst-plugins-ugly:0.10
36
	media-libs/gst-plugins-ugly:0.10
35
	media-plugins/gst-plugins-alsa:0.10
37
	media-plugins/gst-plugins-alsa:0.10
Lines 42-56 RDEPEND="dev-python/gst-python:0.10 Link Here
42
44
43
DEPEND="${RDEPEND}"
45
DEPEND="${RDEPEND}"
44
46
45
DOCS="AUTHORS CONTRIBUTORS NEWS README"
47
DOCS=( AUTHORS CONTRIBUTORS NEWS README )
46
48
47
src_prepare() {
49
python_prepare_all() {
48
	python_convert_shebangs -r 2 .
49
	distutils_src_prepare
50
	# remove LINUGAS file so we can create our
50
	# remove LINUGAS file so we can create our
51
	rm "${S}"/po/LINGUAS
51
	rm "${S}"/po/LINGUAS
52
	for x in ${LANGS}; do
52
	for x in ${LANGS}; do
53
		use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS
53
		use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS
54
		! use "linguas_${x}" && rm "${S}"/po/${x}.po
54
		! use "linguas_${x}" && rm "${S}"/po/${x}.po
55
	done
55
	done
56
57
	distutils-r1_python_prepare_all
56
}
58
}
57
- 

Return to bug 477722