Merge pull request #171 from fewtarius/dev

Updates and bug fixes
This commit is contained in:
fewtarius 2022-06-01 17:27:21 -04:00 committed by GitHub
commit 0ed166705f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 166 additions and 148 deletions

View file

@ -1,3 +1,4 @@
np2kai # Last major commit before hiatus is broken
vicesa # Doesn't support updating with the script.
PPSSPPSDL # non-buffered rendering is still broken.
pcsx_rearmed # Blocked by https://github.com/libretro/pcsx_rearmed/commit/b012a437739802ba3f35827b17469ea7a8b7953c

View file

@ -2,7 +2,7 @@
# Copyright (C) 2018-present Frank Hartung (supervisedthinking (@) gmail.com)
PKG_NAME="amiberry"
PKG_VERSION="13179ac5bd5bedd929506c62543b500b7b97e020"
PKG_VERSION="0120797f286334bb9cefc4c0298e90de9018c7d4"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/midwan/amiberry"
PKG_URL="${PKG_SITE}.git"

View file

@ -4,7 +4,7 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="flycastsa"
PKG_VERSION="baab70c509093dcd2f64ccbc53935c06fb5ac9f9"
PKG_VERSION="ddcd3861d39c20583573c2197e01373f3368568d"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="${PKG_SITE}.git"

View file

@ -2,8 +2,8 @@
# Copyright (C) 2018-present 5schatten (https://github.com/5schatten)
PKG_NAME="hatarisa"
PKG_VERSION="842fbe19421f611e0a777acb2b84c0c1928dfcaf"
PKG_SHA256="bd4f138d7aabd030eeb6239f6b4076f13425b6ec78d5379ceaac01dbba8ce30b"
PKG_VERSION="487f65d48d90f36ddd9b0180b04fbdc54012b86a"
PKG_SHA256="a57ca73d4783011e43fa2ef1de74628b5f5ae4c714d1e6cdf3d895cfeb0c6a50"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/hatari/hatari"
PKG_URL="https://github.com/hatari/hatari/archive/${PKG_VERSION}.tar.gz"

View file

@ -3,7 +3,7 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="raze"
PKG_VERSION="79c671b890d2ce24e11f9f5c91e27286512df711"
PKG_VERSION="f245a708830e21f5a52366a7d4966dd3d7600bc2"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/coelckers/Raze"
PKG_URL="${PKG_SITE}.git"

View file

@ -2,7 +2,7 @@
# Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC)
PKG_NAME="retroarch"
PKG_VERSION="650101083db7ec1f083051ba0a89dc51d76b64a2"
PKG_VERSION="b8d9070c9b5cb65f901d2c47eb0ae400c8c1b7d9"
PKG_SITE="https://github.com/libretro/RetroArch"
PKG_URL="${PKG_SITE}.git"
PKG_LICENSE="GPLv3"

View file

@ -1,55 +0,0 @@
From cfc19b7e5ccaabd0ae5cf74a470badc04a97fab0 Mon Sep 17 00:00:00 2001
From: valadaa48 <valadaa48@gmx.com>
Date: Sun, 13 Dec 2020 15:24:02 -0500
Subject: [PATCH] video_thread_wrapper: implement
RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER:
---
gfx/video_thread_wrapper.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c
index d663eed6e1..b743e5e95b 100644
--- a/gfx/video_thread_wrapper.c
+++ b/gfx/video_thread_wrapper.c
@@ -596,7 +596,7 @@ static bool video_thread_frame(void *data, const void *frame_,
* still working on last frame. */
if (!thr->frame.updated)
{
- if (src)
+ if (src && src != dst)
{
unsigned h;
for (h = 0; h < height; h++, src += pitch, dst += copy_stride)
@@ -1189,6 +1189,20 @@ static uint32_t thread_get_flags(void *data)
return thr->poke->get_flags(thr->driver_data);
}
+static bool thread_get_current_software_framebuffer(void *data,
+ struct retro_framebuffer *framebuffer)
+{
+ thread_video_t *thr = (thread_video_t*)data;
+ if (!thr)
+ return false;
+
+ framebuffer->data = (uint8_t*)thr->frame.buffer;
+ framebuffer->pitch = thr->frame.pitch;
+ framebuffer->format = thr->info.rgb32 ? RETRO_PIXEL_FORMAT_XRGB8888 : RETRO_PIXEL_FORMAT_RGB565;
+
+ return true;
+}
+
static const video_poke_interface_t thread_poke = {
thread_get_flags,
thread_load_texture,
@@ -1211,7 +1225,7 @@ static const video_poke_interface_t thread_poke = {
thread_grab_mouse_toggle,
thread_get_current_shader,
- NULL, /* get_current_software_framebuffer */
+ thread_get_current_software_framebuffer,
NULL, /* get_hw_render_interface */
thread_set_hdr_max_nits,
thread_set_hdr_paper_white_nits,

View file

@ -113,7 +113,7 @@ core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/la
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "ondemand"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"

View file

@ -113,7 +113,7 @@ core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/la
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "ondemand"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"

View file

@ -113,7 +113,7 @@ core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/la
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "ondemand"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"

View file

@ -113,7 +113,7 @@ core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/la
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "ondemand"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"

View file

@ -113,7 +113,7 @@ core_updater_buildbot_url = "http://buildbot.libretro.com/nightly/linux/armhf/la
core_updater_show_experimental_cores = "false"
cpu_main_gov = "performance"
cpu_max_freq = "-1"
cpu_menu_gov = "ondemand"
cpu_menu_gov = "interactive"
cpu_min_freq = "1"
cpu_scaling_mode = "0"
crt_switch_center_adjust = "0"

View file

@ -3,8 +3,8 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="scummvmsa"
PKG_VERSION="e4101b904acb0794c36f5b26708f701a0a7449ce"
PKG_SHA256="00dde625483ebb71e39609766ea9dd785a269b3095b18ce875a7e32a1ae7015a"
PKG_VERSION="341134aa04cee469f817d0651b55c7d89e484ac5"
PKG_SHA256="02497b827fb8c8fa145c385ad95d4f30fb055e7d4cbcbd847775ddd0a1ac49cd"
PKG_REV="1"
PKG_LICENSE="GPL2"
PKG_SITE="https://github.com/scummvm/scummvm"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="TIC-80"
PKG_VERSION="9a53121230f47bac1cf71568419eca3edb482f7a"
PKG_VERSION="e76e4a667dcff382672e2b62edf3ce767637d5ae"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="atari800"
PKG_VERSION="beab30e7ea10b7ed14d0514064f47d16f76cd995"
PKG_VERSION="c2153abab8160ef79ad336dc30eab549bab774f8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="beetle-lynx"
PKG_VERSION="de0d520d679cb92767876d4e98da908b1ea6a2d6"
PKG_SHA256="84136272b5ff87e140b3174b3dcc070d6cee06bf7d2673f1c0f442f507059cdb"
PKG_VERSION="2f74c21f500cb80cc3d594d0a3cff734957eebf9"
PKG_SHA256="e44ce6045799828f12cb7fbf923ae84759f739c969dac7ac077022244767cef7"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="beetle-ngp"
PKG_VERSION="facf8e1f5440c5d289258ee3c483710f3bf916fb"
PKG_SHA256="47fec6e5ad4c60d3d84acbc7b9b94f103797fe784b9ae3395c5ee9d8c6c33fac"
PKG_VERSION="3b4be06d6c768aeb4d22a8003d03b84d70b9c1fe"
PKG_SHA256="8fe382a3ee510fcc3f4ea500ff966154a5a42ae7694e4b33807d318359600697"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="beetle-vb"
PKG_VERSION="246555f8ed7e0b9e5748b2ee2ed6743187c61393"
PKG_SHA256="af8a5424b4ba61385db8e100aca36227ca585ab0ba0b98666acd7d4afc5d8962"
PKG_VERSION="b3db8882109e4563ac4fcceab2392253a4a359a6"
PKG_SHA256="dfa7b377d6247caf710db3782c975cea612f5ce0b23290fa3fdaa63af9e19dea"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="beetle-wswan"
PKG_VERSION="d1fb3f399a2bc16b9ad0f2e8c8ba9f7051cd26bd"
PKG_SHA256="18df2d0810705c09a00948d311b2e147e32ea9d0e3cdc1e860b434dac19e8f45"
PKG_VERSION="f427a9c21d9048ef39e63a24dd792c615dcc84e8"
PKG_SHA256="4ed4ec6886f37b419637e594a5f08722e268977a482f26393e6e860e3dcf84e4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -3,8 +3,8 @@
# Maintenance 2020 351ELEC team (https://github.com/fewtarius/351ELEC)
PKG_NAME="fbneo"
PKG_VERSION="12e06be44e44c48bf3a757387b4aa90db08d45ed"
PKG_SHA256="a58c03a5001e1b83b486b80651bf3bdb4281488818e8ffbfee037139a27b3c91"
PKG_VERSION="a9ef2340c34d774fcc05829bc8d6f85f9938e863"
PKG_SHA256="08485b14e85147c1ee9255be460683923d6f19db7b48515833ef32a3223c0362"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Non-commercial"

View file

@ -3,7 +3,7 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="flycast"
PKG_VERSION="baab70c509093dcd2f64ccbc53935c06fb5ac9f9"
PKG_VERSION="ddcd3861d39c20583573c2197e01373f3368568d"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain ${OPENGLES} libzip"

View file

@ -1,5 +1,5 @@
PKG_NAME="freechaf"
PKG_VERSION="77109469e5d634811162ba9035e549d3058d718e"
PKG_VERSION="1030d5e64078767480cccef4c7e5539db4be31b9"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -3,8 +3,8 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="freej2me"
PKG_VERSION="e99627ffcb4a02c9ab19d2e9d568b5196c886dce"
PKG_SHA256="589f2f92c0805c89b42a9691554506b7452b78cf4ea3574022716cf6b13c19d0"
PKG_VERSION="5919af91d0f4363f19131add0808928652f6c6a9"
PKG_SHA256="529687efb0f312d35761b86d55c1285e538521f5daf2dcd70a98759635273680"
PKG_REV="1"
PKG_ARCH="any"
PKG_SITE="https://github.com/hex007/freej2me"

View file

@ -21,8 +21,8 @@
################################################################################
PKG_NAME="gpsp"
PKG_VERSION="f0f0b31f9ab95946965b75fed8d31e19290f3d43"
PKG_SHA256="724d293719887657bbba1fd73960d9fd9d399fb7ba61ffb14151929983e272fd"
PKG_VERSION="03fc2b7dbf1d4cae6d87947c78fcc4dd231d72d9"
PKG_SHA256="af2ad16764ad5e8fdc175ea03021aa26ab1abb1f87055898ab98f7a690bb0c52"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="libretro-database"
PKG_VERSION="785710187ebe8dd0704b51d8a61fc2f0fad6044f"
PKG_SHA256="7d625587a502d63f1310efd3fe73dc0828b6ed1a2f60f60e64f1f0a4e218a6e1"
PKG_VERSION="f7bec06eb66976e6b2c5be1330eb6b9a35a0e062"
PKG_SHA256="9646b16a6d04840f022c54de4b173aa38cbe1165ffd593dca224baaeb314bae4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View file

@ -2,8 +2,8 @@
# Copyright (C) 2019 Trond Haugland (trondah@gmail.com)
PKG_NAME="mame"
PKG_VERSION="b92680badd44aaa5f863a2b7e9cb78322e579ac1"
PKG_SHA256="609cee9e02f2c1068f6c662ffbec91038925e0cd53f9b009f334f4349f6b3589"
PKG_VERSION="fdb7edfb0d142ddb93aa558daa6a771a40fe1c4e"
PKG_SHA256="4cf932879e107b8cd3b4649894a7d3c1d49f970dc8f6d82c1aa43020e1ea4962"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mame"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="mame2003-plus"
PKG_VERSION="fecf11dfbdf77f24dc20531d5bc489c5ec9fb80f"
PKG_SHA256="fb94bded09363f6846b06344946f2279fea730a5798ff816b3031cec233af8de"
PKG_VERSION="5838f2e83e767668f8962ba78f2bc2f910499e5e"
PKG_SHA256="b5b1adff72bac9e9ed7876b7fd85f1e9f4034d4d7db24a38c8fca59c9c91e0a1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MAME"

View file

@ -3,6 +3,7 @@
PKG_NAME="mesen"
PKG_VERSION="bb9ea02eba28682986044a6f49329ec533aa26ba"
PKG_SHA256="ff1b5b567d5e11c1ea63c2d58b1e7c8d7b673bb425908f115f516b1faa446e5f"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/Mesen"

View file

@ -2,8 +2,8 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="mupen64plus-nx"
PKG_VERSION="9f0849454dee17e66099ef8cdf8d53a86a3ade02"
PKG_SHA256="7fe742f5dd47bc5b0c354630b33f81981e76dc0f6d4f2a746b298fc3ac440502"
PKG_VERSION="9beacb26c543cc88c57ed96ca0a72c1925827870"
PKG_SHA256="a4c39df3c0350d93471e00e9b82bc7284d956e302a94bde64c5e0a1aba653314"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mupen64plus-libretro-nx"

View file

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="ppsspp"
PKG_VERSION="83f3539f32bc138b0a48f7d61bb34e19c609d6bc"
PKG_VERSION="3bf0c0088e615fee4cd33e6d22795e71fb640dc2"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/hrydgard/ppsspp"
PKG_URL="https://github.com/hrydgard/ppsspp.git"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="puae"
PKG_VERSION="1849a0c245ce820a68faa552910ff62968d6c57e"
PKG_SHA256="ca02fd52987a377ecf8eb2f31fe5a38611f07ac122ddeb3aa27ccaa4ca1482f8"
PKG_VERSION="a74f9b32389edf9c0a64edc3bb72d6dc7841f306"
PKG_SHA256="373a9e46720045df2cf6f6032f79e352d6e58aec22467add94ecbb2ca17caf38"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View file

@ -20,8 +20,8 @@
################################################################################
PKG_NAME="sameboy"
PKG_VERSION="b154b7d3d885a3cf31203f0b8f50d3b37c8b742b"
PKG_SHA256="a8728627d7343abc097d74ff0a0f7ad6ebb5d5b70aba1f7ff81b73ce8f192806"
PKG_VERSION="9fd4e30591317aea48bb9ebd6095c0527c708b29"
PKG_SHA256="2c9adc18d2232c7dbfffa6a72310084024d868fca71e846b5ffcbfa3e4700c65"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"

View file

@ -19,8 +19,8 @@
################################################################################
PKG_NAME="stella"
PKG_VERSION="264e573cf8f6ab5ee945f18624113a68fda6aa27"
PKG_SHA256="34369ebb0ffe43da3c3682777ea04073025d00fc215c3a475fb2b262ce3b2745"
PKG_VERSION="6815513d4794f5a3a90cf0924f5b3b58ee71e562"
PKG_SHA256="b18d80eecc113da075c5bfa312cf9b400536fbab4665ba413126c9e6875b7839"
PKG_REV="1"
PKG_LICENSE="GPL2"
PKG_SITE="https://github.com/stella-emu/stella"

View file

@ -3,8 +3,8 @@
# Maintenance 2020 351ELEC team (https://github.com/fewtarius/351ELEC)
PKG_NAME="swanstation"
PKG_VERSION="76fea7b2679b0bf90bc8dea1e940c0b61e23be36"
PKG_SHA256="5d909d392733e8a821ce1a9cee7ea740ee87f4e06866913e9aad41befe94ddcf"
PKG_VERSION="e15a184c86c8bb1afc7e6015d8a6d2d5f4d40ea9"
PKG_SHA256="79866abb16710e9590681450ebc98d18f8c2397967c0f3f6516ab61a9702a790"
PKG_ARCH="aarch64"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/swanstation"

View file

@ -19,8 +19,8 @@
################################################################################
PKG_NAME="tyrquake"
PKG_VERSION="c516c1fe4266e5f982703d509cc10ceb12167894"
PKG_SHA256="6925305c2b7b5b46b4174d8588af6e6be483ae8187bb550748ad496c7e683ef4"
PKG_VERSION="c2b8ea01feb573b24a4c3eb4ef67b591e8f436f5"
PKG_SHA256="b72d052ea7b197cf78f63f14dbbd01bba7b18dc3fd5c32976fb8f41fec2316a8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,6 +20,7 @@
PKG_NAME="virtualjaguar"
PKG_VERSION="263c979be4ca757c43fb525bd6f0887998e57041"
PKG_SHA256="488717293e737a602be6f5550df21064314fee422e144c62b3f92e63a6222b30"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"

View file

@ -222,6 +222,7 @@ supervision.integerscale=1
system.hostname=@DEVICENAME@
system.language=en_US
system.overclock=off
system.cpugovernor=interactive
system.timezone=America/New_York
tg16cd.integerscale=1
tg16cd.ratio=4/3
@ -231,7 +232,7 @@ tg16.ratio=4/3
tg16.rgascale=0
updates.enabled=1
updates.force=0
updates.branch=main
updates.branch=stable
uzebox.integerscale=1
uzebox.integerscale=1
uzebox.rgascale=0

View file

@ -4,27 +4,42 @@
. /etc/os-release
set_gov() {
set_cpu_gov() {
for POLICY in ${CPU_FREQ[@]}
do
echo $1 >${POLICY}/scaling_governor 2>/dev/null
done
for HANDLE in ${GPU_FREQ} ${DMC_FREQ}
do
echo $1 >${HANDLE}/governor 2>/dev/null || echo dmc_$1 >${HANDLE}/governor 2>/dev/null
done
}
maxperf() {
set_gov performance
set_dmc_gov() {
echo $1 >${DMC_FREQ}/governor 2>/dev/null || echo dmc_$1 >${DMC_FREQ}/governor 2>/dev/null
}
normperf() {
set_gov ondemand
set_gpu_gov() {
echo $1 >${GPU_FREQ}/governor 2>/dev/null || echo dmc_$1 >${GPU_FREQ}/governor 2>/dev/null
}
performance() {
set_cpu_gov performance
set_gpu_gov performance
set_dmc_gov performance
}
ondemand() {
set_cpu_gov ondemand
set_gpu_gov ondemand
set_dmc_gov ondemand
}
interactive() {
set_cpu_gov interactive
set_gpu_gov ondemand
set_dmc_gov ondemand
}
powersave() {
set_gov powersave
set_cpu_gov powersave
set_gpu_gov powersave
set_dmc_gov powersave
}

View file

@ -6,7 +6,7 @@
. /etc/os-release
BOOTLOG="/var/log/boot.log"
maxperf 2>&1 >${BOOTLOG}
performance 2>&1 >${BOOTLOG}
date 2>&1 >>${BOOTLOG}
@ -43,5 +43,6 @@ fi
clear >/dev/console 2>&1 >>${BOOTLOG}
normperf 2>&1 >>${BOOTLOG}
DEVICE_CPU_GOVERNOR=$(get_setting system.cpugovernor)
${DEVICE_CPU_GOVERNOR} 2>&1 >>${BOOTLOG}
date 2>&1 >>${BOOTLOG}

View file

@ -24,3 +24,10 @@ ln -sf /tmp/cache /storage/cache/.cores
### We do not want to mount the cloud drive on startup
### so we'll reset the mount option to 0.
set_setting clouddrive.mounted 0
### If we don't have a default governor set, set it
### to interactive.
if [ -z "$(get_setting system.cpugovernor)" ]
then
set_setting system.cpugovernor interactive
fi

0
packages/jelos/sources/autostart/common/098-wireguard Normal file → Executable file
View file

View file

@ -49,3 +49,11 @@ do
rm -f /storage/.config/emulationstation/${es_cfg}
ln -s /usr/config/emulationstation/${es_cfg} /storage/.config/emulationstation/${es_cfg}
done
### Link themes
cd /storage/.config/emulationstation/themes
for theme in /usr/share/themes/*
do
ln -sf ${theme} .
done
cd -

View file

@ -95,9 +95,10 @@ fi
### Set the performance mode
if [ $(get_setting "maxperf" "${PLATFORM}" "${ROMNAME##*/}") == "0" ]
then
normperf &
DEVICE_CPU_GOVERNOR=$(get_setting system.cpugovernor)
${DEVICE_CPU_GOVERNOR} &
else
maxperf &
performance &
fi
### Set the cores to use
@ -188,7 +189,8 @@ function quit() {
bluetooth enable
jslisten stop
clear_screen
normperf
DEVICE_CPU_GOVERNOR=$(get_setting system.cpugovernor)
${DEVICE_CPU_GOVERNOR}
set_audio default
exit $1
}

View file

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2021-present Fewtarius
. /etc/os-release
@ -7,8 +8,8 @@ export HOME="/storage"
export PATH="/usr/bin:/usr/sbin"
export LD_LIBRARY_PATH="/usr/lib"
export HOSTNAME=`cat /etc/hostname`
export PS1="\e[1;30m\]${HW_DEVICE}:\[\e[1;30m\]\w \[\e[0m\]\\$ \e[0m"
# k0p
export PS1='\e[1;30m'"${HW_DEVICE}"':\e[1;30m\w \e[0m\$ \e[0m'
case "$TERM" in
linux|nxterm|screen|xterm|xterm-color)
;;

View file

@ -1169,15 +1169,6 @@ delete_descriptors() {
# Do init tasks to bring up system
# set ondemand up_threshold
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
else
for f in $(ls /sys/devices/system/cpu/cpufreq/policy*/ondemand/up_threshold 2>/dev/null) ; do
echo 50 > $f
done
fi
# run platform_init script if exists
if [ -f "./platform_init" ]; then
./platform_init

View file

@ -0,0 +1,18 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022-present Fewtarius
PKG_NAME="es-theme-minimal"
PKG_VERSION="b478b0e"
PKG_ARCH="any"
PKG_LICENSE="creative commons CC-BY-NC-SA"
PKG_SITE="https://github.com/fabricecaruso/es-theme-minimal"
PKG_URL="${PKG_SITE}.git"
GET_HANDLER_SUPPORT="git"
PKG_SHORTDESC="Minimal"
PKG_LONGDESC="Minimal theme by fabricecaruso"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/share/themes/${PKG_NAME}
cp -rf * ${INSTALL}/usr/share/themes/${PKG_NAME}
}

View file

@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020 Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2020 351ELEC team (https://github.com/fewtarius/351ELEC)
# Copyright (C) 2021 Fewtarius
PKG_NAME="es-theme-terminal"
PKG_VERSION="65c8e2df07f26750190c6d081bace8ba6c10f1be"
PKG_ARCH="any"
PKG_LICENSE="CUSTOM"
PKG_SITE="https://github.com/anthonycaccese/es-theme-terminal"
PKG_URL="${PKG_SITE}.git"
GET_HANDLER_SUPPORT="git"
PKG_SHORTDESC="Terminal"
PKG_LONGDESC="Terminal theme by Anthony Caccese"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/share/themes/${PKG_NAME}
cp -rf * ${INSTALL}/usr/share/themes/${PKG_NAME}
}

View file

@ -3,7 +3,7 @@
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="thememaster"
PKG_VERSION="55795a9c4be13a07b47bbc0dc917bde8928e7d71"
PKG_VERSION="1aa9f915bb6876a25f908995d349ad487116422d"
PKG_ARCH="any"
PKG_SITE="https://github.com/JohnIrvine1433/ThemeMaster"
PKG_URL="${PKG_SITE}.git"

View file

@ -3,14 +3,14 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="aad4531"
PKG_VERSION="0d0c784"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/JustEnoughLinuxOS/emulationstation"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="boost toolchain SDL2 freetype curl freeimage bash rapidjson ${OPENGLES} SDL2_mixer fping p7zip vlc"
PKG_DEPENDS_TARGET="boost toolchain SDL2 freetype curl freeimage bash rapidjson ${OPENGLES} SDL2_mixer fping p7zip vlc es-themes"
PKG_NEED_UNPACK="busybox"
PKG_SHORTDESC="Emulationstation emulator frontend"
PKG_BUILD_FLAGS="-gold"
@ -18,9 +18,6 @@ GET_HANDLER_SUPPORT="git"
PKG_PATCH_DIRS+="${DEVICE}"
# themes for Emulationstation
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} es-theme-art-book-next"
PKG_CMAKE_OPTS_TARGET=" -DENABLE_EMUELEC=1 -DGLES2=1 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0"
##########################################################################################################

View file

@ -27,9 +27,9 @@ then
if [ ! -d $localepath ]; then
export I18NPATH=$i18npath
maxperf
performance
/usr/bin/localedef -f $charmap -i $locale $localepath
normperf
${DEVICE_CPU_GOVERNOR}
fi
export LOCPATH=$locpath

View file

@ -2,7 +2,7 @@
# Copyright (C) 2022 - Fewtarius
PKG_NAME="arm32"
PKG_LICENSE="GPL"
PKG_LICENSE="Apache-2.0"
PKG_SITE="www.jelos.org"
PKG_DEPENDS_TARGET="toolchain squashfs-tools:host dosfstools:host fakeroot:host kmod:host mtools:host populatefs:host libc gcc linux linux-drivers linux-firmware libusb unzip socat p7zip file ${OPENGLES} SDL2 SDL2_gfx SDL2_image SDL2_mixer SDL2_net SDL2_ttf libgo2 retroarch pcsx_rearmed parallel-n64_rice parallel-n64_gln64 parallel-n64_glide64 gpsp"
PKG_SECTION="virtual"

View file

@ -0,0 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022 - Fewtarius
PKG_NAME="es-themes"
PKG_LICENSE="Apache-2.0"
PKG_SITE="www.jelos.org"
PKG_DEPENDS_TARGET="es-theme-art-book-next es-theme-terminal es-theme-minimal thememaster"
PKG_SECTION="virtual"
PKG_LONGDESC="EmulationStation themes package."

View file

@ -25,9 +25,9 @@ DEVICE_PWM_MOTOR="pwmchip1"
#DEVICE_JACK=""
# FREQ governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0/scaling_governor")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu/governor"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc/governor"
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
# Affinity
SLOW_CORES="taskset -c 0-3"

View file

@ -97,7 +97,7 @@
SAMBA_SUPPORT="no"
# build and install Samba Server (yes / no)
SAMBA_SERVER="no"
SAMBA_SERVER="yes"
# build and install SFTP Server (yes / no)
SFTP_SERVER="yes"

View file

@ -29,7 +29,7 @@ then
elif [[ "${DEVICE}" =~ RG503 ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rk356x-kernel.git"
PKG_VERSION="555ef2e5b5edbcdd44a50bb3020cb28433067da2"
PKG_VERSION="7a64c50e6"
fi
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die