Merge branch 'dev' into dev
This commit is contained in:
commit
3a3a967cf2
25 changed files with 2921 additions and 110 deletions
|
@ -1,6 +1,6 @@
|
|||
<img src="https://raw.githubusercontent.com/JustEnoughLinuxOS/distribution/dev/distributions/JELOS/logos/jelos-logo.png" width=192> [![Latest Version](https://img.shields.io/github/release/JustEnoughLinuxOS/distribution.svg?color=5998FF&label=latest%20version&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/releases/latest) [![Activity](https://img.shields.io/github/commit-activity/m/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/commits) [![Pull Requests](https://img.shields.io/github/issues-pr-closed/JustEnoughLinuxOS/distribution?color=5998FF&style=flat-square)](https://github.com/JustEnoughLinuxOS/distribution/pulls) [![Discord Server](https://img.shields.io/discord/948029830325235753?color=5998FF&label=chat&style=flat-square)](https://discord.gg/seTxckZjJy)
|
||||
#
|
||||
Just Enough Linux Operating System (JELOS) is a simple Linux distribution for ARM based devices that specializes in handhelds. My goal is to build an operating system that has the features and capabilities that I need, and to have fun building it.
|
||||
Just Enough Linux Operating System (JELOS) is a simple Linux distribution for ARM and PC based gaming devices. My goal is to build an operating system that has the features and capabilities that I need, and to have fun building it.
|
||||
|
||||
## Features
|
||||
* A 64bit Linux Operating System.
|
||||
|
@ -9,7 +9,7 @@ Just Enough Linux Operating System (JELOS) is a simple Linux distribution for AR
|
|||
* Supports FAT32, ExFAT, and EXT4 file systems on devices with a second card slot.
|
||||
* 2.4GHz and 5GHz 802.11 A/B/G/N/AC WIFI support.
|
||||
* Online updates for easy access to stable or development builds.
|
||||
* Supports Anbernic's RG552, RG503, RG353P, RG351P/M, RG351MP, and RG351V.
|
||||
* Supports Anbernic's RG552, RG503, RG353P, RG351P/M, RG351MP, RG351V, and Win600.
|
||||
* Developed by a small, friendly community.
|
||||
|
||||
## Licenses
|
||||
|
|
49
packages/games/emulators/gzdoom/patches/RG503/01-fixes.patch
Normal file
49
packages/games/emulators/gzdoom/patches/RG503/01-fixes.patch
Normal file
|
@ -0,0 +1,49 @@
|
|||
diff --git a/src/common/menu/menu.cpp b/src/common/menu/menu.cpp
|
||||
index 4532dae1d..8c394dc79 100644
|
||||
--- a/src/common/menu/menu.cpp
|
||||
+++ b/src/common/menu/menu.cpp
|
||||
@@ -702,7 +702,7 @@ bool M_Responder (event_t *ev)
|
||||
mkey = MKEY_Back;
|
||||
break;
|
||||
|
||||
- case KEY_JOY4:
|
||||
+ case KEY_JOY3:
|
||||
case KEY_PAD_X:
|
||||
mkey = MKEY_Clear;
|
||||
break;
|
||||
@@ -721,7 +721,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_UP:
|
||||
case KEY_JOYAXIS2MINUS:
|
||||
case KEY_JOYPOV1_UP:
|
||||
- case KEY_JOY9:
|
||||
+ case KEY_JOY14:
|
||||
mkey = MKEY_Up;
|
||||
break;
|
||||
|
||||
@@ -729,7 +729,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_DOWN:
|
||||
case KEY_JOYAXIS2PLUS:
|
||||
case KEY_JOYPOV1_DOWN:
|
||||
- case KEY_JOY10:
|
||||
+ case KEY_JOY15:
|
||||
mkey = MKEY_Down;
|
||||
break;
|
||||
|
||||
@@ -737,7 +737,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_LEFT:
|
||||
case KEY_JOYAXIS1MINUS:
|
||||
case KEY_JOYPOV1_LEFT:
|
||||
- case KEY_JOY11:
|
||||
+ case KEY_JOY16:
|
||||
mkey = MKEY_Left;
|
||||
break;
|
||||
|
||||
@@ -745,7 +745,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_RIGHT:
|
||||
case KEY_JOYAXIS1PLUS:
|
||||
case KEY_JOYPOV1_RIGHT:
|
||||
- case KEY_JOY12:
|
||||
+ case KEY_JOY17:
|
||||
mkey = MKEY_Right;
|
||||
break;
|
||||
}
|
49
packages/games/emulators/gzdoom/patches/RG552/01-fixes.patch
Normal file
49
packages/games/emulators/gzdoom/patches/RG552/01-fixes.patch
Normal file
|
@ -0,0 +1,49 @@
|
|||
diff --git a/src/common/menu/menu.cpp b/src/common/menu/menu.cpp
|
||||
index 4532dae1d..8c394dc79 100644
|
||||
--- a/src/common/menu/menu.cpp
|
||||
+++ b/src/common/menu/menu.cpp
|
||||
@@ -702,7 +702,7 @@ bool M_Responder (event_t *ev)
|
||||
mkey = MKEY_Back;
|
||||
break;
|
||||
|
||||
- case KEY_JOY4:
|
||||
+ case KEY_JOY3:
|
||||
case KEY_PAD_X:
|
||||
mkey = MKEY_Clear;
|
||||
break;
|
||||
@@ -721,7 +721,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_UP:
|
||||
case KEY_JOYAXIS2MINUS:
|
||||
case KEY_JOYPOV1_UP:
|
||||
- case KEY_JOY9:
|
||||
+ case KEY_JOY14:
|
||||
mkey = MKEY_Up;
|
||||
break;
|
||||
|
||||
@@ -729,7 +729,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_DOWN:
|
||||
case KEY_JOYAXIS2PLUS:
|
||||
case KEY_JOYPOV1_DOWN:
|
||||
- case KEY_JOY10:
|
||||
+ case KEY_JOY15:
|
||||
mkey = MKEY_Down;
|
||||
break;
|
||||
|
||||
@@ -737,7 +737,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_LEFT:
|
||||
case KEY_JOYAXIS1MINUS:
|
||||
case KEY_JOYPOV1_LEFT:
|
||||
- case KEY_JOY11:
|
||||
+ case KEY_JOY16:
|
||||
mkey = MKEY_Left;
|
||||
break;
|
||||
|
||||
@@ -745,7 +745,7 @@ bool M_Responder (event_t *ev)
|
||||
case KEY_PAD_LTHUMB_RIGHT:
|
||||
case KEY_JOYAXIS1PLUS:
|
||||
case KEY_JOYPOV1_RIGHT:
|
||||
- case KEY_JOY12:
|
||||
+ case KEY_JOY17:
|
||||
mkey = MKEY_Right;
|
||||
break;
|
||||
}
|
|
@ -88,7 +88,7 @@ makeinstall_target() {
|
|||
aarch64)
|
||||
cp -vP ${ROOT}/build.${DISTRO}-${DEVICE}.arm/retroarch-*/.install_pkg/usr/bin/retroarch ${INSTALL}/usr/bin/retroarch32
|
||||
cp -rvP ${ROOT}/build.${DISTRO}-${DEVICE}.arm/retroarch-*/.install_pkg/usr/share/retroarch/filters/* ${INSTALL}/usr/share/retroarch/filters
|
||||
chmod +x ${INSTALL}/usr/bin/retroarch32
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -734,7 +734,7 @@ video_context_driver = ""
|
|||
video_crop_overscan = "true"
|
||||
video_ctx_scaling = "false"
|
||||
video_disable_composition = "false"
|
||||
video_driver = "gl"
|
||||
video_driver = "glcore"
|
||||
video_filter = ""
|
||||
video_filter_dir = "~/.config/retroarch/filters/video"
|
||||
video_font_enable = "true"
|
||||
|
@ -745,8 +745,8 @@ video_force_srgb_disable = "false"
|
|||
video_frame_delay = "0"
|
||||
video_frame_delay_auto = "false"
|
||||
video_fullscreen = "true"
|
||||
video_fullscreen_x = "0"
|
||||
video_fullscreen_y = "0"
|
||||
video_fullscreen_x = "1920"
|
||||
video_fullscreen_y = "1152"
|
||||
video_gpu_record = "false"
|
||||
video_gpu_screenshot = "false"
|
||||
video_hard_sync = "false"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,17 +1,28 @@
|
|||
PKG_NAME="yabasanshiroSA"
|
||||
PKG_VERSION="c7618d2ecbf77b1e8188fa8af4fa1cfb34833a72"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/devmiyax/yabause"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain SDL2 boost openal-soft zlib"
|
||||
PKG_LONGDESC="Yabause is a Sega Saturn emulator and took over as Yaba Sanshiro"
|
||||
PKG_TOOLCHAIN="cmake-make"
|
||||
GET_HANDLER_SUPPORT="git"
|
||||
PKG_GIT_CLONE_BRANCH="pi4-1-9-0"
|
||||
PKG_BUILD_FLAGS="+speed"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
case ${ARCH} in
|
||||
aarch64|arm)
|
||||
PKG_VERSION="c7618d2ecbf77b1e8188fa8af4fa1cfb34833a72"
|
||||
PKG_GIT_CLONE_BRANCH="pi4-1-9-0"
|
||||
;;
|
||||
*)
|
||||
PKG_VERSION="82cb291"
|
||||
PKG_GIT_CLONE_BRANCH="master"
|
||||
;;
|
||||
esac
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="${PKG_BUILD}/yabause "
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
@ -20,6 +31,11 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${VULKAN_SUPPORT}" = "yes" ]
|
||||
then
|
||||
PKG_DEPENDS_TARGET+=" vulkan-loader vulkan-headers"
|
||||
fi
|
||||
|
||||
post_unpack() {
|
||||
# use host versions
|
||||
sed -i "s|COMMAND m68kmake|COMMAND ${PKG_BUILD}/m68kmake_host|" ${PKG_BUILD}/yabause/src/musashi/CMakeLists.txt
|
||||
|
@ -33,19 +49,42 @@ pre_make_target() {
|
|||
}
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_CMAKE_OPTS_TARGET="${PKG_BUILD}/yabause \
|
||||
-DYAB_PORTS=retro_arena \
|
||||
-DYAB_WANT_DYNAREC_DEVMIYAX=ON \
|
||||
-DYAB_WANT_ARM7=ON \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${PKG_BUILD}/yabause/src/retro_arena/n2.cmake \
|
||||
-DYAB_WANT_VULKAN=OFF \
|
||||
-DOPENGL_INCLUDE_DIR=${SYSROOT_PREFIX}/usr/include \
|
||||
-DOPENGL_opengl_LIBRARY=${SYSROOT_PREFIX}/usr/lib \
|
||||
-DOPENGL_glx_LIBRARY=${SYSROOT_PREFIX}/usr/lib \
|
||||
-DLIBPNG_LIB_DIR=${SYSROOT_PREFIX}/usr/lib \
|
||||
-DUSE_EGL=ON \
|
||||
-Dpng_STATIC_LIBRARIES=${SYSROOT_PREFIX}/usr/lib/libpng16.so \
|
||||
-DCMAKE_BUILD_TYPE=Release"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="${PKG_BUILD}/yabause "
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DUSE_EGL=ON"
|
||||
fi
|
||||
|
||||
#if [ "${VULKAN_SUPPORT}" = "yes" ]
|
||||
#then
|
||||
# PKG_CMAKE_OPTS_TARGET+=" -DYAB_WANT_VULKAN=ON"
|
||||
#else
|
||||
# PKG_CMAKE_OPTS_TARGET+=" -DYAB_WANT_VULKAN=OFF"
|
||||
#fi
|
||||
|
||||
case ${ARCH} in
|
||||
aarch64)
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DYAB_WANT_ARM7=ON \
|
||||
-DYAB_WANT_DYNAREC_DEVMIYAX=ON
|
||||
-DCMAKE_TOOLCHAIN_FILE=${PKG_BUILD}/yabause/src/retro_arena/n2.cmake \
|
||||
-DYAB_PORTS=retro_arena"
|
||||
;;
|
||||
esac
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DCMAKE_SYSTEM_PROCESSOR=x86_64"
|
||||
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DOPENGL_INCLUDE_DIR=${SYSROOT_PREFIX}/usr/include \
|
||||
-DOPENGL_opengl_LIBRARY=${SYSROOT_PREFIX}/usr/lib \
|
||||
-DOPENGL_glx_LIBRARY=${SYSROOT_PREFIX}/usr/lib \
|
||||
-DLIBPNG_LIB_DIR=${SYSROOT_PREFIX}/usr/lib \
|
||||
-Dpng_STATIC_LIBRARIES=${SYSROOT_PREFIX}/usr/lib/libpng16.so \
|
||||
-DCMAKE_BUILD_TYPE=Release"
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -36,11 +36,16 @@ pre_configure_target() {
|
|||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/lib/libretro
|
||||
if [ "${TARGET_ARCH}" = "aarch64" ]
|
||||
then
|
||||
cp -vP ${ROOT}/build.${DISTRO}-${DEVICE}.arm/flycast-*/.install_pkg/usr/lib/libretro/flycast32_libretro.so ${INSTALL}/usr/lib/libretro
|
||||
cp flycast_libretro.so ${INSTALL}/usr/lib/libretro/flycast_libretro.so
|
||||
else
|
||||
cp flycast_libretro.so ${INSTALL}/usr/lib/libretro/flycast32_libretro.so
|
||||
fi
|
||||
case ${TARGET_ARCH} in
|
||||
aarch64)
|
||||
cp -vP ${ROOT}/build.${DISTRO}-${DEVICE}.arm/flycast-*/.install_pkg/usr/lib/libretro/flycast32_libretro.so ${INSTALL}/usr/lib/libretro
|
||||
cp flycast_libretro.so ${INSTALL}/usr/lib/libretro/flycast_libretro.so
|
||||
;;
|
||||
arm)
|
||||
cp flycast_libretro.so ${INSTALL}/usr/lib/libretro/flycast32_libretro.so
|
||||
;;
|
||||
*)
|
||||
cp flycast_libretro.so ${INSTALL}/usr/lib/libretro/flycast_libretro.so
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@ PKG_NAME="flycast_libretro"
|
|||
PKG_VERSION="4c293f306bc16a265c2d768af5d0cea138426054"
|
||||
PKG_SHA256="7ce0bd97b095907fd4960c771364c549a54547877b5128af42c73a9257fbec6b"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_ARCH="aarch64"
|
||||
PKG_SITE="https://github.com/libretro/flycast"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
|
@ -49,16 +48,17 @@ pre_configure_target() {
|
|||
|
||||
pre_make_target() {
|
||||
export BUILD_SYSROOT=${SYSROOT_PREFIX}
|
||||
|
||||
if [[ "${DEVICE}" =~ RG351 ]]
|
||||
then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=RG351x"
|
||||
elif [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]]
|
||||
then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=RK3566"
|
||||
else
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=${DEVICE}"
|
||||
fi
|
||||
case ${DEVICE} in
|
||||
RG351P|RG351V|RG351MP)
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=RG351x"
|
||||
;;
|
||||
RG351P|RG503)
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=RK3566"
|
||||
;;
|
||||
RG552)
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=${DEVICE}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
|
|
@ -287,7 +287,7 @@ then
|
|||
fi
|
||||
;;
|
||||
"gamecube")
|
||||
jslisten set "dolphin-emu-nogui"
|
||||
jslisten set "-9 dolphin-emu-nogui"
|
||||
if [ "$EMU" = "dolphinsa" ]; then
|
||||
RUNTHIS='${TBASH} /usr/bin/start_dolphin.sh "${ROMNAME}"'
|
||||
fi
|
||||
|
|
|
@ -21,14 +21,14 @@ if [ -e /storage/.please_resize_me ] ; then
|
|||
fi
|
||||
|
||||
# get the disk. /storage on 2nd partition
|
||||
PART=$(blkid | awk 'BEGIN {FS=":"} /STORAGE/ {print $1}')
|
||||
PART=$(blkid | awk 'BEGIN {FS=":"} /'$(cat /proc/cmdline | sed -e 's#^.*disk=UUID=##g' -e 's#\ .*$##g')'/ {print $1}')
|
||||
if [ "$(echo ${PART} | awk '/mmcblk/ {print $1}')" ]
|
||||
then
|
||||
DISK=$(echo ${PART} | sed s/p[0-9]//g)
|
||||
PARTNUM=$(echo ${PART} | sed "s#^.*[0-9]p##g")
|
||||
else
|
||||
DISK=$(echo ${PART} | sed s/[0-9]//g)
|
||||
PARTNUM=$(echo ${PART} | sed "s#^sd[a-z]##g")
|
||||
PARTNUM=$(echo ${PART} | sed "s#^.*sd[a-z]##g")
|
||||
fi
|
||||
rm -f /storage/.please_resize_me
|
||||
sync
|
||||
|
|
|
@ -3,36 +3,40 @@
|
|||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="pciutils"
|
||||
PKG_VERSION="3.6.2"
|
||||
PKG_SHA256="db452ec986edefd88af0d222d22f6102f8030a8633fdfe846c3ae4bde9bb93f3"
|
||||
PKG_VERSION="3.8.0"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://mj.ucw.cz/pciutils.shtml"
|
||||
PKG_URL="http://www.kernel.org/pub/software/utils/pciutils/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_URL="http://www.kernel.org/pub/software/utils/pciutils/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain kmod systemd"
|
||||
PKG_LONGDESC="Utilities for inspecting devices connected to the PCI bus and the PCI vendor/product ID database."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_MAKE_OPTS="PREFIX=/usr SHARED=no STRIP= IDSDIR=/usr/share"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="${LDFLAGS} -ludev"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
make OPT="$CFLAGS" \
|
||||
make OPT="${CFLAGS}" \
|
||||
CROSS_COMPILE=${TARGET_PREFIX} \
|
||||
HOST=$TARGET_ARCH-linux \
|
||||
$PKG_MAKE_OPTS \
|
||||
HOST=${TARGET_ARCH}-linux \
|
||||
${PKG_MAKE_OPTS} \
|
||||
ZLIB=no DNS=no LIBKMOD=yes HWDB=yes
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
make $PKG_MAKE_OPTS DESTDIR=$SYSROOT_PREFIX install
|
||||
make $PKG_MAKE_OPTS DESTDIR=$SYSROOT_PREFIX install-lib
|
||||
make $PKG_MAKE_OPTS DESTDIR=$INSTALL install-lib
|
||||
if [ "$TARGET_ARCH" = x86_64 ]; then
|
||||
make $PKG_MAKE_OPTS DESTDIR=$INSTALL install
|
||||
make ${PKG_MAKE_OPTS} DESTDIR=${SYSROOT_PREFIX} install
|
||||
make ${PKG_MAKE_OPTS} DESTDIR=${SYSROOT_PREFIX} install-lib
|
||||
make ${PKG_MAKE_OPTS} DESTDIR=${INSTALL} install-lib
|
||||
if [ "${TARGET_ARCH}" = x86_64 ]; then
|
||||
make ${PKG_MAKE_OPTS} DESTDIR=${INSTALL} install
|
||||
fi
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/sbin/setpci
|
||||
rm -rf $INSTALL/usr/sbin/update-pciids
|
||||
rm -rf $INSTALL/usr/share
|
||||
rm -rf ${INSTALL}/usr/sbin/setpci
|
||||
rm -rf ${INSTALL}/usr/sbin/update-pciids
|
||||
rm -rf ${INSTALL}/usr/share
|
||||
}
|
||||
|
|
22
packages/sysutils/ryzenadj/package.mk
Normal file
22
packages/sysutils/ryzenadj/package.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="ryzenadj"
|
||||
PKG_VERSION="a3b8ba4"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/FlyGoat/RyzenAdj"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain pciutils systemd"
|
||||
PKG_LONGDESC="Adjust power management settings for Ryzen Mobile Processors."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
pre_configure_target() {
|
||||
export LDFLAGS="${LDFLAGS} -ludev"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/lib
|
||||
cp libryzenadj.so ${INSTALL}/usr/lib
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp ryzenadj ${INSTALL}/usr/bin
|
||||
}
|
|
@ -512,14 +512,13 @@
|
|||
<emulators>
|
||||
<emulator name="retroarch">
|
||||
<cores>
|
||||
<core default="true">flycast_libretro</core>
|
||||
<core>flycast32</core>
|
||||
<core>flycast_libretro</core>
|
||||
<core>flycast</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
<emulator name="flycastsa">
|
||||
<cores>
|
||||
<core>flycastsa</core>
|
||||
<core default="true">flycastsa</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
</emulators>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="emulationstation"
|
||||
PKG_VERSION="dba2019"
|
||||
PKG_VERSION="16fd9c8"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
|
|
|
@ -8,31 +8,34 @@ PKG_DEPENDS_TARGET="toolchain squashfs-tools:host dosfstools:host fakeroot:host
|
|||
PKG_SECTION="virtual"
|
||||
PKG_LONGDESC="Root package used to build and create complete image"
|
||||
|
||||
# Architecture specific tools
|
||||
[ "${ARCH}" = "x86_64" ] && PKG_DEPENDS_TARGET+=" ryzenadj"
|
||||
|
||||
# Sound support
|
||||
[ "$ALSA_SUPPORT" = "yes" ] && PKG_DEPENDS_TARGET+=" alsa"
|
||||
[ "${ALSA_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" alsa"
|
||||
|
||||
# Automounter support
|
||||
[ "$UDEVIL" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil"
|
||||
[ "${UDEVIL}" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil"
|
||||
|
||||
# EXFAT support
|
||||
[ "$EXFAT" = "yes" ] && PKG_DEPENDS_TARGET+=" exfat exfatprogs"
|
||||
[ "${EXFAT}" = "yes" ] && PKG_DEPENDS_TARGET+=" exfat exfatprogs"
|
||||
|
||||
# NTFS 3G support
|
||||
[ "$NTFS3G" = "yes" ] && PKG_DEPENDS_TARGET+=" ntfs-3g_ntfsprogs"
|
||||
[ "${NTFS3G}" = "yes" ] && PKG_DEPENDS_TARGET+=" ntfs-3g_ntfsprogs"
|
||||
|
||||
# Virtual image creation support
|
||||
[ "$PROJECT" = "Generic" ] && PKG_DEPENDS_TARGET+=" virtual"
|
||||
[ "${PROJECT}" = "Generic" ] && PKG_DEPENDS_TARGET+=" virtual"
|
||||
|
||||
# Installer support
|
||||
[ "$INSTALLER_SUPPORT" = "yes" ] && PKG_DEPENDS_TARGET+=" installer"
|
||||
[ "${INSTALLER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" installer"
|
||||
|
||||
# Devtools... (not for Release)
|
||||
[ "$TESTING" = "yes" ] && PKG_DEPENDS_TARGET+=" testing"
|
||||
[ "${TESTING}" = "yes" ] && PKG_DEPENDS_TARGET+=" testing"
|
||||
|
||||
# OEM packages
|
||||
[ "$OEM_SUPPORT" = "yes" ] && PKG_DEPENDS_TARGET+=" oem"
|
||||
[ "${OEM_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" oem"
|
||||
|
||||
# htop
|
||||
[ "$HTOP_TOOL" = "yes" ] && PKG_DEPENDS_TARGET+=" htop"
|
||||
[ "${HTOP_TOOL}" = "yes" ] && PKG_DEPENDS_TARGET+=" htop"
|
||||
|
||||
true
|
||||
|
|
|
@ -11,5 +11,5 @@ if [ ! -d "$XDG_RUNTIME_DIR" ]; then
|
|||
fi
|
||||
|
||||
if [ ! -f /storage/.config/weston.ini ]; then
|
||||
cp /usr/share/weston/weston.ini /storage/.config/weston.ini
|
||||
cp /usr/share/weston/kiosk.ini /storage/.config/weston.ini
|
||||
fi
|
||||
|
|
|
@ -21,16 +21,16 @@ DEVICE_BTN_SOUTH="0"
|
|||
DEVICE_BTN_EAST="1"
|
||||
DEVICE_BTN_NORTH="3"
|
||||
DEVICE_BTN_WEST="2"
|
||||
DEVICE_BTN_TL="9"
|
||||
DEVICE_BTN_TR="10"
|
||||
#DEVICE_BTN_TL2="6"
|
||||
#DEVICE_BTN_TR2="7"
|
||||
DEVICE_BTN_SELECT="4"
|
||||
DEVICE_BTN_START="6"
|
||||
#DEVICE_BTN_MODE="10"
|
||||
DEVICE_BTN_THUMBL="7"
|
||||
DEVICE_BTN_THUMBR="8"
|
||||
DEVICE_BTN_DPAD_UP="11"
|
||||
DEVICE_BTN_DPAD_DOWN="12"
|
||||
DEVICE_BTN_DPAD_LEFT="13"
|
||||
DEVICE_BTN_DPAD_RIGHT="14"
|
||||
DEVICE_BTN_TL="4"
|
||||
DEVICE_BTN_TR="5"
|
||||
#DEVICE_BTN_TL2=""
|
||||
#DEVICE_BTN_TR2=""
|
||||
DEVICE_BTN_SELECT="6"
|
||||
DEVICE_BTN_START="7"
|
||||
#DEVICE_BTN_MODE=""
|
||||
DEVICE_BTN_THUMBL="9"
|
||||
DEVICE_BTN_THUMBR="10"
|
||||
#DEVICE_BTN_DPAD_UP=""
|
||||
#DEVICE_BTN_DPAD_DOWN=""
|
||||
#DEVICE_BTN_DPAD_LEFT=""
|
||||
#DEVICE_BTN_DPAD_RIGHT=""
|
||||
|
|
|
@ -123,7 +123,7 @@ SAY installer: permanently install ${DISTRO} to HDD/SSD
|
|||
SAY live: boot ${DISTRO} using RAM for temporary storage
|
||||
SAY run: boot ${DISTRO} using this USB memory device for storage
|
||||
SAY
|
||||
DEFAULT installer
|
||||
DEFAULT run
|
||||
TIMEOUT 50
|
||||
PROMPT 1
|
||||
|
||||
|
@ -142,7 +142,7 @@ EOF
|
|||
|
||||
cat << EOF > "${LE_TMP}/grub.cfg"
|
||||
set timeout="25"
|
||||
set default="Installer"
|
||||
set default="Run"
|
||||
menuentry "Installer" {
|
||||
search --set -f /KERNEL
|
||||
linux /KERNEL boot=UUID=${UUID_SYSTEM} installer systemd.debug_shell vga=current ${EXTRA_CMDLINE}
|
||||
|
|
Loading…
Reference in a new issue