mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 14:57:45 -04:00
platform-miyoo: change to IPK release output
create `platform/miyoo/pkg.cfg`
This commit is contained in:
parent
29dcbc52b2
commit
e3fa3ee270
4 changed files with 53 additions and 5 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -196,12 +196,12 @@ jobs:
|
||||||
ver=$(cut -d'"' -f2 platform/common/version.h)-$(git rev-parse --short HEAD)
|
ver=$(cut -d'"' -f2 platform/common/version.h)-$(git rev-parse --short HEAD)
|
||||||
./configure --platform=miyoo
|
./configure --platform=miyoo
|
||||||
make -j$(getconf _NPROCESSORS_ONLN)
|
make -j$(getconf _NPROCESSORS_ONLN)
|
||||||
mv PicoDrive-miyoo.zip PicoDrive-miyoo-$ver.zip
|
mv PicoDrive-miyoo.ipk PicoDrive-miyoo-$ver.ipk
|
||||||
- name: artifacts
|
- name: artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Miyoo
|
name: Miyoo
|
||||||
path: PicoDrive-miyoo*.zip
|
path: PicoDrive-miyoo*.ipk
|
||||||
|
|
||||||
build-retrofw:
|
build-retrofw:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -30,6 +30,7 @@ PicoDrive
|
||||||
picodrive
|
picodrive
|
||||||
picodrive_libretro*
|
picodrive_libretro*
|
||||||
PicoDrive*.opk
|
PicoDrive*.opk
|
||||||
|
PicoDrive*.ipk
|
||||||
PicoDrive*.zip
|
PicoDrive*.zip
|
||||||
pico_int_offs.h
|
pico_int_offs.h
|
||||||
amalgamate
|
amalgamate
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -141,10 +141,12 @@ all: PicoDrive-dge.zip
|
||||||
CFLAGS += -DSDL_SURFACE_SW # some legacy dinguces had bugs in HWSURFACE
|
CFLAGS += -DSDL_SURFACE_SW # some legacy dinguces had bugs in HWSURFACE
|
||||||
else
|
else
|
||||||
ifneq (,$(filter %__MIYOO__, $(CFLAGS)))
|
ifneq (,$(filter %__MIYOO__, $(CFLAGS)))
|
||||||
PicoDrive-miyoo.zip: .od_data
|
PicoDrive-miyoo.ipk: .od_data
|
||||||
rm -f .od_data/default.*.desktop .od_data/PicoDrive.dge
|
rm -f .od_data/default.*.desktop .od_data/PicoDrive.dge
|
||||||
cd .od_data && zip -9 -r ../$@ *
|
gm2xpkg -i platform/miyoo/pkg.cfg
|
||||||
all: PicoDrive-miyoo.zip
|
mv picodrive.ipk $@
|
||||||
|
@gm2xpkg -c platform/miyoo/pkg.cfg >/dev/null 2>&1
|
||||||
|
all: PicoDrive-miyoo.ipk
|
||||||
else
|
else
|
||||||
PicoDrive.opk: .od_data
|
PicoDrive.opk: .od_data
|
||||||
rm -f .od_data/PicoDrive.dge
|
rm -f .od_data/PicoDrive.dge
|
||||||
|
|
45
platform/miyoo/pkg.cfg
Normal file
45
platform/miyoo/pkg.cfg
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# NOTES:
|
||||||
|
## All variable values should enclosed within double quotes: "<value>"
|
||||||
|
## CONFIGURATION FILE for `gm2xpkg` script version:
|
||||||
|
PKGVER="0.4"
|
||||||
|
|
||||||
|
# EXEC commands (set to "1" anyone for desired outcome), you can instead use [OPTIONS] of `gm2xpkg`:
|
||||||
|
PACKAGE=""
|
||||||
|
ZIP=""
|
||||||
|
IPK=""
|
||||||
|
CLEAN=""
|
||||||
|
|
||||||
|
# ENV VAR.
|
||||||
|
## Specific (mandatory to provide!)
|
||||||
|
TARGET="picodrive" # replace with binary name
|
||||||
|
VERSION="v2.00" # replace with correct release version if exist
|
||||||
|
|
||||||
|
## Generic - common to all apps (better to not modify)
|
||||||
|
HOMEPATH="/mnt"
|
||||||
|
RELEASEDIR=""
|
||||||
|
ASSETSDIR=".od_data"
|
||||||
|
OPKG_ASSETSDIR=""
|
||||||
|
LINK="" # full name of gm2x link, modify if exec binary name may be different from target name - place in CWD (warning: it may be removed with CLEAN=1)
|
||||||
|
ALIASES="" # full name (with ext) of *.txt file with new names for selector e.g. old_title=new_title - place in CWD
|
||||||
|
MANUAL="" # full name (with ext) of *.man.txt file with usage description of target app - place in CWD
|
||||||
|
|
||||||
|
## Link entries (better modify if no <target_name>.lnk file provided)
|
||||||
|
TITLE="PicoDrive"
|
||||||
|
DESCRI="MegaDrive/MegaCD/32X emulator"
|
||||||
|
SELDIR="/mnt/roms/SMD"
|
||||||
|
DESTDIR="emus" # default=apps
|
||||||
|
SECTION="emulators" # default=applications
|
||||||
|
|
||||||
|
## Custom entries (if needed then modify)
|
||||||
|
TARGET_DIR="" # the directory /$HOMEPATH/$DESTDIR/TARGET_DIR of executable binary if not provided the TARGET_DIR=$TARGET
|
||||||
|
DOCS=("COPYING" "AUTHORS") # array of extra text files e.g. =("LICENSE" "CHANGELOG" "CONTRIBUTORS") which will be copied & converted to *.txt files for ease of use by frontend
|
||||||
|
|
||||||
|
## IPK control entries (if needed then modify)
|
||||||
|
PRIORITY=""
|
||||||
|
MAINTAINER="irixxxx"
|
||||||
|
CONFFILES=""
|
||||||
|
ARCH="" # default=arm - do not modify for ARM chips
|
||||||
|
# CONTROL= # automated output of *.ipk control config file
|
||||||
|
DEPENDS="" # list of dependency packages e.g. ="sdl, libpng" or ="sdl (>= 2.9.2), sdl_mixer (= ed76d39cda0735d26c14a3e4f4da996e420f6478)" provide only for shared libs build, otherwise ignored
|
||||||
|
SOURCE="https://github.com/irixxxx/picodrive"
|
||||||
|
LICENSE="Custom"
|
Loading…
Add table
Add a link
Reference in a new issue