Skip to content

Commit

Permalink
Merge branch 'master' into libretro
Browse files Browse the repository at this point in the history
  • Loading branch information
notaz committed Oct 27, 2024
2 parents 9593502 + 79c4d43 commit 06442b6
Show file tree
Hide file tree
Showing 36 changed files with 2,049 additions and 68 deletions.
37 changes: 37 additions & 0 deletions .github/extract-foreign-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash

ARCH_="$1"
.github/extract-foreign.sh "zlib1g-dev:${ARCH_}"
.github/extract-foreign.sh "zlib1g:${ARCH_}"
.github/extract-foreign.sh "libpng-dev:${ARCH_}"
.github/extract-foreign.sh "libpng[0-9]*:${ARCH_}"
.github/extract-foreign.sh "libsdl1.2-dev:${ARCH_}"
.github/extract-foreign.sh "libsdl1.2debian:${ARCH_}"
# endless libsdl deps
.github/extract-foreign.sh "libasound[2-9]:${ARCH_}"
.github/extract-foreign.sh "libpulse[0-9]:${ARCH_}"
.github/extract-foreign.sh "libx11-[6-9]:${ARCH_}"
.github/extract-foreign.sh "libx11-dev:${ARCH_}"
.github/extract-foreign.sh "x11proto-dev"
.github/extract-foreign.sh "libxext[6-9]:${ARCH_}"
.github/extract-foreign.sh "libxcb1:${ARCH_}"
.github/extract-foreign.sh "libxau[6-9]:${ARCH_}"
.github/extract-foreign.sh "libxdmcp[6-9]:${ARCH_}"
.github/extract-foreign.sh "libcaca[0-9]:${ARCH_}"
.github/extract-foreign.sh "libdbus-[0-9]*:${ARCH_}"
.github/extract-foreign.sh "libslang[2-9]:${ARCH_}"
.github/extract-foreign.sh "libncursesw[6-9]:${ARCH_}"
.github/extract-foreign.sh "libtinfo[6-9]:${ARCH_}"
.github/extract-foreign.sh "libsystemd[0-9]:${ARCH_}"
.github/extract-foreign.sh "libwrap[0-9]:${ARCH_}"
.github/extract-foreign.sh "libsndfile[0-9]:${ARCH_}"
.github/extract-foreign.sh "libasyncns[0-9]:${ARCH_}"
.github/extract-foreign.sh "libbsd[0-9]:${ARCH_}"
.github/extract-foreign.sh "liblzma[0-9]:${ARCH_}"
.github/extract-foreign.sh "liblz[4-9]-*:${ARCH_}"
.github/extract-foreign.sh "libgcrypt[0-9]*:${ARCH_}"
.github/extract-foreign.sh "libflac[0-9]:${ARCH_}"
.github/extract-foreign.sh "libogg[0-9]:${ARCH_}"
.github/extract-foreign.sh "libvorbis[0-9]*:${ARCH_}"
.github/extract-foreign.sh "libvorbisenc[2-9]:${ARCH_}"
.github/extract-foreign.sh "libgpg-error[0-9]:${ARCH_}"
11 changes: 11 additions & 0 deletions .github/extract-foreign.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -e

url_base="http://ports.ubuntu.com/ubuntu-ports/"
paths=`apt-cache show "$@" | grep '^Filename:' | awk '{print $2}'`
for p in $paths; do
base=`basename $p`
wget -nv "${url_base}${p}"
echo "exctacting $base"
dpkg-deb -x "$base" .
done
22 changes: 22 additions & 0 deletions .github/workflows/ci-linux-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI (Linux arm64)
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: |
whoami
sudo bash -c 'echo ''deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe'' > /etc/apt/sources.list.d/arm64.list'
sudo sed -i 's/^deb \([^[]\)/deb [arch=amd64] \1/' /etc/apt/sources.list
sudo dpkg --add-architecture arm64
sudo apt-get update -qq
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
.github/extract-foreign-all.sh arm64
- name: configure
run: DUMP_CONFIG_LOG=1 CROSS_COMPILE=aarch64-linux-gnu- SDL_CONFIG=usr/bin/sdl-config PATH=$PATH:usr/bin CFLAGS='-Iusr/include/ -Iusr/include/SDL' LDFLAGS='-Lusr/lib/aarch64-linux-gnu/ -Llib/aarch64-linux-gnu/ -Wl,-rpath-link=lib/aarch64-linux-gnu/,-rpath-link=usr/lib/aarch64-linux-gnu/,-rpath-link=usr/lib/aarch64-linux-gnu/pulseaudio/' ./configure
- name: make
run: make
22 changes: 22 additions & 0 deletions .github/workflows/ci-linux-armhf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI (Linux armhf)
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: |
whoami
sudo bash -c 'echo ''deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe'' > /etc/apt/sources.list.d/armhf.list'
sudo sed -i 's/^deb \([^[]\)/deb [arch=amd64] \1/' /etc/apt/sources.list
sudo dpkg --add-architecture armhf
sudo apt-get update -qq
sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
.github/extract-foreign-all.sh armhf
- name: configure
run: DUMP_CONFIG_LOG=1 CROSS_COMPILE=arm-linux-gnueabihf- SDL_CONFIG=usr/bin/sdl-config PATH=$PATH:usr/bin CFLAGS='-Iusr/include/ -Iusr/include/SDL' LDFLAGS='-Lusr/lib/arm-linux-gnueabihf/ -Llib/arm-linux-gnueabihf/ -Wl,-rpath-link=lib/arm-linux-gnueabihf/,-rpath-link=usr/lib/arm-linux-gnueabihf/,-rpath-link=usr/lib/arm-linux-gnueabihf/pulseaudio/' ./configure
- name: make
run: make
17 changes: 17 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI (Linux)
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y libsdl1.2-dev libasound2-dev libpng-dev libz-dev
- name: configure
run: DUMP_CONFIG_LOG=1 ./configure
- name: make
run: make
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PCSX-ReARMed - yet another PCSX fork
====================================

[![Build Status](https://travis-ci.org/libretro/pcsx_rearmed.svg?branch=master)](https://travis-ci.org/libretro/pcsx_rearmed)
![CI (Linux)](https://github.com/notaz/pcsx_rearmed/workflows/CI%20(Linux)/badge.svg)

*see [readme.txt](readme.txt) for more complete documentation*

Expand Down
23 changes: 23 additions & 0 deletions frontend/320240/caanoo.gpe
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh

# Wiz's timings are already good, apply this for Caanoo
if [ -e /dev/accel ]; then
./pollux_set "ram_timings=3,9,4,1,1,1,1"
fi

# the sync mount causes problems when writing saves,
# probably due to many write calls, so have to get rid of it
if grep mmcblk /proc/mounts | grep -q '\<sync\>'; then
oldmount=`grep mmcblk /proc/mounts | grep '\<sync\>' | awk '{print $4}'`
mount /dev/mmcblk0p1 /mnt/sd/ -o remount,dirsync,noatime
fi

./pcsx "$@"
sync

if [ -n "$oldmount" ]; then
mount /dev/mmcblk0p1 /mnt/sd/ -o remount,$oldmount
fi

cd /usr/gp2x
exec ./gp2xmenu
3 changes: 3 additions & 0 deletions frontend/320240/haptic_s.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0 126
100 -126
115 0
3 changes: 3 additions & 0 deletions frontend/320240/haptic_w.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0 54
100 -126
105 0
Binary file added frontend/320240/pcsx26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions frontend/320240/pcsx_rearmed.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[info]
name="PCSX ReARMed"
icon="/pcsx_rearmed/pcsx26.png"
path="/pcsx_rearmed/pcsx.gpe"
title="/pcsx_rearmed/pcsxb.png"
group="GAMES"
Binary file added frontend/320240/pcsxb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 06442b6

Please sign in to comment.