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 |
- |
|
|