Import libretro-nestopia, split from the existing libretro port.
From Ryan Freeman; thanks!
This commit is contained in:
parent
6c1df0eca5
commit
83225b09bc
46
emulators/libretro-nestopia/Makefile
Normal file
46
emulators/libretro-nestopia/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
COMMENT = Nintendo Entertainment System core for retroarch
|
||||
|
||||
V = 1.51.1
|
||||
DISTNAME = libretro-nestopia-$V
|
||||
|
||||
GH_ACCOUNT = libretro
|
||||
GH_PROJECT = nestopia
|
||||
GH_COMMIT = a9e197f2583ef4f36e9e77d930a677e63a2c2f62
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
|
||||
CATEGORIES = emulators
|
||||
|
||||
HOMEPAGE = https://github.com/libretro/nestopia
|
||||
|
||||
MAINTAINER = Ryan Freeman <ryan@slipgate.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = ${COMPILER_LIBCXX} m pthread
|
||||
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
|
||||
BUILD_DEPENDS = devel/autoconf-archive
|
||||
LIB_DEPENDS = ${MODGCC4_CPPLIBDEP}
|
||||
|
||||
MAKE_FLAGS = CC="${CC}" \
|
||||
CXX="${CXX}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CXXFLAGS="${CFLAGS} \
|
||||
-Ilibretro-common/include -Wno-narrowing"
|
||||
FAKE_FLAGS = PREFIX="${WRKINST}/${TRUEPREFIX}"
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
WRKSRC = ${WRKDIST}/libretro
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/libretro
|
||||
${INSTALL_DATA} ${WRKSRC}/nestopia_libretro.so \
|
||||
${PREFIX}/lib/libretro
|
||||
|
||||
.include <bsd.port.mk>
|
2
emulators/libretro-nestopia/distinfo
Normal file
2
emulators/libretro-nestopia/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libretro-nestopia-1.51.1-a9e197f2.tar.gz) = E3K7KaAsQ2YDlHnREVyJDYTN3Qf6RDhDBQaSQ1w4dss=
|
||||
SIZE (libretro-nestopia-1.51.1-a9e197f2.tar.gz) = 1121493
|
12
emulators/libretro-nestopia/patches/patch-libretro_Makefile
Normal file
12
emulators/libretro-nestopia/patches/patch-libretro_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
Index: libretro/Makefile
|
||||
--- libretro/Makefile.orig
|
||||
+++ libretro/Makefile
|
||||
@@ -63,7 +63,7 @@ unixcygpath = /$(subst :,,$(call unixpath,$1))
|
||||
ifeq ($(platform), unix)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
- SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
|
||||
+ SHARED := -shared -Wl,-version-script=link.T
|
||||
ifeq ($(shell uname -s), Haiku)
|
||||
LDFLAGS += -lroot
|
||||
endif
|
2
emulators/libretro-nestopia/pkg/DESCR
Normal file
2
emulators/libretro-nestopia/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
libretro-nestopia provides a Nintendo Entertainment System emulation core to
|
||||
the RetroArch emulator frontend, based on Nestopia.
|
2
emulators/libretro-nestopia/pkg/PLIST
Normal file
2
emulators/libretro-nestopia/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
lib/libretro/
|
||||
lib/libretro/nestopia_libretro.so
|
Loading…
Reference in New Issue
Block a user