summaryrefslogtreecommitdiff
path: root/package/xbmc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-11 10:45:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-11 10:45:26 +0200
commit50f6d69a1401476cf7a644833403d3c6454c2c78 (patch)
tree462892911f633c3aafcc4ebf755c1c57a79e158c /package/xbmc
parent5f0638d8ceb08b8dcfae4857989468bd3ecbdeea (diff)
fix read-only startup, fix strange directory names
Diffstat (limited to 'package/xbmc')
-rw-r--r--package/xbmc/Makefile5
-rw-r--r--package/xbmc/patches/patch-xbmc_Application_cpp4
2 files changed, 6 insertions, 3 deletions
diff --git a/package/xbmc/Makefile b/package/xbmc/Makefile
index 1eb77d9c1..98e245bae 100644
--- a/package/xbmc/Makefile
+++ b/package/xbmc/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= xbmc
PKG_VERSION:= 12.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 489f3877decae4e265ece54f9eaef0ba
PKG_DESCR:= software media player
PKG_SECTION:= multimedia
@@ -56,6 +56,9 @@ CONFIGURE_ARGS+= --disable-optical-drive \
--disable-x11 \
--with-platform=raspberry-pi
+post-extract:
+ (cd $(WRKDIR) && ${BASH} $(TOPDIR)/scripts/xbmc-fix.sh)
+
xbmc-install:
$(INSTALL_DIR) $(IDIR_XBMC)/usr/lib/xbmc
$(CP) $(WRKINST)/usr/lib/xbmc/* \
diff --git a/package/xbmc/patches/patch-xbmc_Application_cpp b/package/xbmc/patches/patch-xbmc_Application_cpp
index 587456a07..dd350c3b6 100644
--- a/package/xbmc/patches/patch-xbmc_Application_cpp
+++ b/package/xbmc/patches/patch-xbmc_Application_cpp
@@ -1,5 +1,5 @@
--- xbmc-12.2.orig/xbmc/Application.cpp 2013-05-03 07:57:41.000000000 +0200
-+++ xbmc-12.2/xbmc/Application.cpp 2013-10-08 13:55:01.000000000 +0200
++++ xbmc-12.2/xbmc/Application.cpp 2013-10-10 18:43:17.000000000 +0200
@@ -615,7 +615,7 @@ bool CApplication::Create()
if (!CLog::Init(CSpecialProtocol::TranslatePath(g_settings.m_logFolder).c_str()))
@@ -35,7 +35,7 @@
- CStdString strTempPath = userHome;
- strTempPath = URIUtils::AddFileToFolder(strTempPath, ".xbmc/temp");
+ CStdString strTempPath = "/tmp";
-+ strTempPath = URIUtils::AddFileToFolder(strTempPath, "/.xbmc/temp");
++ strTempPath = URIUtils::AddFileToFolder(strTempPath, "/xbmc");
if (getenv("XBMC_TEMP"))
strTempPath = getenv("XBMC_TEMP");
CSpecialProtocol::SetTempPath(strTempPath);