diff --git a/Config.in b/Config.in index e3d0bb50109b0f69c3b1707cd6ef9bb384e01f8a..b9e5ba95e2bae4419904d182934471bcd70c331b 100644 --- a/Config.in +++ b/Config.in @@ -266,6 +266,9 @@ menu "Languages" source "$BR2_EXTERNAL_RECALBOX_PATH/package/kodi-resource-language-tr_tr/Config.in" source "$BR2_EXTERNAL_RECALBOX_PATH/package/kodi-resource-language-zh_cn/Config.in" endmenu +menu "Skins" + source "$BR2_EXTERNAL_RECALBOX_PATH/package/kodi-skin-confluence-480/Config.in" +endmenu endmenu menu "Utils" source "$BR2_EXTERNAL_RECALBOX_PATH/package/fbv-recalbox/Config.in" diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index d7b65e79c5ba38d64e139847f0a3852730d88607..267a67d146b7470afa48fce303b59e5e4da754c1 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -25,6 +25,7 @@ as release notes for end user on a Recalbox upgrade. - Fix resolution selection in frontend for Raspberry Pi 4/400/3/Zero2 (KMS) - Add new system 'Macintosh' with new core libretro-MinivMac (RPi3/RPi4/XU4/OGS/PC) - Add support for nVidia Prime Offloading (for computers with both iGPU and nVidia GPU) +- Add new Kodi theme for lower resolutions ### Improvements - Improve metadata storage, using far less memory for huge game collections diff --git a/package/kodi-skin-confluence-480/Config.in b/package/kodi-skin-confluence-480/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..f15447f2ce4e72cf102ed35c0815c2407906e30f --- /dev/null +++ b/package/kodi-skin-confluence-480/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_KODI_SKIN_CONFLUENCE_480 + bool "kodi-skin-confluence-480" + default y + depends on BR2_PACKAGE_KODI + help + Kodi Skin confluence 480 + + https://kodi.tv/addons/matrix/skin.confluence diff --git a/package/kodi-skin-confluence-480/kodi_skin_confluence_480.mk b/package/kodi-skin-confluence-480/kodi_skin_confluence_480.mk new file mode 100644 index 0000000000000000000000000000000000000000..c195909c3e6b16095327f48923f446bd0b5cf781 --- /dev/null +++ b/package/kodi-skin-confluence-480/kodi_skin_confluence_480.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# kodi confluence 480 skin +# +################################################################################ + +KODI_SKIN_CONFLUENCE_480_VERSION = 4.7.15 +KODI_SKIN_CONFLUENCE_480_SOURCE = skin.confluence.480_v$(KODI_SKIN_CONFLUENCE_480_VERSION).zip +KODI_SKIN_CONFLUENCE_480_SITE = https://github.com/YggdrasiI/skin.confluence.480/releases/download/v$(KODI_SKIN_CONFLUENCE_480_VERSION) +KODI_SKIN_CONFLUENCE_480_PLUGINNAME = skin.confluence.480 +KODI_SKIN_CONFLUENCE_480_LICENSE = GPL-2.0 +KODI_SKIN_CONFLUENCE_480_LICENSE_FILES = skin.confluence.480/LICENSE.txt + +KODI_SKIN_CONFLUENCE_480_TARGET_DIR=$(TARGET_DIR)/usr/share/kodi/addons + +define KODI_SKIN_CONFLUENCE_480_EXTRACT_CMDS + @unzip -q -o $(DL_DIR)/kodi-skin-confluence-480/$(KODI_SKIN_CONFLUENCE_480_SOURCE) -d $(@D) +endef + +define KODI_SKIN_CONFLUENCE_480_INSTALL_TARGET_CMDS + @mkdir -p $(KODI_SKIN_CONFLUENCE_480_TARGET_DIR) + @cp -r $(@D)/$(KODI_SKIN_CONFLUENCE_480_PLUGINNAME) $(KODI_SKIN_CONFLUENCE_480_TARGET_DIR) +endef + +$(eval $(generic-package)) diff --git a/package/recalbox-crt/S13crt b/package/recalbox-crt/S13crt index 0b32f08f4ef048fe41d8c071a7b313879105dbdc..5ad2ca829c58a57ea2f4a3364c2b6fb240c3956b 100644 --- a/package/recalbox-crt/S13crt +++ b/package/recalbox-crt/S13crt @@ -28,6 +28,7 @@ CRT_OPTIONS_FILE="/boot/crt/recalbox-crt-options.cfg" CRT_DAC_FILE="/boot/crt/recalbox-crt-config.txt" TIMINGS_FILE="/boot/crt/timings.txt" SWITCH_31KHZ_FILE="/sys/devices/platform/recalboxrgbdual/dipswitch-31khz/value" +KODI_GUI_FILE="/recalbox/share/system/.kodi/userdata/guisettings.xml" RRGBDUAL_FILE="/sys/firmware/devicetree/base/hat/product" RRGBDUAL_LASTBOOT="/boot/crt/.stamprrgbdual" @@ -82,6 +83,18 @@ function unconfigureCRT { mount -o remount,ro /boot } +function configure_kodi { + recallog -s "S13crt" -t "CRT" "Adding skin configuration in Kodi" + echo "" >>"${KODI_GUI_FILE}" + sed -i "s/skin\.estuary/skin\.confluence\.480/g" "${KODI_GUI_FILE}" +} + +function unconfigure_kodi { + recallog -s "S13crt" -t "CRT" "Removing skin configuration in Kodi" + echo "" >>"${KODI_GUI_FILE}" + sed -i "s/skin\.confluence\.480/skin\.estuary/g" "${KODI_GUI_FILE}" +} + function rmTimings { mount -o remount,rw /boot rm -rf "${TIMINGS_FILE}" @@ -184,6 +197,7 @@ if test "$1" == "start"; then recallog -s "S13crt" -t "CRT" "Processing Recalbox RGB Dual automatic installation." switchTo "CRT" configure_rbconf + configure_kodi mount -o remount,rw /boot touch "${RRGBDUAL_LASTBOOT}" mount -o remount,ro /boot @@ -221,7 +235,9 @@ if test "$1" == "start"; then if oldThemeInstalled; then recallog -s "S13crt" -t "CRT" "Migrate for old theme." unconfigure_rbconf + unconfigure_kodi configure_rbconf + configure_kodi fi # RRGBD 31khz switch means we must force jack audio @@ -305,6 +321,7 @@ if test "$1" == "start"; then if oldThemeInstalled; then recallog -s "S13crt" -t "CRT" "Migrate for old theme." configure_rbconf + configure_kodi fi if [[ ! -f "${CRT_DAC_FILE}" ]] || ! grep -q "#device=${DAC}" "${CRT_DAC_FILE}"; then source /recalbox/scripts/recalbox-utils.sh @@ -315,6 +332,7 @@ if test "$1" == "start"; then mount -o remount,ro /boot switchTo "CRT" configure_rbconf + configure_kodi reboot fi # Jack have been set from ES