ports/tinygb: Use SDL2 instead of our own frontend

This commit is contained in:
2025-08-07 03:08:01 +03:00
parent 6b2307ab22
commit f61c78efd5
2 changed files with 4 additions and 422 deletions

View File

@@ -3,13 +3,15 @@
NAME='tinygb'
VERSION='git'
DOWNLOAD_URL="https://github.com/jewelcodes/tinygb.git#57fdaff675a6b5b963b2b6624868d9698eabe375"
DEPENDENCIES=('SDL2')
configure() {
make -f Makefile.banan_os clean
sed -i "s|shell sdl2-config|shell $BANAN_SYSROOT/usr/bin/sdl2-config|g" Makefile
make clean
}
build() {
make -f Makefile.banan_os -j$(nproc) || exit 1
make CC="$CC" LD="$CC" || exit 1
}
install() {