Skip to content

Commit

Permalink
Merge pull request #2900 from MilhouseVH/le90_kodi_rpi_vendor
Browse files Browse the repository at this point in the history
kodi: add option to use RPi vendor repo
  • Loading branch information
HiassofT committed Aug 20, 2018
2 parents c3f66fc + d20f56a commit 4fb1f60
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
3 changes: 3 additions & 0 deletions distributions/LibreELEC/options
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# Default Skin (Estuary)
SKIN_DEFAULT="Estuary"

# Select whether to use default (upstream xbmc/xbmc) repo, or specific vendor repo
KODI_VENDOR="default"

# install extra subtitle Fonts for KODI (yes / no)
KODI_EXTRA_FONTS="yes"

Expand Down
21 changes: 17 additions & 4 deletions packages/mediacenter/kodi/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,31 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="kodi"
PKG_VERSION="f08d8686e96edcfbe065d4e5094ab6221da057b9"
PKG_SHA256="eec4e71d836894c39cd722eb3a1b73e2ee678aeadb64abcea2d85227d871bb86"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/xbmc/xbmc/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="xbmc-$PKG_VERSION*"
PKG_DEPENDS_TARGET="toolchain JsonSchemaBuilder:host TexturePacker:host Python2 zlib systemd pciutils lzo pcre swig:host libass curl fontconfig fribidi tinyxml libjpeg-turbo freetype libcdio taglib libxml2 libxslt rapidjson sqlite ffmpeg crossguid giflib libdvdnav libhdhomerun libfmt lirc libfstrcmp flatbuffers:host flatbuffers"
PKG_SECTION="mediacenter"
PKG_SHORTDESC="kodi: Kodi Mediacenter"
PKG_LONGDESC="Kodi Media Center (which was formerly named Xbox Media Center or XBMC) is a free and open source cross-platform media player and home entertainment system software with a 10-foot user interface designed for the living-room TV. Its graphical user interface allows the user to easily manage video, photos, podcasts, and music from a computer, optical disk, local network, and the internet using a remote control."

PKG_PATCH_DIRS="$KODI_VENDOR"

case $KODI_VENDOR in
raspberrypi)
PKG_VERSION="tag" #Leia BetaX
PKG_SHA256="sha-for-tag"
PKG_URL="https://github.com/popcornmix/xbmc/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="xbmc-$PKG_VERSION*"
;;
*)
PKG_VERSION="f08d8686e96edcfbe065d4e5094ab6221da057b9" #Leia Beta 1
PKG_SHA256="eec4e71d836894c39cd722eb3a1b73e2ee678aeadb64abcea2d85227d871bb86"
PKG_URL="https://github.com/xbmc/xbmc/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="xbmc-$PKG_VERSION*"
;;
esac

# Single threaded LTO is very slow so rely on Kodi for parallel LTO support
if [ "$LTO_SUPPORT" = "yes" ] && ! build_with_debug; then
PKG_KODI_USE_LTO="-DUSE_LTO=$CONCURRENCY_MAKE_LEVEL"
Expand Down
3 changes: 3 additions & 0 deletions projects/RPi/options
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ fi
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
GRAPHIC_DRIVERS=""

# Use a vendor specific KODI repo
# KODI_VENDOR="raspberrypi"

# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
KODIPLAYER_DRIVER="bcm2835-driver"

Expand Down

0 comments on commit 4fb1f60

Please sign in to comment.