I'm currently trying to build 8.0.0 with Dual Audio for RPi2 (and 3).
Ran into some issue with liberation-fonts-ttf, which wouldn't gunzip. I've downloaded it from another source and now it is continuing... Curious how long this will take though.
I took a few (8) hours and a few fixes, which of course took the longest time
Below are the fixes I needed to do to come to an actual tar file.
Code:
diff --git a/packages/tools/dtc/package.mk b/packages/tools/dtc/package.mk
index 49b53a7..be129ef 100644
--- a/packages/tools/dtc/package.mk
+++ b/packages/tools/dtc/package.mk
@@ -21,7 +21,7 @@ PKG_VERSION="1.4.2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://git.kernel.org/cgit/utils/dtc/dtc.git"
-PKG_URL="https://git.kernel.org/cgit/utils/dtc/dtc.git/snapshot/$PKG_VERSION.tar.xz"
+PKG_URL="https://git.kernel.org/cgit/utils/dtc/dtc.git/snapshot/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
diff --git a/packages/x11/font/liberation-fonts-ttf/package.mk b/packages/x11/font/liberation-fonts-ttf/package.mk
index b7b8506..6992ca6 100644
--- a/packages/x11/font/liberation-fonts-ttf/package.mk
+++ b/packages/x11/font/liberation-fonts-ttf/package.mk
@@ -21,7 +21,9 @@ PKG_VERSION="2.00.1"
PKG_ARCH="any"
PKG_LICENSE="OFL1_1"
PKG_SITE="https://www.redhat.com/promo/fonts/"
-PKG_URL="https://fedorahosted.org/releases/l/i/liberation-fonts/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="http://sources.openelec.tv/mirror/liberation-fonts-ttf/$PKG_NAME-$PKG_VERSION.tar.gz"
+# ORG
+#PKG_URL="https://fedorahosted.org/releases/l/i/liberation-fonts/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain util-macros"
PKG_SECTION="x11/fonts"
PKG_SHORTDESC="liberation-fonts: High quality "open-sourced" vector fonts"
diff --git a/projects/RPi2/patches/kodi/kodi-001-backport.patch b/projects/RPi2/patches/kodi/kodi-001-backport.patch
index 355c349..5890d11 100644
--- a/projects/RPi2/patches/kodi/kodi-001-backport.patch
+++ b/projects/RPi2/patches/kodi/kodi-001-backport.patch
@@ -46920,14 +46920,14 @@ index 9db3a9cc91fd5f9b194d6c1aa66aa02121164c29..56170f48cda417554c57b2adf934c2df
}
}
-@@ -602,6 +609,7 @@ bool CVideoPlayerAudio::SwitchCodecIfNeeded()
- bool allowpassthrough = !CSettings::GetInstance().GetBool(CSettings::SETTING_VIDEOPLAYER_USEDISPLAYASCLOCK);
- if (m_streaminfo.realtime)
- allowpassthrough = false;
-+ allowpassthrough |= CSettings::GetInstance().GetInt("audiooutput.plladjust") > 0;
- CDVDAudioCodec *codec = CDVDFactoryCodec::CreateAudioCodec(m_streaminfo, m_processInfo, allowpassthrough, m_processInfo.AllowDTSHDDecode());
- if (!codec || codec->NeedPassthrough() == m_pAudioCodec->NeedPassthrough()) {
- // passthrough state has not changed
+#@@ -857,6 +864,7 @@ bool CVideoPlayerAudio::SwitchCodecIfNeeded()
+# bool allowpassthrough = !CSettings::GetInstance().GetBool(CSettings::SETTING_VIDEOPLAYER_USEDISPLAYASCLOCK);
+# if (m_streaminfo.realtime)
+# allowpassthrough = false;
+#+ allowpassthrough |= CSettings::GetInstance().GetInt("audiooutput.plladjust") > 0;
+# CDVDAudioCodec *codec = CDVDFactoryCodec::CreateAudioCodec(m_streaminfo, m_processInfo, allowpassthrough, m_processInfo.AllowDTSHDDecode());
+# if (!codec || codec->NeedPassthrough() == m_pAudioCodec->NeedPassthrough()) {
+# // passthrough state has not changed
diff --git a/xbmc/linux/RBP.cpp b/xbmc/linux/RBP.cpp
index 5a6f780517cff0c31f1c40e5e95445d448eb2297..6e8529001b1a464b4547a846f553d98f5bc0b6c0 100644
--- a/xbmc/linux/RBP.cpp
Testing of the actual file and dual audio will be done in the morning.