Skip to content

Commit

Permalink
Merge pull request #5 from AlexELEC/coreelec-21
Browse files Browse the repository at this point in the history
Coreelec 21
  • Loading branch information
AlexELEC authored Apr 25, 2024
2 parents 6ba53d7 + b9b4a51 commit 9ccf442
Show file tree
Hide file tree
Showing 12 changed files with 153 additions and 218 deletions.
4 changes: 2 additions & 2 deletions packages/linux/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ case "${LINUX}" in
PKG_PATCH_DIRS="default"
;;
raspberrypi)
PKG_VERSION="fe027c6c6cb299f17db69d04087b2ca973f78510" # 6.6.28
PKG_SHA256="af9b1e45ebb069995a632e109d8349d33732f656f5c1fc6b63dfc86daea23b5e"
PKG_VERSION="8d40b03821362d445a03dc23475fc4dff3ba88a7" # 6.6.28
PKG_SHA256="47c36bb4e3e470f02b6be72afd0743d85bb1d7e0207d5e44bcf4522655fa5196"
PKG_URL="https://github.com/raspberrypi/linux/archive/${PKG_VERSION}.tar.gz"
PKG_SOURCE_NAME="linux-${LINUX}-${PKG_VERSION}.tar.gz"
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Copyright (C) 2022-present Team CoreELEC (https://coreelec.org)

PKG_NAME="linux"
PKG_VERSION="addf8562c29d54a0bca1cfa61e1f9e07c9a2ed43"
PKG_SHA256="f31064ba5184d76153759d96c345013843c66657a90277fa97e5f865fed4c588"
PKG_VERSION="d39b52f0c1349b00edbd6ea1cecb256e0399cbf4"
PKG_SHA256="fd0463c5fc5d6f7a86437ea1e00feca7a0e8220736a0e1ec32902d524f9c6a9f"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_URL="https://github.com/CoreELEC/linux-amlogic/archive/${PKG_VERSION}.tar.gz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Copyright (C) 2022-present Team CoreELEC (https://coreelec.tv)

PKG_NAME="kodi"
PKG_VERSION="94f1f1bfc579ddf111b967628a52ba6e475dad5a"
PKG_SHA256="c9455d92a6ff50923b9490309b75d1e7c94b02caebacc1d19d8949e7879d950d"
PKG_VERSION="8aabc81f63d29c8ce82d52d52f06df7344dd5c67"
PKG_SHA256="3efb91042777fd18956470d02f2be4e7fd0d0d4742fac25bd57c67cb678c6854"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/CoreELEC/xbmc/archive/${PKG_VERSION}.tar.gz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)

PKG_NAME="qt-everywhere"
PKG_VERSION="5.13.0"
PKG_SHA256="2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6"
PKG_VERSION="5.15.13"
PKG_SHA256="9550ec8fc758d3d8d9090e261329700ddcd712e2dda97e5fcfeabfac22bea2ca"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://qt-project.org"
PKG_URL="http://download.qt.io/archive/qt/${PKG_VERSION::-2}/${PKG_VERSION}/single/${PKG_NAME}-src-${PKG_VERSION}.tar.xz"
PKG_URL="http://download.qt.io/archive/qt/${PKG_VERSION%.*}/${PKG_VERSION}/single/${PKG_NAME}-opensource-src-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="pcre2 zlib openssl libjpeg-turbo"
PKG_SOURCE_DIR="${PKG_NAME}-src-${PKG_VERSION}"
PKG_LONGDESC="A cross-platform application and UI framework"
Expand All @@ -23,7 +23,7 @@ PKG_CONFIGURE_OPTS_TARGET="-prefix /usr
-force-pkg-config
-openssl-linked
-no-accessibility
-qt-sqlite
-system-sqlite
-no-sql-mysql
-system-zlib
-no-mtdev
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
114
- Update to 2.0.16
113
- Update to 2.0.15
112
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)

PKG_NAME="hyperion.ng"
PKG_VERSION="2.0.15"
PKG_SHA256="2e47fe29b64e02a3438a3d142a737d28af3439e5cc4502d340a605017fda6013"
PKG_REV="113"
PKG_VERSION="2.0.16"
PKG_SHA256="966a5494b75708c04213e1c28aff5c9a909b689ccc19d52c6c708a270b00ca8a"
PKG_REV="114"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/hyperion-project/hyperion.ng"
PKG_URL="https://github.com/hyperion-project/hyperion.ng/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 avahi libusb qt-everywhere pcre protobuf flatbuffers:host flatbuffers libcec libjpeg-turbo qmdnsengine mbedtls alsa-lib"
PKG_DEPENDS_TARGET="toolchain Python3 libusb qt-everywhere protobuf flatbuffers:host flatbuffers libjpeg-turbo qmdnsengine mbedtls alsa-lib"
PKG_SECTION="service"
PKG_SHORTDESC="Hyperion.NG: an AmbiLight controller"
PKG_LONGDESC="Hyperion.NG($PKG_VERSION) is an modern opensource AmbiLight implementation."
Expand All @@ -26,6 +26,7 @@ PKG_CMAKE_OPTS_TARGET="-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \
-DPLATFORM=amlogic \
-DENABLE_AMLOGIC=ON \
-DENABLE_DISPMANX=OFF \
-DENABLE_CEC=OFF \
-DENABLE_FB=ON \
-DENABLE_DEV_WS281XPWM=OFF \
-DENABLE_X11=OFF \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
From 156cfd51d056643a846c594ef6a5d5ebd7bd0a8e Mon Sep 17 00:00:00 2001
From: Portisch <hugo.portisch@yahoo.de>
Date: Sun, 17 Nov 2019 09:20:38 +0100
Subject: [PATCH 1/2] Remove unused libs for Amlogic platform

---
src/hyperion-aml/CMakeLists.txt | 4 ----
src/hyperion-framebuffer/CMakeLists.txt | 4 ----
src/hyperion-remote/CMakeLists.txt | 4 ----
src/hyperion-v4l2/CMakeLists.txt | 4 ----
src/hyperiond/CMakeLists.txt | 4 ----
5 files changed, 20 deletions(-)

diff --git a/src/hyperion-aml/CMakeLists.txt b/src/hyperion-aml/CMakeLists.txt
index 40b04df3..fea62f34 100644
--- a/src/hyperion-aml/CMakeLists.txt
+++ b/src/hyperion-aml/CMakeLists.txt
@@ -23,10 +23,6 @@ else()
target_link_libraries(${PROJECT_NAME} ssdp)
endif()

-if(ENABLE_AMLOGIC)
- target_link_libraries(${PROJECT_NAME} pcre16 dl z)
-endif()
-
install (TARGETS ${PROJECT_NAME} DESTINATION "share/hyperion/bin" COMPONENT "hyperion_aml")

if(CMAKE_HOST_UNIX)
diff --git a/src/hyperion-framebuffer/CMakeLists.txt b/src/hyperion-framebuffer/CMakeLists.txt
index a9470f5c..8ac51da4 100644
--- a/src/hyperion-framebuffer/CMakeLists.txt
+++ b/src/hyperion-framebuffer/CMakeLists.txt
@@ -22,10 +22,6 @@ else()
target_link_libraries(${PROJECT_NAME} ssdp)
endif()

-if(ENABLE_AMLOGIC)
- target_link_libraries(${PROJECT_NAME} pcre16 dl z)
-endif()
-
install (TARGETS ${PROJECT_NAME} DESTINATION "share/hyperion/bin" COMPONENT "hyperion_framebuffer")

if(CMAKE_HOST_UNIX)
diff --git a/src/hyperion-remote/CMakeLists.txt b/src/hyperion-remote/CMakeLists.txt
index ef60a7dc..8046fc15 100644
--- a/src/hyperion-remote/CMakeLists.txt
+++ b/src/hyperion-remote/CMakeLists.txt
@@ -21,10 +21,6 @@ target_link_libraries(${PROJECT_NAME}
Qt${QT_VERSION_MAJOR}::Widgets
)

-if(ENABLE_AMLOGIC)
- target_link_libraries(${PROJECT_NAME} pcre16 dl z)
-endif()
-
if(ENABLE_MDNS)
target_link_libraries(${PROJECT_NAME} mdns)
else()
diff --git a/src/hyperion-v4l2/CMakeLists.txt b/src/hyperion-v4l2/CMakeLists.txt
index 37189cdc..92aadb28 100644
--- a/src/hyperion-v4l2/CMakeLists.txt
+++ b/src/hyperion-v4l2/CMakeLists.txt
@@ -22,10 +22,6 @@ else()
target_link_libraries(${PROJECT_NAME} ssdp)
endif()

-if(ENABLE_AMLOGIC)
- target_link_libraries(${PROJECT_NAME} pcre16 dl z)
-endif()
-
install (TARGETS ${PROJECT_NAME} DESTINATION "share/hyperion/bin" COMPONENT "hyperion_v4l2")

if(CMAKE_HOST_UNIX)
diff --git a/src/hyperiond/CMakeLists.txt b/src/hyperiond/CMakeLists.txt
index 79a0b221..8ecbce4c 100644
--- a/src/hyperiond/CMakeLists.txt
+++ b/src/hyperiond/CMakeLists.txt
@@ -71,10 +71,6 @@ if(ENABLE_PROTOBUF_SERVER)
target_link_libraries(${PROJECT_NAME} protoserver)
endif()

-if(ENABLE_AMLOGIC)
- target_link_libraries(${PROJECT_NAME} pcre16 dl z)
-endif(ENABLE_AMLOGIC)
-
if(ENABLE_DISPMANX)
target_link_libraries(${PROJECT_NAME} dispmanx-grabber)
endif (ENABLE_DISPMANX)
--
2.43.2

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 2e0ddd267d196e1e65e0cdbf5e2933c57a1db278 Mon Sep 17 00:00:00 2001
From: Portisch <hugo.portisch@yahoo.de>
Date: Sun, 17 Nov 2019 09:20:38 +0100
Subject: [PATCH 2/2] Embed image format plugins at Amlogic platform

---
libsrc/db/CMakeLists.txt | 6 ++++++
src/hyperiond/hyperiond.cpp | 5 +++++
2 files changed, 11 insertions(+)

diff --git a/libsrc/db/CMakeLists.txt b/libsrc/db/CMakeLists.txt
index 1beb3fe5..a72ce10f 100644
--- a/libsrc/db/CMakeLists.txt
+++ b/libsrc/db/CMakeLists.txt
@@ -12,3 +12,9 @@ target_link_libraries(database
hyperion-utils
Qt${QT_VERSION_MAJOR}::Sql
)
+
+if (ENABLE_AMLOGIC)
+ target_link_libraries(database
+ ${plugin_libs}
+ )
+endif()
diff --git a/src/hyperiond/hyperiond.cpp b/src/hyperiond/hyperiond.cpp
index 6c71475d..f40d6d2c 100644
--- a/src/hyperiond/hyperiond.cpp
+++ b/src/hyperiond/hyperiond.cpp
@@ -26,6 +26,11 @@
#include <webserver/WebServer.h>
#include "hyperiond.h"

+#ifdef ENABLE_AMLOGIC
+#include <QtPlugin>
+Q_IMPORT_PLUGIN(QGifPlugin)
+#endif
+
// Flatbuffer Server
#ifdef ENABLE_FLATBUF_SERVER
#include <flatbufserver/FlatBufferServer.h>
--
2.43.2

This file was deleted.

Loading

0 comments on commit 9ccf442

Please sign in to comment.