Build fixes and updates.
This commit is contained in:
parent
e7264de3fc
commit
e18e6e49e8
26 changed files with 224 additions and 45 deletions
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ distclean:
|
|||
src-pkg:
|
||||
tar cvJf sources.tar.xz sources .stamps
|
||||
|
||||
world: RG552 RG503 RG353P RG351P RG351V RG351MP X86_64
|
||||
world: RG552 RG503 RG353P RG351P RG351V RG351MP
|
||||
|
||||
X86_64:
|
||||
PROJECT=PC DEVICE=X86_64 ARCH=x86_64 ./scripts/build_distro
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Copyright (C) 2018-present Frank Hartung (supervisedthinking (@) gmail.com)
|
||||
|
||||
PKG_NAME="amiberry"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_VERSION="fa0489385b27d9842a3aee1b107e0d8bfcc297b5"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/midwan/amiberry"
|
||||
|
|
|
@ -4,16 +4,24 @@
|
|||
|
||||
PKG_NAME="duckstationsa"
|
||||
PKG_VERSION="5ab5070d73f1acc51e064bd96be4ba6ce3c06f5c"
|
||||
PKG_ARCH="aarch64"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/stenzek/duckstation"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain SDL2 nasm:host ${OPENGLES} libevdev"
|
||||
PKG_DEPENDS_TARGET="toolchain SDL2 nasm:host libevdev"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Fast PlayStation 1 emulator for x86-64/AArch32/AArch64 "
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DANDROID=OFF \
|
||||
-DBUILD_LIBRETRO_CORE=OFF \
|
||||
|
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -23,14 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
; RG552 Gamepad - default.ini
|
||||
[retrogame_joypad]
|
||||
plugged = True
|
||||
mouse = False
|
||||
AnalogDeadzone = 0,0
|
||||
AnalogPeak = 32768,32768
|
||||
DPad R = button(16)
|
||||
DPad L = button(15)
|
||||
DPad D = button(14)
|
||||
DPad U = button(13)
|
||||
Start = button(9)
|
||||
Z Trig = button(6)
|
||||
B Button = button(3)
|
||||
A Button = button(0)
|
||||
C Button R = axis(2+)
|
||||
C Button L = axis(2-)
|
||||
C Button D = axis(3+)
|
||||
C Button U = axis(3-)
|
||||
R Trig = button(5)
|
||||
L Trig = button(4)
|
||||
Mempak switch =
|
||||
Rumblepak switch =
|
||||
# Analog axis configuration mappings
|
||||
X Axis = axis(0-,0+)
|
||||
Y Axis = axis(1-,1+)
|
|
@ -0,0 +1,25 @@
|
|||
; RG552 Gamepad - zlswap.ini
|
||||
[retrogame_joypad]
|
||||
plugged = True
|
||||
mouse = False
|
||||
AnalogDeadzone = 0,0
|
||||
AnalogPeak = 32768,32768
|
||||
DPad R = button(16)
|
||||
DPad L = button(15)
|
||||
DPad D = button(14)
|
||||
DPad U = button(13)
|
||||
Start = button(9)
|
||||
Z Trig = button(4)
|
||||
B Button = button(3)
|
||||
A Button = button(0)
|
||||
C Button R = axis(2+)
|
||||
C Button L = axis(2-)
|
||||
C Button D = axis(3+)
|
||||
C Button U = axis(3-)
|
||||
R Trig = button(5)
|
||||
L Trig = button(6)
|
||||
Mempak switch =
|
||||
Rumblepak switch =
|
||||
# Analog axis configuration mappings
|
||||
X Axis = axis(0-,0+)
|
||||
Y Axis = axis(1-,1+)
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -23,15 +23,19 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|||
fi
|
||||
|
||||
make_target() {
|
||||
export HOST_CPU=aarch64
|
||||
case ${ARCH} in
|
||||
arm|aarch64)
|
||||
export HOST_CPU=aarch64
|
||||
export USE_GLES=1
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
;;
|
||||
esac
|
||||
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus
|
||||
export USE_GLES=1
|
||||
export SDL_CFLAGS="-I$SYSROOT_PREFIX/usr/include/SDL2 -D_REENTRANT"
|
||||
export SDL_LDLIBS="-lSDL2_net -lSDL2"
|
||||
export CROSS_COMPILE="$TARGET_PREFIX"
|
||||
export V=1
|
||||
export VC=0
|
||||
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
|
||||
make -C projects/unix clean
|
||||
make -C projects/unix all ${PKG_MAKE_OPTS_TARGET}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
input_driver = "udev"
|
||||
input_device = "retrogame_joypad"
|
||||
input_vendor_id = "18507"
|
||||
input_product_id = "4353"
|
||||
input_a = "x"
|
||||
input_a_btn = "1"
|
||||
input_analog_dpad_mode = "0"
|
||||
input_b = "z"
|
||||
input_b_btn = "0"
|
||||
input_down = "down"
|
||||
input_down_btn = "14"
|
||||
input_gun_trigger_mbtn = "1"
|
||||
input_joypad_index = "0"
|
||||
input_l = "q"
|
||||
input_l2_btn = "6"
|
||||
input_l3_btn = "11"
|
||||
input_l_btn = "4"
|
||||
input_l_x_minus_axis = "-0"
|
||||
input_l_x_plus_axis = "+0"
|
||||
input_l_y_minus_axis = "-1"
|
||||
input_l_y_plus_axis = "+1"
|
||||
input_left = "left"
|
||||
input_left_btn = "15"
|
||||
input_mouse_index = "0"
|
||||
input_r = "w"
|
||||
input_r2_btn = "7"
|
||||
input_r3_btn = "12"
|
||||
input_r_btn = "5"
|
||||
input_r_x_minus_axis = "-2"
|
||||
input_r_x_plus_axis = "+2"
|
||||
input_r_y_minus_axis = "-3"
|
||||
input_r_y_plus_axis = "+3"
|
||||
input_right = "right"
|
||||
input_right_btn = "16"
|
||||
input_select = "rshift"
|
||||
input_select_btn = "8"
|
||||
input_start = "enter"
|
||||
input_start_btn = "9"
|
||||
input_up = "up"
|
||||
input_up_btn = "13"
|
||||
input_x = "s"
|
||||
input_x_btn = "2"
|
||||
input_y = "a"
|
||||
input_y_btn = "3"
|
|
@ -44,7 +44,7 @@ pre_configure_target() {
|
|||
esac
|
||||
|
||||
case ${DEVICE} in
|
||||
RG351P|RG552)
|
||||
RG351P|RG552|X86_64L)
|
||||
PKG_DEPENDS_TARGET+=" libgo2"
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --enable-odroidgo2"
|
||||
;;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PKG_NAME="yabasanshiroSA"
|
||||
PKG_VERSION="c7618d2ecbf77b1e8188fa8af4fa1cfb34833a72"
|
||||
PKG_ARCH="any"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/devmiyax/yabause"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
|
|
|
@ -8,7 +8,7 @@ PKG_ARCH="any"
|
|||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/mupen64plus-libretro-nx"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host ${OPENGLES}"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="mupen64plus NX"
|
||||
PKG_LONGDESC="mupen64plus NX"
|
||||
|
@ -17,6 +17,14 @@ PKG_BUILD_FLAGS="-lto"
|
|||
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
pre_configure_target() {
|
||||
sed -e "s|^GIT_VERSION ?.*$|GIT_VERSION := \" ${PKG_VERSION:0:7}\"|" -i Makefile
|
||||
if [[ "${DEVICE}" =~ RG351 ]]
|
||||
|
|
|
@ -27,7 +27,7 @@ PKG_ARCH="any"
|
|||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/mupen64plus-libretro"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host ${OPENGLES}"
|
||||
PKG_DEPENDS_TARGET="toolchain nasm:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="mupen64plus + RSP-HLE + GLideN64 + libretro"
|
||||
|
@ -36,6 +36,14 @@ PKG_TOOLCHAIN="make"
|
|||
PKG_BUILD_FLAGS="-lto"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
pre_make_target() {
|
||||
export CFLAGS="${CFLAGS} -fcommon"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ PKG_REV="2"
|
|||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/parallel-n64"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ${OPENGLES} core-info"
|
||||
PKG_DEPENDS_TARGET="toolchain core-info"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
PKG_LONGDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
|
@ -16,6 +16,14 @@ PKG_TOOLCHAIN="make"
|
|||
PKG_BUILD_FLAGS="-lto"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "arm" ]
|
||||
then
|
||||
if [[ "${DEVICE}" =~ RG351 ]]
|
||||
|
|
|
@ -8,7 +8,7 @@ PKG_REV="2"
|
|||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/parallel-n64"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ${OPENGLES} core-info"
|
||||
PKG_DEPENDS_TARGET="toolchain core-info"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
PKG_LONGDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
|
@ -16,6 +16,14 @@ PKG_TOOLCHAIN="make"
|
|||
PKG_BUILD_FLAGS="-lto"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "arm" ]
|
||||
then
|
||||
if [[ "${DEVICE}" =~ RG351 ]]
|
||||
|
|
|
@ -8,7 +8,7 @@ PKG_REV="2"
|
|||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/parallel-n64"
|
||||
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain ${OPENGLES} core-info"
|
||||
PKG_DEPENDS_TARGET="toolchain core-info"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
PKG_LONGDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
|
||||
|
@ -16,6 +16,14 @@ PKG_TOOLCHAIN="make"
|
|||
PKG_BUILD_FLAGS="-lto"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "arm" ]
|
||||
then
|
||||
if [[ "${DEVICE}" =~ RG351 ]]
|
||||
|
|
|
@ -33,7 +33,7 @@ fi
|
|||
|
||||
|
||||
case ${DEVICE} in
|
||||
RG351P|RG552)
|
||||
RG351P|RG552|X86_64L)
|
||||
PKG_DEPENDS_TARGET+=" librga"
|
||||
pre_make_host() {
|
||||
sed -i "s| -lrga||g" ${PKG_BUILD}/CMakeLists.txt
|
||||
|
|
|
@ -8,7 +8,7 @@ PKG_VERSION="5.18.10"
|
|||
PKG_URL="https://www.kernel.org/pub/linux/kernel/v5.x/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
PKG_SITE="http://www.kernel.org"
|
||||
PKG_DEPENDS_HOST="ccache:host rsync:host openssl:host"
|
||||
PKG_DEPENDS_TARGET="toolchain linux:host kmod:host xz:host keyutils ${KERNEL_EXTRA_DEPENDS_TARGET}"
|
||||
PKG_DEPENDS_TARGET="toolchain linux:host kmod:host cpio:host xz:host keyutils ${KERNEL_EXTRA_DEPENDS_TARGET}"
|
||||
PKG_NEED_UNPACK="${LINUX_DEPENDS} $(get_pkg_directory initramfs) $(get_pkg_variable initramfs PKG_NEED_UNPACK)"
|
||||
PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
|
||||
PKG_IS_KERNEL_PKG="yes"
|
||||
|
|
|
@ -33,9 +33,7 @@ ENABLED_FEATURES="--enable-silent-rules \
|
|||
--enable-libxml2 \
|
||||
--enable-alsa \
|
||||
--enable-udev \
|
||||
--enable-vlc \
|
||||
--enable-gles2 \
|
||||
--enable-neon"
|
||||
--enable-vlc"
|
||||
|
||||
DISABLED_FEATURES="--disable-dependency-tracking \
|
||||
--without-contrib \
|
||||
|
@ -124,11 +122,18 @@ DISABLED_FEATURES="--disable-dependency-tracking \
|
|||
--disable-dav1d \
|
||||
--disable-qt"
|
||||
|
||||
if [ "${PROJECT}" == "Amlogic" ]; then
|
||||
ENABLED_FEATURES+=" --enable-pulse"
|
||||
else
|
||||
DISABLED_FEATURES+=" --disable-pulse"
|
||||
fi
|
||||
case ${ARCH} in
|
||||
arm)
|
||||
PKG_DEPENDS_TARGET+=" librga ${OPENGLES}"
|
||||
ENABLED_FEATURES+=" --enable-gles2 --enable-neon"
|
||||
;;
|
||||
aarch64)
|
||||
PKG_DEPENDS_TARGET+=" librga ${OPENGLES}"
|
||||
ENABLED_FEATURES+=" --enable-gles2"
|
||||
;;
|
||||
*)
|
||||
ENABLED_FEATURES+=" ${OPENGL} glu libglvnd"
|
||||
esac
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="${ENABLED_FEATURES} ${DISABLED_FEATURES}"
|
||||
|
||||
|
|
|
@ -15,18 +15,20 @@ PKG_NEED_UNPACK="busybox"
|
|||
PKG_SHORTDESC="Emulationstation emulator frontend"
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
GET_HANDLER_SUPPORT="git"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DGLES2=0"
|
||||
fi
|
||||
|
||||
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DGLES2=1"
|
||||
fi
|
||||
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET=" -DENABLE_EMUELEC=1 -DGLES2=1 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0"
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_EMUELEC=1 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=0 -DCEC=0"
|
||||
|
||||
##########################################################################################################
|
||||
# The following allows building Emulation station from local copy by using EMULATIONSTATION_SRC.
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
DEVICE_BRIGHTNESS="100"
|
||||
SPLASH_LOADER="imagemagick"
|
||||
#UI_SERVICE="systemctl start emustation.service"
|
||||
UI_SERVICE="systemctl start emustation.service"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
DISPLAYSERVER="x11"
|
||||
|
||||
# Windowmanager to use (fluxbox / weston / no)
|
||||
WINDOWMANAGER="fluxbox"
|
||||
# WINDOWMANAGER="fluxbox"
|
||||
|
||||
# Mesa 3D Graphic drivers to use (all / crocus,i915,iris,r300,r600,radeonsi,vmware,virtio)
|
||||
# Space separated list is supported,
|
||||
|
|
Loading…
Reference in a new issue