Lines 2-15
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-tv/xbmc/xbmc-12.1.ebuild,v 1.4 2013/04/01 06:35:52 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-12.1.ebuild,v 1.4 2013/04/01 06:35:52 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="5" |
6 |
|
6 |
|
7 |
# Does not work with py3 here |
7 |
# Does not work with py3 here |
8 |
# It might work with py:2.5 but I didn't test that |
8 |
# It might work with py:2.5 but I didn't test that |
9 |
PYTHON_DEPEND="2:2.6" |
9 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
10 |
PYTHON_USE_WITH=sqlite |
10 |
PYTHON_REQ_USE="sqlite" |
11 |
|
11 |
|
12 |
inherit eutils python multiprocessing autotools |
12 |
inherit eutils multiprocessing autotools python-single-r1 |
13 |
|
13 |
|
14 |
case ${PV} in |
14 |
case ${PV} in |
15 |
9999) |
15 |
9999) |
Lines 48-54
Link Here
|
48 |
app-arch/zip |
48 |
app-arch/zip |
49 |
app-i18n/enca |
49 |
app-i18n/enca |
50 |
airplay? ( app-pda/libplist ) |
50 |
airplay? ( app-pda/libplist ) |
51 |
>=dev-lang/python-2.4 |
51 |
${PYTHON_DEPS} |
52 |
dev-libs/boost |
52 |
dev-libs/boost |
53 |
dev-libs/fribidi |
53 |
dev-libs/fribidi |
54 |
dev-libs/libcdio[-minimal] |
54 |
dev-libs/libcdio[-minimal] |
Lines 57-63
Link Here
|
57 |
>=dev-libs/lzo-2.04 |
57 |
>=dev-libs/lzo-2.04 |
58 |
dev-libs/tinyxml[stl] |
58 |
dev-libs/tinyxml[stl] |
59 |
dev-libs/yajl |
59 |
dev-libs/yajl |
60 |
dev-python/simplejson |
60 |
dev-python/simplejson[${PYTHON_USEDEP}] |
61 |
media-libs/alsa-lib |
61 |
media-libs/alsa-lib |
62 |
media-libs/flac |
62 |
media-libs/flac |
63 |
media-libs/fontconfig |
63 |
media-libs/fontconfig |
Lines 134-144
Link Here
|
134 |
|
134 |
|
135 |
S=${WORKDIR}/${MY_P} |
135 |
S=${WORKDIR}/${MY_P} |
136 |
|
136 |
|
137 |
pkg_setup() { |
|
|
138 |
python_set_active_version 2 |
139 |
python_pkg_setup |
140 |
} |
141 |
|
142 |
src_unpack() { |
137 |
src_unpack() { |
143 |
[[ ${PV} == "9999" ]] && git-2_src_unpack || default |
138 |
[[ ${PV} == "9999" ]] && git-2_src_unpack || default |
144 |
} |
139 |
} |
Lines 247-255
Link Here
|
247 |
domenu tools/Linux/xbmc.desktop |
242 |
domenu tools/Linux/xbmc.desktop |
248 |
newicon tools/Linux/xbmc-48x48.png xbmc.png |
243 |
newicon tools/Linux/xbmc-48x48.png xbmc.png |
249 |
|
244 |
|
250 |
insinto "$(python_get_sitedir)" #309885 |
245 |
python_domodule tools/EventClients/lib/python/xbmcclient.py |
251 |
doins tools/EventClients/lib/python/xbmcclient.py || die |
246 |
python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send |
252 |
newbin "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send || die |
|
|
253 |
} |
247 |
} |
254 |
|
248 |
|
255 |
pkg_postinst() { |
249 |
pkg_postinst() { |