mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 00:09:15 -04:00
M64Py is a Qt5 front-end (GUI) for Mupen64Plus, a cross-platform plugin-based Nintendo 64 emulator. Front-end is written in Python and it provides a user-friendly interface over the Mupen64Plus shared library.
18 lines
532 B
Python
18 lines
532 B
Python
--- src/m64py/platform.py.orig 2023-12-26 23:01:25 UTC
|
|
+++ src/m64py/platform.py
|
|
@@ -31,6 +31,15 @@ if sys.platform.startswith("linux"):
|
|
"/usr/lib/i386-linux-gnu/mupen64plus",
|
|
"."
|
|
]
|
|
+elif sys.platform.startswith("freebsd"):
|
|
+ DLL_EXT = ".so"
|
|
+ DLL_FILTER = ""
|
|
+ DEFAULT_DYNLIB = "libmupen64plus.so.2"
|
|
+ SEARCH_DIRS = [
|
|
+ "%%LOCALBASE%%/lib/",
|
|
+ "%%LOCALBASE%%/lib/mupen64plus/",
|
|
+ "."
|
|
+ ]
|
|
elif sys.platform.startswith("openbsd"):
|
|
DLL_EXT = ".so"
|
|
DLL_FILTER = ""
|