Merge branch 'dev' into RK3588

This commit is contained in:
Brooksytech 2023-01-08 14:55:59 -08:00 committed by GitHub
commit 05fb94b3a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 3169 additions and 2463 deletions

View file

@ -100,7 +100,7 @@ jobs:
* Decompress the image.
* Write the image to an SDCARD using an imaging tool. Common imaging tools include [Balena Etcher](https://www.balena.io/etcher/), [Raspberry Pi Imager](https://www.raspberrypi.com/software/), and [Win32 Disk Imager](https://sourceforge.net/projects/win32diskimager/). If you're skilled with the command line, dd works fine too.
Download: [[Ayaneo Air / Air Pro /Atari VCS/Generic x86_64](https://github.com/JustEnoughLinuxOS/distribution-dev/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.img.gz)]
Download: [[Ayaneo Handhelds, Atari VCS, and other x86_64 devices](https://github.com/JustEnoughLinuxOS/distribution-dev/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.img.gz)]
## Upgrading
* Download and install the update online via the System Settings menu.
@ -109,7 +109,7 @@ jobs:
* Copy the update to your device over the network to your device's update share.
* Reboot the device, and the update will begin automatically.
Download: [[Ayaneo Air / Air Pro /Atari VCS/x86_64](https://github.com/JustEnoughLinuxOS/distribution-dev/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.tar)]
Download: [[Ayaneo Handhelds, Atari VCS, and other x86_64 devices](https://github.com/JustEnoughLinuxOS/distribution-dev/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.tar)]
## Documentation
* [Home](https://github.com/JustEnoughLinuxOS/distribution/wiki)

View file

@ -97,7 +97,7 @@ jobs:
* Decompress the image.
* Write the image to an SDCARD using an imaging tool. Common imaging tools include [Balena Etcher](https://www.balena.io/etcher/), [Raspberry Pi Imager](https://www.raspberrypi.com/software/), and [Win32 Disk Imager](https://sourceforge.net/projects/win32diskimager/). If you're skilled with the command line, dd works fine too.
Download: [[Ayaneo Air / Air Pro /Atari VCS/Generic x86_64](https://github.com/JustEnoughLinuxOS/distribution/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.img.gz)]
Download: [[Ayaneo Handhelds, Atari VCS, and other x86_64 devices] (https://github.com/JustEnoughLinuxOS/distribution/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.img.gz)]
## Upgrading
* Download and install the update online via the System Settings menu.
@ -108,7 +108,7 @@ jobs:
* Copy the update to your device over the network to your device's update share.
* Reboot the device, and the update will begin automatically.
Download: [[Ayaneo Air / Air Pro /Atari VCS/x86_64](https://github.com/JustEnoughLinuxOS/distribution/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.tar)]
Download: [[Ayaneo Handhelds, Atari VCS, and other x86_64 devices](https://github.com/JustEnoughLinuxOS/distribution/releases/download/${{ steps.version.outputs.version }}/JELOS-handheld.x86_64-${{ steps.version.outputs.version }}.tar)]
## Documentation
* [Home](https://github.com/JustEnoughLinuxOS/distribution/wiki)

View file

@ -3,10 +3,15 @@
PKG_NAME="zlib"
PKG_VERSION="1.2.13"
PKG_SHA256="b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30"
PKG_LICENSE="OSS"
PKG_SITE="http://www.zlib.net"
PKG_URL="http://zlib.net/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="cmake:host"
PKG_URL="https://zlib.net/fossils/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host cmake:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A general purpose (ZIP) data compression library."
PKG_TOOLCHAIN="cmake-make"
PKG_CMAKE_OPTS_HOST="-DINSTALL_PKGCONFIG_DIR=${TOOLCHAIN}/lib/pkgconfig"
PKG_CMAKE_OPTS_TARGET="-DINSTALL_PKGCONFIG_DIR=/usr/lib/pkgconfig"

View file

@ -2,8 +2,7 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="zstd"
PKG_VERSION="1.5.0"
PKG_SHA256="5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94"
PKG_VERSION="1.5.2"
PKG_LICENSE="BSD/GPLv2"
PKG_SITE="http://www.zstd.net"
PKG_URL="https://github.com/facebook/zstd/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
@ -20,4 +19,4 @@ PKG_MESON_OPTS_HOST="-Dlegacy_level=0 \
-Dbin_programs=false \
-Dzlib=disabled \
-Dlzma=disabled \
-Dlz4=disabled"
-Dlz4=disabled"

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<emulated_controller>
<type>Wii U GamePad</type>
<controller>
<api>SDLController</api>
<uuid>0_030003f05e0400008e02000010010000</uuid>
<display_name>Xbox 360 Controller</display_name>
<rumble>0.15</rumble>
<axis>
<deadzone>0.25</deadzone>
<range>1</range>
</axis>
<rotation>
<deadzone>0.25</deadzone>
<range>1</range>
</rotation>
<trigger>
<deadzone>0.25</deadzone>
<range>1</range>
</trigger>
<mappings>
<entry>
<mapping>24</mapping>
<button>40</button>
</entry>
<entry>
<mapping>23</mapping>
<button>46</button>
</entry>
<entry>
<mapping>22</mapping>
<button>41</button>
</entry>
<entry>
<mapping>21</mapping>
<button>47</button>
</entry>
<entry>
<mapping>20</mapping>
<button>38</button>
</entry>
<entry>
<mapping>19</mapping>
<button>44</button>
</entry>
<entry>
<mapping>18</mapping>
<button>39</button>
</entry>
<entry>
<mapping>17</mapping>
<button>45</button>
</entry>
<entry>
<mapping>16</mapping>
<button>8</button>
</entry>
<entry>
<mapping>15</mapping>
<button>7</button>
</entry>
<entry>
<mapping>14</mapping>
<button>14</button>
</entry>
<entry>
<mapping>1</mapping>
<button>1</button>
</entry>
<entry>
<mapping>2</mapping>
<button>0</button>
</entry>
<entry>
<mapping>3</mapping>
<button>3</button>
</entry>
<entry>
<mapping>4</mapping>
<button>2</button>
</entry>
<entry>
<mapping>5</mapping>
<button>9</button>
</entry>
<entry>
<mapping>6</mapping>
<button>10</button>
</entry>
<entry>
<mapping>7</mapping>
<button>42</button>
</entry>
<entry>
<mapping>8</mapping>
<button>43</button>
</entry>
<entry>
<mapping>9</mapping>
<button>6</button>
</entry>
<entry>
<mapping>10</mapping>
<button>4</button>
</entry>
<entry>
<mapping>11</mapping>
<button>11</button>
</entry>
<entry>
<mapping>12</mapping>
<button>12</button>
</entry>
<entry>
<mapping>13</mapping>
<button>13</button>
</entry>
</mappings>
</controller>
</emulated_controller>

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<emulated_controller>
<type>Wii U Pro Controller</type>
<controller>
<api>SDLController</api>
<uuid>0_030003f05e0400008e02000010010000</uuid>
<display_name>Xbox 360 Controller</display_name>
<rumble>0.15</rumble>
<axis>
<deadzone>0.25</deadzone>
<range>1</range>
</axis>
<rotation>
<deadzone>0.25</deadzone>
<range>1</range>
</rotation>
<trigger>
<deadzone>0.25</deadzone>
<range>1</range>
</trigger>
<mappings>
<entry>
<mapping>24</mapping>
<button>40</button>
</entry>
<entry>
<mapping>23</mapping>
<button>46</button>
</entry>
<entry>
<mapping>22</mapping>
<button>41</button>
</entry>
<entry>
<mapping>21</mapping>
<button>47</button>
</entry>
<entry>
<mapping>20</mapping>
<button>38</button>
</entry>
<entry>
<mapping>19</mapping>
<button>44</button>
</entry>
<entry>
<mapping>18</mapping>
<button>39</button>
</entry>
<entry>
<mapping>17</mapping>
<button>45</button>
</entry>
<entry>
<mapping>16</mapping>
<button>8</button>
</entry>
<entry>
<mapping>15</mapping>
<button>7</button>
</entry>
<entry>
<mapping>14</mapping>
<button>14</button>
</entry>
<entry>
<mapping>1</mapping>
<button>1</button>
</entry>
<entry>
<mapping>2</mapping>
<button>0</button>
</entry>
<entry>
<mapping>3</mapping>
<button>3</button>
</entry>
<entry>
<mapping>4</mapping>
<button>2</button>
</entry>
<entry>
<mapping>5</mapping>
<button>9</button>
</entry>
<entry>
<mapping>6</mapping>
<button>10</button>
</entry>
<entry>
<mapping>7</mapping>
<button>42</button>
</entry>
<entry>
<mapping>8</mapping>
<button>43</button>
</entry>
<entry>
<mapping>9</mapping>
<button>6</button>
</entry>
<entry>
<mapping>10</mapping>
<button>4</button>
</entry>
<entry>
<mapping>11</mapping>
<button>11</button>
</entry>
<entry>
<mapping>12</mapping>
<button>12</button>
</entry>
<entry>
<mapping>13</mapping>
<button>13</button>
</entry>
</mappings>
</controller>
</emulated_controller>

View file

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<content>
<logflag>0</logflag>
<advanced_ppc_logging>false</advanced_ppc_logging>
<mlc_path></mlc_path>
<permanent_storage>true</permanent_storage>
<language>0</language>
<use_discord_presence>false</use_discord_presence>
<fullscreen_menubar>false</fullscreen_menubar>
<check_update>false</check_update>
<save_screenshot>true</save_screenshot>
<vk_warning>false</vk_warning>
<gp_download>true</gp_download>
<macos_disclaimer>false</macos_disclaimer>
<fullscreen>true</fullscreen>
<proxy_server></proxy_server>
<console_language>1</console_language>
<window_position>
<x>-1</x>
<y>-1</y>
</window_position>
<window_size>
<x>-1</x>
<y>-1</y>
</window_size>
<window_maximized>false</window_maximized>
<open_pad>false</open_pad>
<pad_position>
<x>-1</x>
<y>-1</y>
</pad_position>
<pad_size>
<x>-1</x>
<y>-1</y>
</pad_size>
<pad_maximized>false</pad_maximized>
<GameList>
<style>0</style>
<order></order>
<name_width>500</name_width>
<version_width>100</version_width>
<dlc_width>70</dlc_width>
<game_time_width>140</game_time_width>
<game_started_width>160</game_started_width>
<region_width>886</region_width>
</GameList>
<RecentLaunchFiles/>
<RecentNFCFiles/>
<GamePaths>
<Entry>/storage/roms/wiiu</Entry>
</GamePaths>
<GameCache/>
<GraphicPack/>
<Graphic>
<api>1</api>
<device>00000000040000000000000000000000</device>
<VSync>1</VSync>
<GX2DrawdoneSync>true</GX2DrawdoneSync>
<UpscaleFilter>1</UpscaleFilter>
<DownscaleFilter>0</DownscaleFilter>
<FullscreenScaling>0</FullscreenScaling>
<AsyncCompile>true</AsyncCompile>
<vkAccurateBarriers>true</vkAccurateBarriers>
<Overlay>
<Position>0</Position>
<TextColor>4282069997</TextColor>
<TextScale>100</TextScale>
<FPS>true</FPS>
<DrawCalls>false</DrawCalls>
<CPUUsage>true</CPUUsage>
<CPUPerCoreUsage>true</CPUPerCoreUsage>
<RAMUsage>true</RAMUsage>
<VRAMUsage>true</VRAMUsage>
<Debug>false</Debug>
</Overlay>
<Notification>
<Position>4</Position>
<TextColor>4294967295</TextColor>
<TextScale>100</TextScale>
<ControllerProfiles>true</ControllerProfiles>
<ControllerBattery>false</ControllerBattery>
<ShaderCompiling>true</ShaderCompiling>
<FriendService>false</FriendService>
</Notification>
</Graphic>
<Audio>
<api>3</api>
<delay>2</delay>
<TVChannels>1</TVChannels>
<PadChannels>1</PadChannels>
<InputChannels>0</InputChannels>
<TVVolume>100</TVVolume>
<PadVolume>0</PadVolume>
<InputVolume>50</InputVolume>
<TVDevice>alsa_output.pci-0000_04_00.6.analog-stereo</TVDevice>
<PadDevice></PadDevice>
<InputDevice></InputDevice>
</Audio>
<Account>
<PersistentId>2147483649</PersistentId>
<OnlineEnabled>false</OnlineEnabled>
<ActiveService>0</ActiveService>
</Account>
<Debug>
<CrashDumpUnix>0</CrashDumpUnix>
</Debug>
<Input>
<DSUC host="127.0.0.1" port="26760"/>
</Input>
</content>

View file

@ -0,0 +1,86 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Frank Hartung (supervisedthinking (@) gmail.com)
# Copyright (C) 2022-present Fewtarius
PKG_NAME="cemu"
PKG_VERSION="33bd10b" #v2.0-25
PKG_ARCH="x86_64"
PKG_LICENSE="MPL-2.0"
PKG_SITE="https://github.com/cemu-project/Cemu"
PKG_URL="https://github.com/cemu-project/Cemu.git"
PKG_DEPENDS_TARGET="toolchain libzip glslang glm curl rapidjson openssl boost libfmt pugixml libpng gtk3 wxwidgets"
PKG_LONGDESC="Cemu is a Wii U emulator that is able to run most Wii U games and homebrew in a playable state"
PKG_GIT_CLONE_BRANCH="main"
PKG_GIT_CLONE_SINGLE="yes"
GET_HANDLER_SUPPORT="git"
PKG_BUILD_FLAGS="+lto"
configure_package() {
# Displayserver Support
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" xorg-server"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" wayland"
fi
# OpenGL Support
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
# Vulkan Support
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
}
pre_configure_target() {
# Force build of cubeb submodule
sed -e '/find_package(cubeb)/d' -i ${PKG_BUILD}/CMakeLists.txt
# Fix glm linking
sed -e "s#glm::glm#glm#" -i ${PKG_BUILD}/src/{Common,input}/CMakeLists.txt
PKG_CMAKE_OPTS_TARGET="-D ENABLE_VCPKG=OFF \
-D PORTABLE=OFF \
-D ENABLE_DISCORD_RPC=OFF \
-D ENABLE_SDL=ON \
-D ENABLE_CUBEB=ON \
-D ENABLE_WXWIDGETS=ON \
-Wno-dev"
# Wayland Support
if [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_WAYLAND=ON"
else
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_WAYLAND=OFF"
fi
# OpenGL Support
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_OPENGL=ON"
else
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_OPENGL=OFF"
fi
# Vulkan Support
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_VULKAN=ON"
else
PKG_CMAKE_OPTS_TARGET+=" -D ENABLE_VULKAN=OFF"
fi
}
makeinstall_target() {
# Copy binary, scripts & config files
mkdir -p ${INSTALL}/usr/bin
cp -v ${PKG_BUILD}/bin/Cemu_* ${INSTALL}/usr/bin/cemu
cp -v ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin/
chmod 0755 ${INSTALL}/usr/bin/*
mkdir -p ${INSTALL}/usr/config/Cemu
cp -PR ${PKG_DIR}/config/* ${INSTALL}/usr/config/Cemu
# Copy system files
mkdir -p ${INSTALL}/usr/share/Cemu
cp -PR ${PKG_BUILD}/bin/{gameProfiles,resources} ${INSTALL}/usr/share/Cemu
}

View file

@ -0,0 +1,11 @@
--- a/src/gui/CemuApp.cpp
+++ b/src/gui/CemuApp.cpp
@@ -132,7 +132,6 @@
{
if (!wxLocale::IsAvailable(wxLANGUAGE_DEFAULT) || !m_locale.Init(wxLANGUAGE_DEFAULT))
{
- m_locale.Init(wxLANGUAGE_ENGLISH);
m_locale.AddCatalogLookupPathPrefix(ActiveSettings::GetDataPath("resources").generic_string());
m_locale.AddCatalog("cemu");
}

View file

@ -0,0 +1,66 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Frank Hartung (supervisedthinking (@) gmail.com)
# Copyright (C) 2022-present Fewtarius
# Source environment variables
. /etc/profile
# Ensure we're using pulseaudio
rr_audio.sh pulseaudio
export SDL_AUDIODRIVER=pulseaudio
# Set up mime db
mkdir -p /storage/.local/share/mime/packages
cp -rf /usr/share/mime/packages/* /storage/.local/share/mime/packages
update-mime-database /storage/.local/share/mime
# Set common paths
CEMU_CACHE_LOG=/storage/.config/Cemu/share/log.txt
CEMU_VAR_LOG=/var/log/Cemu.log
CEMU_HOME_CONFIG=/storage/.config/Cemu/share
CEMU_HOME_LOCAL=/storage/.local/share/Cemu
# create link to config directory
if [ ! -d ${CEMU_HOME_CONFIG} ]; then
mkdir -p ${CEMU_HOME_CONFIG}
echo created ${CEMU_HOME_CONFIG}
fi
if [ -d ${CEMU_HOME_LOCAL} ] && [ ! -L ${CEMU_HOME_LOCAL} ]; then
cp -rf ${CEMU_HOME_LOCAL}/* ${CEMU_HOME_CONFIG}
rm -rf ${CEMU_HOME_LOCAL}
echo moved ${CEMU_HOME_LOCAL} to ${CEMU_HOME_CONFIG}
fi
if [ ! -L ${CEMU_HOME_LOCAL} ]; then
ln -sf ${CEMU_HOME_CONFIG} ${CEMU_HOME_LOCAL}
echo created symlink from ${CEMU_HOME_CONFIG} to ${CEMU_HOME_LOCAL}
fi
# Create symlink to logfile
if [ ! -L ${CEMU_VAR_LOG} ]; then
ln -sf ${CEMU_CACHE_LOG} ${CEMU_VAR_LOG}
fi
# Make sure CEMU settings exist, and set the audio output.
if [ ! -f "/storage/.config/Cemu/settings.xml" ]
then
cp -f /usr/config/Cemu/settings.xml /storage/.config/Cemu/settings.xml
fi
# Make sure the basic controller profiles exist.
for controller in controller0.xml controller1.xml
do
if [ ! -f /storage/.config/Cemu/controllerProfiles/${controller} ]
then
cp /usr/config/Cemu/controllerProfiles/${controller} /storage/.config/Cemu/controllerProfiles
fi
done
sed -i "s#<fullscreen>.*</fullscreen>#<fullscreen>true</fullscreen>#g" .config/Cemu/settings.xml
sed -i "s#<TVDevice>.*</TVDevice>#<TVDevice>$(pactl get-default-sink)</TVDevice>#g" .config/Cemu/settings.xml
# Run the emulator
cemu -g "$@"
rr_audio.sh alsa

View file

@ -0,0 +1,107 @@
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.42.4
#
# LoaderDir = /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF ACON" " xxxx " 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
" \001 " "zz znz" 100
" \002 " "zz znz" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx " 100
"abcdidat" "xxxx " 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x " 100
" \001\t" "x " 100
" \002" "xz " 99
" \003" "xz " 100
" \n" "xz " 100
" \v" "xz " 100
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" " z " 100
"II* " " z" 100
"II* \020 CR\002 " " z zzz z" 0
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

View file

@ -3,30 +3,37 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gdk-pixbuf"
PKG_VERSION="2.42.8"
PKG_SHA256="84acea3acb2411b29134b32015a5b1aaa62844b19c4b1ef8b8971c6b0759f4c6"
PKG_VERSION="2.42.10"
PKG_SHA256="ee9b6c75d13ba096907a2e3c6b27b61bcd17f5c7ebeab5a5b439d2f2e39fe44b"
PKG_LICENSE="OSS"
PKG_SITE="http://www.gtk.org/"
PKG_URL="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${PKG_VERSION:0:4}/gdk-pixbuf-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff"
PKG_DEPENDS_TARGET="toolchain glib libjpeg-turbo libpng jasper shared-mime-info tiff zlib"
PKG_DEPENDS_CONFIG="shared-mime-info"
PKG_LONGDESC="GdkPixbuf is a a GNOME library for image loading and manipulation."
configure_package() {
if [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" libX11 wayland"
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET+=" libX11"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
PKG_MESON_OPTS_TARGET="--wrap-mode=nodownload \
-Dgtk_doc=false \
-Ddocs=false \
-Dintrospection=disabled \
-Dman=false \
-Drelocatable=false \
-Dinstalled_tests=false"
-Dinstalled_tests=false \
-Dtests=false"
if [ "${DISPLAYSERVER}" != "wl" ]; then
if [ "${DISPLAYSERVER}" != "x11" ]; then
PKG_MESON_OPTS_TARGET+=" -Dbuiltin_loaders=all"
fi
}
post_makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/gdk-pixbuf-2.0/2.10.0/
cp ${PKG_DIR}/config/* ${INSTALL}/usr/lib/gdk-pixbuf-2.0/2.10.0/
}

View file

@ -13,9 +13,29 @@ PKG_DEPENDS_CONFIG="libXft pango gdk-pixbuf shared-mime-info"
PKG_LONGDESC="A library for creating graphical user interfaces for the X Window System."
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET=" -Dintrospection=false \
-Dbroadway_backend=true \
-Dcolord=yes \
-Dman=false \
-Dgtk_doc=false"
PKG_MESON_OPTS_TARGET="-Dbroadway_backend=false \
-Dcloudproviders=false \
-Dcolord=no \
-Ddemos=false \
-Dexamples=false \
-Dgtk_doc=false \
-Dintrospection=false \
-Dman=false \
-Dprint_backends=file,lpr \
-Dquartz_backend=false \
-Dtests=false \
-Dwayland_backend=true \
-Dwin32_backend=false \
-Dxinerama=no \
-Dbuiltin_immodules=yes \
-Dx11_backend=true"
pre_configure_target() {
# ${TOOLCHAIN}/bin/glib-compile-resources requires ${TOOLCHAIN}/lib/libffi.so.6
export LD_LIBRARY_PATH="${TOOLCHAIN}/lib:${LD_LIBRARY_PATH}"
export GLIB_COMPILE_RESOURCES=glib-compile-resources GLIB_MKENUMS=glib-mkenums GLIB_GENMARSHAL=glib-genmarshal
}
post_makeinstall_target() {
${TOOLCHAIN}/bin/glib-compile-schemas ${INSTALL}/usr/share/glib-2.0/schemas
}

View file

@ -0,0 +1,26 @@
--- a/gtk/gen-gtk-gresources-xml.py 2021-02-24 19:13:19.000000000 +0000
+++ b/gtk/gen-gtk-gresources-xml.py 2021-04-03 23:52:35.000000000 +0000
@@ -23,11 +23,6 @@
<file>theme/Adwaita/gtk-contained-dark.css</file>
'''
-for f in get_files('theme/Adwaita/assets', '.png'):
- xml += ' <file preprocess=\'to-pixdata\'>theme/Adwaita/assets/{0}</file>\n'.format(f)
-
-xml += '\n'
-
for f in get_files('theme/Adwaita/assets', '.svg'):
xml += ' <file>theme/Adwaita/assets/{0}</file>\n'.format(f)
@@ -38,11 +33,6 @@
<file>theme/HighContrast/gtk-contained-inverse.css</file>
'''
-for f in get_files('theme/HighContrast/assets', '.png'):
- xml += ' <file preprocess=\'to-pixdata\'>theme/HighContrast/assets/{0}</file>\n'.format(f)
-
-xml += '\n'
-
for f in get_files('theme/HighContrast/assets', '.svg'):
xml += ' <file>theme/HighContrast/assets/{0}</file>\n'.format(f)

View file

@ -3,24 +3,27 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="tiff"
PKG_VERSION="4.0.10"
PKG_SHA256="2c52d11ccaf767457db0c46795d9c7d1a8d8f76f68b0b800a3dfe45786b996e4"
PKG_VERSION="4.5.0"
PKG_LICENSE="OSS"
PKG_SITE="http://www.remotesensing.org/libtiff/"
PKG_URL="http://download.osgeo.org/libtiff/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://download.osgeo.org/libtiff/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo zlib"
PKG_LONGDESC="libtiff is a library for reading and writing TIFF files."
PKG_BUILD_FLAGS="+pic"
PKG_TOOLCHAIN="configure"
PKG_BUILD_FLAGS="+pic -gold"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--disable-mdi \
--enable-cxx \
--with-jpeg-lib-dir=$SYSROOT_PREFIX/usr/lib \
--with-jpeg-include-dir=$SYSROOT_PREFIX/usr/include \
--without-x"
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=ON \
-Dtiff-tools=OFF \
-Dtiff-tests=OFF \
-Dtiff-contrib=OFF \
-Dtiff-docs=OFF \
-Dmdi=OFF \
-Djbig=OFF \
-Dlzma=OFF \
-Dzstd=OFF \
-Dwebp=OFF \
-Dcxx=ON \
-Djpeg=ON"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
rm -rf ${INSTALL}/usr/bin
}

View file

@ -296,6 +296,12 @@ then
RUNTHIS='${TBASH} /usr/bin/start_primehack.sh "${ROMNAME}"'
fi
;;
"cemu")
jslisten set "-9 cemu"
if [ "$EMU" = "cemu" ]; then
RUNTHIS='${TBASH} /usr/bin/start_cemu.sh "${ROMNAME}"'
fi
;;
"switch")
jslisten set "-9 yuzu-cmd"
if [ "$EMU" = "yuzu" ]; then

File diff suppressed because it is too large Load diff

View file

@ -32,7 +32,7 @@ PKG_DEPENDS_TARGET="${PKG_EMUS} ${PKG_RETROARCH} ${LIBRETRO_CORES}"
### Emulators or cores for specific devices
case "${DEVICE}" in
handheld)
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa lrps2 desmume bsnes citra slang-shaders minivmac minivmacsa play beetle-saturn yuzusa primehack citrasa ppsspp scummvm"
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa lrps2 desmume bsnes citra slang-shaders minivmac minivmacsa play beetle-saturn yuzusa primehack citrasa cemu ppsspp scummvm"
;;
RK3588)
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin bsnes slang-shaders beetle-saturn"

View file

@ -106,6 +106,7 @@ d /storage/roms/vic20 0755 root root - -
d /storage/roms/videopac 0755 root root - -
d /storage/roms/virtualboy 0755 root root - -
d /storage/roms/wii 0755 root root - -
d /storage/roms/wiiu 0755 root root - -
d /storage/roms/wonderswan 0755 root root - -
d /storage/roms/wonderswancolor 0755 root root - -
d /storage/roms/x1 0755 root root - -