diff --git a/app-games/fceux/autobuild/beyond b/app-games/fceux/autobuild/beyond new file mode 100644 index 00000000000..16b76e40b60 --- /dev/null +++ b/app-games/fceux/autobuild/beyond @@ -0,0 +1,4 @@ +abinfo "Removing CHM files..." +find "$PKGDIR"/usr/share/fceux/ -name "*.chm" -delete -print +abinfo "Removing DLL files..." +find "$PKGDIR"/usr/share/fceux/ -name "*.dll" -delete -print diff --git a/app-games/fceux/autobuild/defines b/app-games/fceux/autobuild/defines new file mode 100644 index 00000000000..3c7aa744102 --- /dev/null +++ b/app-games/fceux/autobuild/defines @@ -0,0 +1,11 @@ +PKGNAME=fceux +PKGSEC=games +PKGDEP="sdl2 qt-6 lua-5.1 x264 x265 ffmpeg libarchive minizip zlib" +PKGDES="Famicom/Nintendo Entertainment System (NES) emulator" + +# Note: Upstream recommends using GNU Makefile. +# +# https://github.com/TASEmulators/fceux/blob/d339f1fa0cd8b69cc637a0de3fb3f04cb28748ea/README#L41 +ABTYPE=cmake + +CMAKE_AFTER="-DGLVND=1 -DQT6=1" diff --git a/app-games/fceux/spec b/app-games/fceux/spec new file mode 100644 index 00000000000..17b58dcd82f --- /dev/null +++ b/app-games/fceux/spec @@ -0,0 +1,9 @@ +VER=2.6.6+git20251111 + +# Note: Upstream tag 2.6.6 included a x86-only header +# and cannot be built on other architectures. +# Here use git snapshot with fixed code. +COMMIT=d339f1fa0cd8b69cc637a0de3fb3f04cb28748ea +SRCS="git::commit=$COMMIT;copy-repo=true::https://github.com/TASEmulators/fceux" +CHKSUMS="SKIP" +CHKUPDATE="anitya::id=12147"