mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
kodi-binary-addons: remove adsp packages
This commit is contained in:
parent
4876f75404
commit
32c54c5fc2
@ -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"
|
@ -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)
|
@ -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"
|
@ -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"
|
@ -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
|
@ -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"
|
Loading…
x
Reference in New Issue
Block a user