ports: mednafen

This commit is contained in:
Matheus
2026-02-27 21:34:53 -03:00
parent b83d954c6e
commit a85914fe9a
2 changed files with 28 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name=mednafen
revision=1
from_source=mednafen
imagedeps="build-essential"
hostdeps="xgcc xbinutils autoconf automake libtool pkgconfig libstdc++-v3"
deps="base sdl2 zlib"
configure() {
${source_dir}/configure --disable-alsa --prefix=/usr --host=x86_64-astral --without-libflac
}
build() {
make -j${parallelism}
}
package() {
make install DESTDIR=${dest_dir}
}
+10
View File
@@ -0,0 +1,10 @@
name=mednafen
version=1.32.1
source_method=tarball
tarball_url="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz"
tarball_sha512=5a99c62561823ba9a59d4dfd3b454f87989c83b873f61d8d25e44af7e8fbf25a7513d26c7566672538a62aac400281f611f2db943e88fe839cd05d088087f8d9
hostdeps="autoconf automake libtool pkgconfig"
prepare() {
autoreconf -fvi
}