• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/kodi/kodi.mk
Bernd KuhlsBernd Kuhls committed 62ce7751b4620 Oct 2015
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# kodi
4
#
5
################################################################################
6
​
7
KODI_VERSION = 15.2-Isengard
8
KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))
9
KODI_LICENSE = GPLv2
10
KODI_LICENSE_FILES = LICENSE.GPL
11
# needed for binary addons
12
KODI_INSTALL_STAGING = YES
13
KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-giflib \
14
    host-libjpeg host-lzo host-nasm host-libpng host-swig
15
KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \
16
    libass libcdio libcurl libfribidi libgcrypt libmpeg2 \
17
    libogg libplist libpng libsamplerate libsquish libvorbis libxml2 \
18
    libxslt lzo ncurses openssl pcre python readline sqlite taglib tiff \
19
    tinyxml yajl zlib
20
​
21
KODI_CONF_ENV = \
22
    PYTHON_VERSION="$(PYTHON_VERSION_MAJOR)" \
23
    PYTHON_LDFLAGS="-lpython$(PYTHON_VERSION_MAJOR) -lpthread -ldl -lutil -lm" \
24
    PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)" \
25
    PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \
26
    PYTHON_NOVERSIONCHECK="no-check" \
27
    use_texturepacker_native=yes \
28
    USE_TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" \
29
    TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr"
30
​
31
KODI_CONF_OPTS +=  \
32
    --with-ffmpeg=shared \
33
    --disable-joystick \
34
    --disable-openmax \
35
    --disable-projectm \
36
    --disable-pulse \
37
    --disable-vdpau \
38
    --disable-vtbdecoder \
39
    --enable-optimizations
40
​
41
ifeq ($(BR2_PACKAGE_MYSQL),y)
42
KODI_CONF_OPTS += --enable-mysql
43
KODI_CONF_ENV += ac_cv_path_MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
44
KODI_DEPENDENCIES += mysql
45
else
46
KODI_CONF_OPTS += --disable-mysql
47
endif
48
​
49
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
50
KODI_DEPENDENCIES += rpi-userland
51
KODI_CONF_OPTS += --with-platform=raspberry-pi --enable-player=omxplayer
52
KODI_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
53
    -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" \
54
    LIBS="-lvcos -lvchostif"
55
endif
56
​
57
ifeq ($(BR2_PACKAGE_LIBFSLVPUWRAP),y)
58
KODI_DEPENDENCIES += libfslvpuwrap
59
KODI_CONF_OPTS += --enable-codec=imxvpu
60
endif
61
​
62
ifeq ($(BR2_PACKAGE_LIBCAP),y)
63
KODI_CONF_OPTS += --enable-libcap
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.