-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from phunkyfish/add-timezone-shift
New settings format, PVR multi-instance and epg timeshift setting
- Loading branch information
Showing
46 changed files
with
1,172 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ "$#" -ne 1 ] || ! [ -d "$1" ]; then | ||
echo "Usage: $0 <XBMC-SRC-DIR>" >&2 | ||
exit 1 | ||
fi | ||
|
||
if [[ "$OSTYPE" != "darwin"* ]]; then | ||
echo "Error: Script only for use on MacOSX" >&2 | ||
exit 1 | ||
fi | ||
|
||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
if [[ "$1" = /* ]] | ||
then | ||
#absolute path | ||
SCRIPT_DIR="" | ||
else | ||
#relative | ||
SCRIPT_DIR="$SCRIPT_DIR/" | ||
fi | ||
|
||
BINARY_ADDONS_TARGET_DIR="$1/tools/depends/target/binary-addons" | ||
MACOSX_BINARY_ADDONS_TARGET_DIR="" | ||
KODI_ADDONS_DIR="$HOME/Library/Application Support/Kodi/addons" | ||
ADDON_NAME=`basename -s .git \`git config --get remote.origin.url\`` | ||
|
||
if [ ! -d "$BINARY_ADDONS_TARGET_DIR" ]; then | ||
echo "Error: Could not find binary addons directory at: $BINARY_ADDONS_TARGET_DIR" >&2 | ||
exit 1 | ||
fi | ||
|
||
for DIR in "$BINARY_ADDONS_TARGET_DIR/"macosx*; do | ||
if [ -d "${DIR}" ]; then | ||
MACOSX_BINARY_ADDONS_TARGET_DIR="${DIR}" | ||
break | ||
fi | ||
done | ||
|
||
if [ -z "$MACOSX_BINARY_ADDONS_TARGET_DIR" ]; then | ||
echo "Error: Could not find binary addons build directory at: $BINARY_ADDONS_TARGET_DIR/macosx*" >&2 | ||
exit 1 | ||
fi | ||
|
||
if [ ! -d "$KODI_ADDONS_DIR" ]; then | ||
echo "Error: Kodi addons dir does not exist at: $KODI_ADDONS_DIR" >&2 | ||
exit 1 | ||
fi | ||
|
||
cd "$MACOSX_BINARY_ADDONS_TARGET_DIR" | ||
make | ||
|
||
XBMC_BUILD_ADDON_INSTALL_DIR=$(cd "$SCRIPT_DIR$1/addons/$ADDON_NAME" 2> /dev/null && pwd -P) | ||
rm -rf "$KODI_ADDONS_DIR/$ADDON_NAME" | ||
echo "Removed previous addon build from: $KODI_ADDONS_DIR" | ||
cp -rf "$XBMC_BUILD_ADDON_INSTALL_DIR" "$KODI_ADDONS_DIR" | ||
echo "Copied new addon build to: $KODI_ADDONS_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
libxml2-2.9.10 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz | ||
libxml2 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -11,7 +11,7 @@ | ||
set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") | ||
set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") | ||
set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages") | ||
-set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") | ||
+set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") | ||
|
||
include(CheckTypeSize) | ||
include(CheckFunctionExists) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-DZLIB_BUILD_EXAMPLES=OFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 | ||
38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
zlib http://mirrors.kodi.tv/build-deps/sources/zlib-1.2.11.tar.gz | ||
zlib https://www.zlib.net/zlib-1.3.1.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
libxml2-2.9.10 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz | ||
libxml2 http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.