Merge pull request #2631 from MilhouseVH/le90_kodi_20180415

kodi: Mid April 2018
This commit is contained in:
Christian Hewitt 2018-04-19 01:20:57 +05:30 committed by GitHub
commit 12716c26bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 133 additions and 383 deletions

View File

@ -1,31 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="asplib"
PKG_VERSION="da66f51"
PKG_SHA256="94b140029311b8cc5bb3568e4d938e197298c4e208db5a5fe734b20da334a264"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/AchimTuran/asplib"
PKG_URL="https://github.com/AchimTuran/asplib/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="audio"
PKG_SHORTDESC="asplib: Achim's Signal Processing LIBrary"
PKG_LONGDESC="asplib is a small and lightweight C++ library for digital signal processing."
CXXFLAGS="$CXXFLAGS -DTARGET_LINUX"

View File

@ -1,92 +0,0 @@
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2016-03-09 15:16:52.000000000 -0800
+++ b/CMakeLists.txt 2016-03-30 22:45:01.502582518 -0700
@@ -1,46 +1,15 @@
project(asplib)
cmake_minimum_required(VERSION 2.6)
-enable_language(CXX)
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
-
-include(cmake/UseMultiArch.cmake)
include(cmake/asplib_helpers.cmake)
set(asplib_NAME asplib)
set(asplib_DESCRIPTION "asplib (Achim's Signal Processing LIBrary), is a small and lightweight C++ library for digital signal processing.")
-set(asplib_VERSION_MAJOR 0)
-set(asplib_VERSION_MINOR 2)
-set(asplib_VERSION_PATCH 0)
-
-if(NOT WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-endif()
-
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
- set(CMAKE_CXX_FLAGS "-DTARGET_LINUX")
-endif()
-
-if(CMAKE_SYSTEM_NAME MATCHES "Windows")
- set(CMAKE_CXX_FLAGS "-DTARGET_WINDOWS")
- # Enable the orginization of projects with folders
- set_property(GLOBAL PROPERTY USE_FOLDERS ON)
-endif()
-
-if (NOT WIN32)
- add_definitions(-fPIC -g -O2)
-endif()
-
-set(asplib_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}
- ${PROJECT_SOURCE_DIR}/Biquads
- ${CMAKE_INSTALL_PREFIX}/include/asplib)
-
-include_directories(${asplib_INCLUDE_DIRS})
set(SOURCES Biquads/Biquad_Native/asplib_Biquad_Native.cpp
Biquads/apslib_BiquadFactory.cpp)
-
+
set(HEADERS interfaces/asplib_IBaseBiquad.h
Biquads/apslib_BiquadFactory.h
Biquads/Biquad_Native/asplib_Biquad_Native.h
@@ -54,35 +23,13 @@
asplib_utils/os/linux/linux_definitions.h
asplib_utils/os/raspberry_pi/raspberry_pi_definitions.h
asplib_utils/os/windows/windows_definitions.h)
-
-asplib_source_group("${SOURCES}")
-asplib_source_group("${HEADERS}")
-add_library(asplib ${SOURCES} ${HEADERS})
-target_link_libraries(asplib ${asplib_LIBRARIES})
-set_target_properties(asplib PROPERTIES VERSION ${asplib_VERSION_MAJOR}.${asplib_VERSION_MINOR}.${asplib_VERSION_PATCH}
- SOVERSION ${asplib_VERSION_MAJOR}.0)
+asplib_install_with_folder("${HEADERS}" ${CMAKE_INSTALL_PREFIX}/include/asplib)
+add_library(asplib STATIC ${SOURCES} ${HEADERS})
-install(TARGETS asplib DESTINATION ${CMAKE_INSTALL_LIBDIR})
+include_directories(${PROJECT_SOURCE_DIR}
+ ${PROJECT_SOURCE_DIR}/Biquads)
+install(TARGETS asplib DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
asplib_install_with_folder("${HEADERS}" ${CMAKE_INSTALL_PREFIX}/include/asplib)
-
-IF(NOT WIN32)
- # Pkgconfig
- include(cmake/PkgConfigHandler.cmake)
- configure_pc_file(asplib asplib.pc.in
- asplib.pc
- ${CMAKE_INSTALL_PREFIX}
- ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
- ${CMAKE_INSTALL_PREFIX}/include)
-
- install(FILES ${CMAKE_BINARY_DIR}/asplib.pc
- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig)
-ENDIF(NOT WIN32)
-
-# config mode
-configure_file(asplib-config.cmake.in
- asplib-config.cmake @ONLY)
-install(FILES ${CMAKE_BINARY_DIR}/asplib-config.cmake
- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/asplib)

View File

@ -1,33 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="adsp.basic"
PKG_VERSION="a55b431"
PKG_SHA256="2db1b3c2cfa9f5d7d821d6e7ad026ea8ee00ea7ab5e9b65b7922ce8930ea2944"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/kodi-adsp/adsp.basic/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform libsamplerate"
PKG_SECTION=""
PKG_SHORTDESC="adsp.basic"
PKG_LONGDESC="adsp.basic"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="kodi.adsp"

View File

@ -1,33 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="adsp.biquad.filters"
PKG_VERSION="a41eb28"
PKG_SHA256="d02efbd66aae55987467e9b5ee493f83e8dd433f757af8ae979d1b61f413ae04"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/kodi-adsp/adsp.biquad.filters/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform asplib tinyxml"
PKG_SECTION=""
PKG_SHORTDESC="adsp.biquad.filters"
PKG_LONGDESC="adsp.biquad.filters"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="kodi.adsp"

View File

@ -1,35 +0,0 @@
From abae62ace5cd09025acaf8e03e5edad94131ff07 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sun, 24 Apr 2016 22:42:07 +0200
Subject: [PATCH] ADSPHelpers.cpp: Fix compilation with gcc6
Fixes https://github.com/kodi-adsp/adsp.biquad.filters/issues/13
Patch inspired by
https://github.com/assaultcube/AC/commit/752950989b4e286459ca9aee3d61a868d7b20fa4
---
src/template/ADSPHelpers.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/template/ADSPHelpers.cpp b/src/template/ADSPHelpers.cpp
index 5aa6a7d..f66e77f 100644
--- a/src/template/ADSPHelpers.cpp
+++ b/src/template/ADSPHelpers.cpp
@@ -24,7 +24,7 @@
using namespace std;
#if !defined(TARGET_WINDOWS)
- inline float abs(float Val)
+ inline float iabs(float Val)
{
if(Val >= 0.0f)
{
@@ -441,7 +441,7 @@ float CADSPHelpers::Convert_dB_TO_Value(float dB)
float CADSPHelpers::Convert_Value_TO_dB(float Scale)
{
- return 20.0f*log10f(abs(Scale));
+ return 20.0f*log10f(iabs(Scale));
}
// reserved for future implementation

View File

@ -1,33 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="adsp.freesurround"
PKG_VERSION="03ec089"
PKG_SHA256="92596abc603a805806167f9dbaa9d4e760ba6a8efdb347447174a818acb470a4"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/kodi-adsp/adsp.freesurround/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_SECTION=""
PKG_SHORTDESC="adsp.freesurround"
PKG_LONGDESC="adsp.freesurround"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="kodi.adsp"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="inputstream.adaptive"
PKG_VERSION="c759106"
PKG_SHA256="f65a9073f8224ced632e597da5012d0027f6e62aa6b1f8608e7354f1d4504207"
PKG_VERSION="b3aa34c"
PKG_SHA256="9a6803dc10840f9957992afe6b220c26ad5dd1ed5301ed8ca03414f4f016ede2"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/peak3d/inputstream.adaptive/archive/$PKG_VERSION.tar.gz"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="inputstream.rtmp"
PKG_VERSION="7fe7dde"
PKG_SHA256="a8ae2ddfb731a8a64df94fd05c8e62d65911710955502e8a4f9584e161b2e92c"
PKG_VERSION="3b5058d"
PKG_SHA256="cf2b935bcd12dee759aeaca6c9ad65294a4323d430c7029e7f2923e10aa1a679"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/notspiff/inputstream.rtmp/archive/$PKG_VERSION.tar.gz"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.argustv"
PKG_VERSION="3556049"
PKG_SHA256="76acb48ba336f5e37fdc2197d28c1cac24345e1389af6ba8b4b82428fbf4bec3"
PKG_VERSION="377f796"
PKG_SHA256="7ac85250793690c2e05692a5c3db7398fc84cffa9cf023c1d2a97d378fe53eb3"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.demo"
PKG_VERSION="8f62053"
PKG_SHA256="38abffc3438f75dca8e658df7cb35769734d3dc807b8d3bbc96a12f41d38d947"
PKG_VERSION="d5e5cd1"
PKG_SHA256="cb63a50c85a02f7ca38144d2f1a536e85116b01dd849bcce9300ca778d0de7ea"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.dvblink"
PKG_VERSION="51dbe21"
PKG_SHA256="dc723cd0569b9ea47bfaa3ccc4ac8fbf80696c945afdaa6edd1e3a943b3dee4d"
PKG_VERSION="c61ea73"
PKG_SHA256="127fc5139603c59c1e3a27cf3694e558d46d0fb22219f0e78c45372fd356c75f"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.dvbviewer"
PKG_VERSION="f1746c5"
PKG_SHA256="bf829b1f2a0d910c49cdd3bb03e2333e729a92551204577acac604fda91e5813"
PKG_VERSION="7936ba1"
PKG_SHA256="1f260280adff80689f70c299d231fccff2f8be4fdbe5ede23a66309054943dc1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.filmon"
PKG_VERSION="c7243fb"
PKG_SHA256="1d6d68124c1ffbd81e9a54501bb3dd0bc91c60a2761c4be5e51dde3f256246cd"
PKG_VERSION="0ca1665"
PKG_SHA256="3ea8ae440fd7adb65f3e8d619af592c0224da366636ba0ba7aadb89406b6ec5b"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.hdhomerun"
PKG_VERSION="f3e0177"
PKG_SHA256="849637c96bdbba68d9aad53abb31574837322a2ca4a96a707b5a11ac2a81562b"
PKG_VERSION="484b91d"
PKG_SHA256="a6d00a4e293dda7a2a48262d94548bda6c9e34971061e05e437edb1c2cf8515b"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.hts"
PKG_VERSION="095784b"
PKG_SHA256="ef026cf4a696fcaf6463387169bfd3360f191f23a954474b778c2bd8bda2d46f"
PKG_VERSION="9533cce"
PKG_SHA256="2fa8490abcaefdc1e0652d9fa5b873b246946f578842eba0e5aebd4bc0c69b20"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.iptvsimple"
PKG_VERSION="933a5c4"
PKG_SHA256="83f5966ba909e66976ae18685e9f41c5a924831f8635b806cf91cb3291ff83bc"
PKG_VERSION="77156cb"
PKG_SHA256="96da93cedab5ecafb4ca49fc8942ce0979b2b931b7115359ec97f55f260f9e5f"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.mediaportal.tvserver"
PKG_VERSION="74e2bea"
PKG_SHA256="74eaa93d659584401fef4bf9e709f290494ee82a54d566dc2343cce1ecb5b2ba"
PKG_VERSION="9702684"
PKG_SHA256="53d295c69a53c775c477c117e7efc3a4a2f61bd896396087004a1e8c58f2e2b6"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.mythtv"
PKG_VERSION="9931f98"
PKG_SHA256="68ad285f4424be18e7725b183089eff40ae99de2d15343334eda04f1f29c71f0"
PKG_VERSION="9d15025"
PKG_SHA256="ac67f808b165bed28feec2523608e33daa4a74579ed7664945d47714389ebc37"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.nextpvr"
PKG_VERSION="aa1c8d2"
PKG_SHA256="06474ec07083460f600e5fa0299992f357c0ce1ba1540255572e7caa36e710bc"
PKG_VERSION="de30ff2"
PKG_SHA256="a468a22b7d9e709950cd24b9c9d6ce025d91e2e5509fc4a39f7ffd35e163ed3d"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.njoy"
PKG_VERSION="67b837d"
PKG_SHA256="a561378bc93f984400f8f324b44e97bbe19201af8edb4c22fd89e3d6098cd206"
PKG_VERSION="bd6581f"
PKG_SHA256="f99f4b31577b3c388183fc1c4aef3f4fde077e7df84e84b643ff5cdeb61fb221"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.octonet"
PKG_VERSION="689afbf"
PKG_SHA256="1bb5ae45466a719021cc192506eb601ef36e68027040ce31ca9b02b1441e2740"
PKG_VERSION="54680a3"
PKG_SHA256="27ed72f70412c6cbe7f071bbfaa7c263374ae9268b8015ce1b2307980e2016cc"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.pctv"
PKG_VERSION="5b47d9f"
PKG_SHA256="fa23524622e1d2a4ebc1de4c6c8766b7a1987e2b900551049bbcec9d6055d354"
PKG_VERSION="5e95300"
PKG_SHA256="878aee780117d878e9658a0916f47cfba66f884718af41d5d22d2b6aeee73c3e"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.stalker"
PKG_VERSION="77eec69"
PKG_SHA256="c928578693264536dd46f9c0e084301009faf9fd1c6882cc17eabe3e94345a98"
PKG_VERSION="da6f0f8"
PKG_SHA256="d043b9b144496efb7a7bd2106716d139d701add883d6db25a0eb26847858baf4"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.teleboy"
PKG_VERSION="a7176f3"
PKG_SHA256="e0cf936bcc5dde89493594bbe6a17be82d06dd919e3180a6ecc5b82f62e54766"
PKG_VERSION="a84e5ef"
PKG_SHA256="84ef0fcc6dda0f67df0dfbd7d9e781f8834e4c7319bafc919430c28a705d2e55"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.vbox"
PKG_VERSION="57f3198"
PKG_SHA256="a47a92367e0b9c759752af933ce434ba81a25b2772646e2ee04ac2048665ff1e"
PKG_VERSION="3cf15ad"
PKG_SHA256="f57a67a14a6b260ef35bc15bccbf5280a104b2a5a8fe96d2cf13003762daafa2"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.vdr.vnsi"
PKG_VERSION="4db947c"
PKG_SHA256="5b1d0482b15e8ca11ed86120b3b22b87a7808e2606c1c5f4db846418a9d3e90f"
PKG_VERSION="d6fe796"
PKG_SHA256="f56e9bfeab4596526ff1243f90ebd36c41c057cc78ed655072e5491aaa6c1a00"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.vuplus"
PKG_VERSION="dc230dd"
PKG_SHA256="e7c3e54449f816665e2b08a3eb068bd0abeba123106d0442023c245254a98542"
PKG_VERSION="00a963f"
PKG_SHA256="b286ed850ddce31b4fec1f55cf3639467c7ae39e548051b5485db035e20bf51e"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.wmc"
PKG_VERSION="e0a9190"
PKG_SHA256="358179f29c4db15f6c6afc3eedefae5e69129d78d6b2bbc66af633355d574946"
PKG_VERSION="2acca13"
PKG_SHA256="6d19fbc313f089eff40af72f3f8b70358e357491bff8504a76aa029ef6f3fe21"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="pvr.zattoo"
PKG_VERSION="ac0da38"
PKG_SHA256="5cbdb43a276c4711b7034242324df9eb04dbd732f799fe5248c41add51e29e8c"
PKG_VERSION="5e5493b"
PKG_SHA256="99563cd4bd5f3d1e18cc4a19d92a771896ad04a665ceea33d6ed64fe48be843e"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="visualization.goom"
PKG_VERSION="65f1d9c"
PKG_SHA256="7436332d329c275a5fd1a395b1312919726ed83d7d5375ca08fb305b49b2c590"
PKG_VERSION="7c91a20"
PKG_SHA256="6197847d922050b37ce8a2a20436c16d10a48566f7128570965aa082fe203fc4"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -17,14 +17,14 @@
################################################################################
PKG_NAME="kodi"
PKG_VERSION="72f69fc"
PKG_SHA256="25727662bc35a2564f7cf3f5a5c78a1c1932d6f6735f54c263723b1f8a527a3b"
PKG_VERSION="af4a548"
PKG_SHA256="17a03bf2e636bb5d4fca08e778147a631edf6a46bd73072473046199cd869d06"
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"
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"
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."
@ -217,12 +217,10 @@ PKG_CMAKE_OPTS_TARGET="-DNATIVEPREFIX=$TOOLCHAIN \
-DENABLE_INTERNAL_FFMPEG=OFF \
-DFFMPEG_INCLUDE_DIRS=$SYSROOT_PREFIX/usr \
-DENABLE_INTERNAL_CROSSGUID=OFF \
-DENABLE_OPENSSL=ON \
-DENABLE_UDEV=ON \
-DENABLE_DBUS=ON \
-DENABLE_XSLT=ON \
-DENABLE_CCACHE=ON \
-DENABLE_LIRC=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_LDGOLD=ON \
-DENABLE_DEBUGFISSION=OFF \

View File

@ -1,19 +1,19 @@
From 13eddbe7c95fb224a39991a288ed1102e0739c44 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Thu, 17 Apr 2014 12:12:50 +0300
Subject: [PATCH 04/13] use udevil to umount
From 642638622009224d2da9a7633316f422071139a2 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Thu, 5 Apr 2018 11:42:13 +0100
Subject: [PATCH] use udevil to mount
---
xbmc/platform/linux/PosixMountProvider.cpp | 2 +-
xbmc/storage/linux/UDevProvider.cpp | 2 +-
xbmc/platform/linux/storage/UDevProvider.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xbmc/platform/linux/PosixMountProvider.cpp b/xbmc/platform/linux/PosixMountProvider.cpp
index 218d10b..57e94ca 100644
index 6dd1132..a262a7c 100644
--- a/xbmc/platform/linux/PosixMountProvider.cpp
+++ b/xbmc/platform/linux/PosixMountProvider.cpp
@@ -133,7 +133,7 @@ bool CPosixMountProvider::Eject(const std::string& mountpath)
{
@@ -135,7 +135,7 @@ bool CPosixMountProvider::Eject(const std::string& mountpath)
#if !defined(TARGET_DARWIN_IOS)
// just go ahead and try to umount the disk
// if it does umount, life is good, if not, no loss.
- std::string cmd = "umount \"" + mountpath + "\"";
@ -21,11 +21,11 @@ index 218d10b..57e94ca 100644
int status = system(cmd.c_str());
if (status == 0)
diff --git a/xbmc/storage/linux/UDevProvider.cpp b/xbmc/storage/linux/UDevProvider.cpp
index 0ca370b..dffee34 100644
--- a/xbmc/storage/linux/UDevProvider.cpp
+++ b/xbmc/storage/linux/UDevProvider.cpp
@@ -207,7 +207,7 @@ bool CUDevProvider::Eject(const std::string& mountpath)
diff --git a/xbmc/platform/linux/storage/UDevProvider.cpp b/xbmc/platform/linux/storage/UDevProvider.cpp
index 4bcebf4..daf0d58 100644
--- a/xbmc/platform/linux/storage/UDevProvider.cpp
+++ b/xbmc/platform/linux/storage/UDevProvider.cpp
@@ -205,7 +205,7 @@ bool CUDevProvider::Eject(const std::string& mountpath)
{
// just go ahead and try to umount the disk
// if it does umount, life is good, if not, no loss.
@ -35,5 +35,5 @@ index 0ca370b..dffee34 100644
if (status == 0)
--
2.5.0
2.14.1

View File

@ -15,7 +15,7 @@ index 95ae98c..9aca1e3 100644
void CApplication::Minimize()
{
- CServiceBroker::GetWinSystem().Minimize();
- CServiceBroker::GetWinSystem()->Minimize();
}
PLAYERCOREID CApplication::GetCurrentPlayer()

View File

@ -1,17 +1,17 @@
From 62d1013382c328c8af9aeb598a253c4699accf8d Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Sun, 26 Apr 2015 15:13:15 +0300
Subject: [PATCH 13/13] udevprovider: filter out OE specific mounts
From ba4c814c7ff26ff821ea362632fd6bb47bf93066 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Thu, 5 Apr 2018 11:42:48 +0100
Subject: [PATCH] udevprovider: filter out OE specific mounts
---
xbmc/storage/linux/UDevProvider.cpp | 14 ++++++++++++++
xbmc/platform/linux/storage/UDevProvider.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/xbmc/storage/linux/UDevProvider.cpp b/xbmc/storage/linux/UDevProvider.cpp
index dffee34..b7cd25b 100644
--- a/xbmc/storage/linux/UDevProvider.cpp
+++ b/xbmc/storage/linux/UDevProvider.cpp
@@ -152,6 +152,20 @@ void CUDevProvider::GetDisks(VECSOURCES& disks, bool removable)
diff --git a/xbmc/platform/linux/storage/UDevProvider.cpp b/xbmc/platform/linux/storage/UDevProvider.cpp
index daf0d58..31e574f 100644
--- a/xbmc/platform/linux/storage/UDevProvider.cpp
+++ b/xbmc/platform/linux/storage/UDevProvider.cpp
@@ -150,6 +150,20 @@ void CUDevProvider::GetDisks(VECSOURCES& disks, bool removable)
continue;
}
@ -33,5 +33,5 @@ index dffee34..b7cd25b 100644
const char *bus = udev_device_get_property_value(device, "ID_BUS");
const char *optical = udev_device_get_property_value(device, "ID_CDROM"); // matches also DVD, Blu-ray
--
2.5.0
2.14.1

View File

@ -1,14 +1,20 @@
commit 81214c86f437863c0a8f4ac2e45de81fccc621b4
Author: Lukas Rusak <lorusak@gmail.com>
Date: Mon Dec 11 23:44:41 2017 -0800
From 5d3b9dae20b9c9b1c9236d98bf9ce64306d8b63f Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Thu, 5 Apr 2018 11:43:28 +0100
Subject: [PATCH] allow using alsa and pulse together
[linux] allow using alsa and pulse together
---
xbmc/windowing/X11/WinSystemX11GLContext.cpp | 28 ++--------------------------
xbmc/windowing/amlogic/WinSystemAmlogic.cpp | 2 ++
xbmc/windowing/gbm/WinSystemGbm.cpp | 27 ++-------------------------
xbmc/windowing/rpi/WinSystemRpi.cpp | 4 ++++
4 files changed, 10 insertions(+), 51 deletions(-)
diff --git a/xbmc/windowing/X11/WinSystemX11GLContext.cpp b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
index 398a311..6b3e6d8 100644
index 17b83a0..2e76053 100644
--- a/xbmc/windowing/X11/WinSystemX11GLContext.cpp
+++ b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
@@ -52,31 +52,8 @@ std::unique_ptr<CWinSystemBase> CWinSystemBase::CreateWinSystem()
@@ -52,32 +52,8 @@ std::unique_ptr<CWinSystemBase> CWinSystemBase::CreateWinSystem()
CWinSystemX11GLContext::CWinSystemX11GLContext()
{
@ -17,33 +23,34 @@ index 398a311..6b3e6d8 100644
- envSink = getenv("AE_SINK");
- if (StringUtils::EqualsNoCase(envSink, "ALSA"))
- {
- X11::ALSARegister();
- OPTIONALS::ALSARegister();
- }
- else if (StringUtils::EqualsNoCase(envSink, "PULSE"))
- {
- X11::PulseAudioRegister();
- OPTIONALS::PulseAudioRegister();
- }
- else if (StringUtils::EqualsNoCase(envSink, "SNDIO"))
- {
- X11::SndioRegister();
- OPTIONALS::SndioRegister();
- }
- else
- {
- if (!X11::PulseAudioRegister())
- if (!OPTIONALS::PulseAudioRegister())
- {
- if (!X11::ALSARegister())
- if (!OPTIONALS::ALSARegister())
- {
- X11::SndioRegister();
- OPTIONALS::SndioRegister();
- }
- }
- }
+ X11::ALSARegister();
+ X11::PulseAudioRegister();
-
+ OPTIONALS::ALSARegister();
+ OPTIONALS::PulseAudioRegister();
m_lirc.reset(OPTIONALS::LircRegister());
}
CWinSystemX11GLContext::~CWinSystemX11GLContext()
diff --git a/xbmc/windowing/amlogic/WinSystemAmlogic.cpp b/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
index 020e501..ed0f084 100644
index 1db2ba7..517aeea 100644
--- a/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
+++ b/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
@@ -32,6 +32,7 @@
@ -51,9 +58,9 @@ index 020e501..ed0f084 100644
#include "cores/AudioEngine/AESinkFactory.h"
#include "cores/AudioEngine/Sinks/AESinkALSA.h"
+#include "cores/AudioEngine/Sinks/AESinkPULSE.h"
#include "guilib/GraphicContext.h"
#include "guilib/Resolution.h"
#include "powermanagement/linux/LinuxPowerSyscall.h"
#include "windowing/GraphicContext.h"
#include "windowing/Resolution.h"
#include "platform/linux/powermanagement/LinuxPowerSyscall.h"
@@ -79,6 +80,7 @@ CWinSystemAmlogic::CWinSystemAmlogic()
// Register sink
AE::CAESinkFactory::ClearSinks();
@ -63,45 +70,45 @@ index 020e501..ed0f084 100644
}
diff --git a/xbmc/windowing/gbm/WinSystemGbm.cpp b/xbmc/windowing/gbm/WinSystemGbm.cpp
index 854040f..7ea9e75 100644
index 45783bd..7b5e2ba 100644
--- a/xbmc/windowing/gbm/WinSystemGbm.cpp
+++ b/xbmc/windowing/gbm/WinSystemGbm.cpp
@@ -38,31 +38,8 @@ CWinSystemGbm::CWinSystemGbm() :
m_nativeDisplay(nullptr),
m_nativeWindow(nullptr)
@@ -43,31 +43,8 @@ CWinSystemGbm::CWinSystemGbm() :
m_GBM(new CGBMUtils),
m_delayDispReset(false)
{
- std::string envSink;
- if (getenv("AE_SINK"))
- envSink = getenv("AE_SINK");
- if (StringUtils::EqualsNoCase(envSink, "ALSA"))
- {
- GBM::ALSARegister();
- OPTIONALS::ALSARegister();
- }
- else if (StringUtils::EqualsNoCase(envSink, "PULSE"))
- {
- GBM::PulseAudioRegister();
- OPTIONALS::PulseAudioRegister();
- }
- else if (StringUtils::EqualsNoCase(envSink, "SNDIO"))
- {
- GBM::SndioRegister();
- OPTIONALS::SndioRegister();
- }
- else
- {
- if (!GBM::PulseAudioRegister())
- if (!OPTIONALS::PulseAudioRegister())
- {
- if (!GBM::ALSARegister())
- if (!OPTIONALS::ALSARegister())
- {
- GBM::SndioRegister();
- OPTIONALS::SndioRegister();
- }
- }
- }
+ GBM::ALSARegister();
+ GBM::PulseAudioRegister();
+ OPTIONALS::ALSARegister();
+ OPTIONALS::PulseAudioRegister();
m_winEvents.reset(new CWinEventsLinux());
CLinuxPowerSyscall::Register();
diff --git a/xbmc/windowing/rpi/WinSystemRpi.cpp b/xbmc/windowing/rpi/WinSystemRpi.cpp
index b1caf83..da1b59f 100644
index 82534f2..d4e8ba9 100644
--- a/xbmc/windowing/rpi/WinSystemRpi.cpp
+++ b/xbmc/windowing/rpi/WinSystemRpi.cpp
@@ -34,7 +34,9 @@
@ -111,7 +118,7 @@ index b1caf83..da1b59f 100644
+#include "cores/AudioEngine/Sinks/AESinkALSA.h"
#include "cores/AudioEngine/Sinks/AESinkPi.h"
+#include "cores/AudioEngine/Sinks/AESinkPULSE.h"
#include "powermanagement/linux/LinuxPowerSyscall.h"
#include "platform/linux/powermanagement/LinuxPowerSyscall.h"
#include <EGL/egl.h>
@@ -56,6 +58,8 @@ CWinSystemRpi::CWinSystemRpi()
@ -121,5 +128,8 @@ index b1caf83..da1b59f 100644
+ CAESinkALSA::Register();
+ CAESinkPULSE::Register();
CLinuxPowerSyscall::Register();
m_lirc.reset(OPTIONALS::LircRegister());
}
--
2.14.1

View File

@ -1,17 +1,17 @@
From 5c47c8c3c19faa9a9c5d754d0618b08706630fe7 Mon Sep 17 00:00:00 2001
From a06d50ef78cf5df95de628e7b23bc94e0e4b4059 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Tue, 30 Jan 2018 05:07:26 +0000
Date: Thu, 5 Apr 2018 11:44:03 +0100
Subject: [PATCH] filesystem: Reduce chunksize to 64K
See: https://forum.kodi.tv/showthread.php?tid=298461&pid=2697818#pid2697818
---
xbmc/filesystem/SMBFile.h | 2 +-
xbmc/platform/posix/filesystem/SMBFile.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/filesystem/SMBFile.h b/xbmc/filesystem/SMBFile.h
index 39fb35e..75db1fe 100644
--- a/xbmc/filesystem/SMBFile.h
+++ b/xbmc/filesystem/SMBFile.h
diff --git a/xbmc/platform/posix/filesystem/SMBFile.h b/xbmc/platform/posix/filesystem/SMBFile.h
index ed9e2cd..49fd20a 100644
--- a/xbmc/platform/posix/filesystem/SMBFile.h
+++ b/xbmc/platform/posix/filesystem/SMBFile.h
@@ -89,7 +89,7 @@ public:
bool OpenForWrite(const CURL& url, bool bOverWrite = false) override;
bool Delete(const CURL& url) override;

View File

@ -43,7 +43,7 @@ if [ ! -f $KODI_ROOT/userdata/guisettings.xml ] ; then
fi
fi
KODI_ARGS="--lircdev /run/lirc/lircd"
KODI_ARGS=""
echo "KODI_ARGS=\"$KODI_ARGS\"" > /run/libreelec/kodi.conf

View File

@ -10,8 +10,8 @@
nodaemon = False
driver = default
device = /dev/lirc0
output = /run/lirc/lircd.socket
pidfile = /run/lirc/lircd.pid
output = /var/run/lirc/lircd.socket
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/lirc/plugins
permission = 666
allow-simulate = No

View File

@ -32,7 +32,6 @@ PKG_TOOLCHAIN="autotools"
PKG_PYTHON_WANTED=Python2
PKG_CONFIGURE_OPTS_TARGET="--enable-devinput \
--localstatedir=/ \
--with-gnu-ld \
--without-x"

View File

@ -1,5 +1,5 @@
[Socket]
ListenStream=/run/lirc/lircd.socket
ListenStream=/var/run/lirc/lircd.socket
[Install]
WantedBy=sockets.target

View File

@ -16,4 +16,4 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
d /run/lirc 0755 root root - -
d /var/run/lirc 0755 root root - -