diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-25 10:47:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-25 10:49:04 +0200 |
commit | 154ae0638626d9515233c8550ec8e6c3ad27cffc (patch) | |
tree | 35bbbff18d0334ea9be64023ed7e8cf978aa83a2 | |
parent | 29602842b2d3613d1b38b25b42adbb8dd61453a9 (diff) |
fix kodi for rpi
-rw-r--r-- | package/kodi/Makefile | 7 | ||||
-rw-r--r-- | package/kodi/patches/patch-configure_in | 11 |
2 files changed, 15 insertions, 3 deletions
diff --git a/package/kodi/Makefile b/package/kodi/Makefile index af3423612..a2727cc53 100644 --- a/package/kodi/Makefile +++ b/package/kodi/Makefile @@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= kodi PKG_VERSION:= 14.0alpha4 PKG_RELEASE:= 3 -PKG_MD5SUM:= 3329b7503846ea3ced64d71bdbd1f442 +PKG_MD5SUM:= 5bd39942150249d9eccf792d77b92554 PKG_DESCR:= software media player PKG_SECTION:= mm/video PKG_DEPENDS:= boost python2 libstdcxx glibc-gconv @@ -84,7 +84,7 @@ ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/opt/vc/include \ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vcos/pthreads \ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vmcs_host/linux -TARGET_LDFLAGS+= -L$(STAGING_TARGET_DIR)/opt/vc/lib -lkhrn_static +TARGET_LDFLAGS+= -L$(STAGING_TARGET_DIR)/opt/vc/lib endif AUTOTOOL_STYLE:= autoreconf @@ -108,7 +108,8 @@ CONFIGURE_ARGS+= --disable-optical-drive \ --enable-alsa \ --enable-libvorbisenc \ --enable-debug \ - --enable-udev + --enable-udev \ + --with-ffmpeg=shared ifneq ($(ADK_PACKAGE_KODI_WITH_BLURAY),) CONFIGURE_ARGS+= --enable-libbluray diff --git a/package/kodi/patches/patch-configure_in b/package/kodi/patches/patch-configure_in new file mode 100644 index 000000000..bfe90410a --- /dev/null +++ b/package/kodi/patches/patch-configure_in @@ -0,0 +1,11 @@ +--- kodi-14.0alpha4.orig/configure.in 2014-09-05 14:09:58.000000000 +0200 ++++ kodi-14.0alpha4/configure.in 2014-09-21 10:23:38.000000000 +0200 +@@ -1004,7 +1004,7 @@ if test "$use_gles" = "yes"; then + AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."]) + AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."]) + AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.) +- LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm" ++ LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lkhrn_static -lpthread -lm" + else + AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library)) + AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library)) |