Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2796 from JustEnoughLinuxOS/dev
Browse files Browse the repository at this point in the history
PR for release
  • Loading branch information
fewtarius authored Feb 2, 2024
2 parents 4c398b9 + b4eefb3 commit badce1e
Show file tree
Hide file tree
Showing 98 changed files with 6,206 additions and 6,180 deletions.
2 changes: 1 addition & 1 deletion packages/apps/portmaster/scripts/start_portmaster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ fi
#Start PortMaster
@LIBEGL@
cd /storage/roms/ports/PortMaster
run ./PortMaster.sh 2>/dev/null
./PortMaster.sh 2>/dev/null
2 changes: 1 addition & 1 deletion packages/audio/libmodplug/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libmodplug renders mod music files as raw audio data, for playing or conversion."
PKG_BUILD_FLAGS="+pic"

PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
PKG_CONFIGURE_OPTS_TARGET="--enable-shared --disable-static"
20 changes: 20 additions & 0 deletions packages/devel/hwdata/package.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="hwdata"
PKG_VERSION="0.378"
PKG_SHA256="098ea8db12a50290f4b23f7f521edf9c5bab25935d2740de17e4a487110b40c8"
PKG_LICENSE="GPL-2.0"
PKG_SITE="https://github.com/vcrhonek/hwdata"
PKG_URL="https://github.com/vcrhonek/hwdata/archive/refs/tags/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases"

pre_configure_target() {
# hwdata fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}

sed -i "s&@prefix@|&@prefix@|${PKG_INSTALL}&" Makefile
sed -i "s&prefix=@prefix@&prefix=/usr&" hwdata.pc.in
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ ShowEnhancements = false
DisplayAllFrames = true
VSync = false
MaxFPS = 0.000000
Rotation = 0


[Hotkeys]
Expand Down
2 changes: 1 addition & 1 deletion packages/graphics/libdrm/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="libdrm"
PKG_VERSION="2.4.117"
PKG_VERSION="2.4.119"
PKG_LICENSE="GPL"
PKG_SITE="http://dri.freedesktop.org"
PKG_URL="http://dri.freedesktop.org/libdrm/libdrm-${PKG_VERSION}.tar.xz"
Expand Down
8 changes: 1 addition & 7 deletions packages/graphics/mesa/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,8 @@ case ${DEVICE} in
PKG_URL="${PKG_SITE}.git"
PKG_GIT_CLONE_BRANCH="csf"
;;
RK33*) #Using upstream dev for panfrost
PKG_VERSION="97efa57531b826edf62b00fd4dc26d7568ff941b"
PKG_SITE="https://gitlab.freedesktop.org/mesa/mesa"
PKG_URL="${PKG_SITE}.git"
PKG_PATCH_DIRS+=" panfrost"
;;
*)
PKG_VERSION="23.3.4"
PKG_VERSION="24.0.0"
PKG_SITE="http://www.mesa3d.org/"
PKG_URL="https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-${PKG_VERSION}/mesa-mesa-${PKG_VERSION}.tar.gz"
;;
Expand Down
58 changes: 0 additions & 58 deletions packages/graphics/mesa/patches/panfrost/26811-egl_v1.5.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ set_dmc_gov powersave
set_gpu_gov powersave

### Set max/min freq to lowest available value
echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo 600000 > /sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq
echo 408000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo 408000 > /sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq
echo 200000000 > /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/min_freq

echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 600000 > /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
echo 408000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 408000 > /sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
echo 200000000 > /sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu/max_freq
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cat <<EOF >/storage/.config/profile.d/001-device_config
DEVICE_FAKE_JACKSENSE="true"
DEVICE_HEADPHONE_DEV="/dev/input/by-path/platform-hp-detect-switch-event"
DEVICE_HEADPHONE_DEV="/dev/input/by-path/platform-gpio-keys-event"
DEVICE_VOLUMECTL="true"
DEVICE_POWER_LED="false"
DEVICE_BRIGHTNESS="128"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ if [ ! -d "/storage/.config/gzdoom/" ]; then
/vid_defheight=/c\vid_defheight=480;
/vid_defwidth=/c\vid_defwidth=640' /storage/.config/gzdoom/gzdoom.ini
fi

#Set Duckstastion SA to rotate
sed -i '/^Rotate =/c\Rotate = 1' /storage/.config/duckstation/settings.ini
11 changes: 7 additions & 4 deletions packages/hardware/quirks/platforms/RK3326/060-game_settings
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
. /etc/profile.d/001-functions

### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn ports psx gba
for SYSTEM in dreamcast n64 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z "${CPU_SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z "${GPU_SETTING}" ]
then
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done

18 changes: 13 additions & 5 deletions packages/hardware/quirks/platforms/RK3399/060-game_settings
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,30 @@
. /etc/profile.d/001-functions

### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast gamecube n64 ports ps2 psp saturn
for SYSTEM in dreamcast n64 ports psp psx saturn pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z "${CPU_SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z "${GPU_SETTING}" ]
then
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done

for SYSTEM in gb gbc gba snes nes sms gamegear genesis mastersystem sega32x megadrive segacd megacd
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z ${CPU_SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor powersave
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z ${GPU_SETTING} ]
then
set_setting ${SYSTEM}.gpuperf low
fi
done
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ echo 400000000 >${GPU_FREQ}/min_freq
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z "${SETTING}" ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z "${CPU_SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z "${GPU_SETTING}" ]
then
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done

8 changes: 6 additions & 2 deletions packages/hardware/quirks/platforms/RK3566/060-game_settings
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ echo 400000000 >${GPU_FREQ}/min_freq
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z "${SETTING}" ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z "${CPU_SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z "${GPU_SETTING}" ]
then
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done
Expand Down
11 changes: 7 additions & 4 deletions packages/hardware/quirks/platforms/S922X/060-game_settings
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
. /etc/profile.d/001-functions

### Set the default performance scaling mode for a few systems.
for SYSTEM in 3ds dreamcast gamecube n64 ports ps2 psp saturn
for SYSTEM in dreamcast n64 ports psp psx saturn pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
CPU_SETTING=$(get_setting ${SYSTEM}.cpugovernor)
if [ -z "${CPU_SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
GPU_SETTING=$(get_setting ${SYSTEM}.gpuperf)
if [ -z "${GPU_SETTING}" ]
then
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done

2 changes: 1 addition & 1 deletion packages/jelos/sources/scripts/runemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ then
if [ $? == 0 ]
then
log $0 "backup saves to the cloud."
run /usr/bin/cloud_backup
/usr/bin/cloud_backup
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion packages/kernel/linux/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

PKG_NAME="linux"
PKG_LICENSE="GPL"
PKG_VERSION="6.6.14"
PKG_VERSION="6.7.3"
PKG_URL="https://www.kernel.org/pub/linux/kernel/v6.x/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_HOST="ccache:host rsync:host openssl:host rdfind:host"
Expand Down
Loading

0 comments on commit badce1e

Please sign in to comment.