Patchwork xbmc: add `python` to `DEPENDS`

login
register
mail settings
Submitter Paul Menzel
Date Jan. 9, 2011, 2:35 p.m.
Message ID <1294583723.4036.39.camel@mattotaupa>
Download mbox | patch
Permalink /patch/202/
State Accepted
Headers show

Comments

Paul Menzel - Jan. 9, 2011, 2:35 p.m.
Date: Sun, 9 Jan 2011 15:03:38 +0100

XBMC needs Python to be built properly [1][2]. Python is pulled in implicitly [3], so no error is seen. Make it explicit though to be safe.

[1] https://github.com/xbmc/xbmc/blob/e9e7990b428863b8f2daad4dc5fd2b0a320aa965/Makefile.in#L475
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/xbmc/xbmc/0006-Hardcode-python2.6-for-now.patch?id=0cc02ded7bd429208ccb0e0e0aa3e43aec8a4722
[3] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/boost/boost-with-bjam.inc?id=d470cfde5bd1d4c9ab23a37d286456726711229f#n67

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
1. I do not know if `RDEPENDS += python` is needed as well.
2. If `python-core` would be enough I do not know either.
---
 recipes/xbmc/xbmc_svn.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes/xbmc/xbmc_svn.bb b/recipes/xbmc/xbmc_svn.bb
index 766d74a..3689715 100644
--- a/recipes/xbmc/xbmc_svn.bb
+++ b/recipes/xbmc/xbmc_svn.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "XBMC Media Center"
 LICENSE = "xbmc"
 
-DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib"
+DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib"
 require recipes/egl/egl.inc
 
 SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe"