aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-02-22 21:57:56 +0800
committermakc <makc@FreeBSD.org>2013-02-22 21:57:56 +0800
commit4ac0fc3bc4af30cffb884c0882e216c1dd44c15e (patch)
tree91f2ddc53d15ee57db8a0dfb518cfe346c94eaba /emulators
parent9404a73944709ec40af6b18538a685466d004c99 (diff)
downloadfreebsd-ports-gnome-4ac0fc3bc4af30cffb884c0882e216c1dd44c15e.tar.gz
freebsd-ports-gnome-4ac0fc3bc4af30cffb884c0882e216c1dd44c15e.tar.zst
freebsd-ports-gnome-4ac0fc3bc4af30cffb884c0882e216c1dd44c15e.zip
- Rename emulators/bsnes to emulators/higan due to upstream name change
- Update to 0.92 PR: ports/176333 Submitted by: Naram Qashat (maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile2
-rw-r--r--emulators/bsnes/distinfo2
-rw-r--r--emulators/bsnes/files/patch-Makefile11
-rw-r--r--emulators/bsnes/pkg-descr13
-rw-r--r--emulators/bsnes/pkg-plist5
-rw-r--r--emulators/higan/Makefile (renamed from emulators/bsnes/Makefile)34
-rw-r--r--emulators/higan/distinfo2
-rw-r--r--emulators/higan/files/patch-Makefile11
-rw-r--r--emulators/higan/files/patch-nall-file.hpp (renamed from emulators/bsnes/files/patch-nall-file.hpp)20
-rw-r--r--emulators/higan/files/patch-target-ethos-Makefile (renamed from emulators/bsnes/files/patch-target-ethos-Makefile)6
-rw-r--r--emulators/higan/pkg-descr13
-rw-r--r--emulators/higan/pkg-plist6
12 files changed, 64 insertions, 61 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 700698313088..a843c36f85ac 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -12,7 +12,6 @@
SUBDIR += atari800
SUBDIR += bfe
SUBDIR += bochs
- SUBDIR += bsnes
SUBDIR += bsvc
SUBDIR += catapult
SUBDIR += cinc
@@ -57,6 +56,7 @@
SUBDIR += hercules
SUBDIR += hfs
SUBDIR += hfsutils
+ SUBDIR += higan
SUBDIR += hugo
SUBDIR += ia64sim
SUBDIR += ines
diff --git a/emulators/bsnes/distinfo b/emulators/bsnes/distinfo
deleted file mode 100644
index 96cb9f6a102c..000000000000
--- a/emulators/bsnes/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bsnes_v091-source.tar.xz) = 8c85a18ff44195d23b54cad53549152f034ee338e590907e8c8cbc3eaa7daf9f
-SIZE (bsnes_v091-source.tar.xz) = 1055048
diff --git a/emulators/bsnes/files/patch-Makefile b/emulators/bsnes/files/patch-Makefile
deleted file mode 100644
index 9c1e3891cb40..000000000000
--- a/emulators/bsnes/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- bsnes/Makefile.orig 2012-04-24 06:30:52.000000000 -0400
-+++ bsnes/Makefile 2012-05-06 17:58:01.000000000 -0400
-@@ -31,7 +31,7 @@
- # platform
- ifeq ($(platform),x)
- flags += -march=native
-- link += -ldl -lX11 -lXext
-+ link += -lX11 -lXext
- else ifeq ($(platform),osx)
- else ifeq ($(platform),win)
- link += $(if $(findstring console,$(options)),-mconsole,-mwindows)
diff --git a/emulators/bsnes/pkg-descr b/emulators/bsnes/pkg-descr
deleted file mode 100644
index 184d5207a57c..000000000000
--- a/emulators/bsnes/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-bsnes is an emulator that began development on 2004-10-14.
-The purpose of this emulator is a bit different from others:
-it focuses on accuracy, debugging functionality, and clean code.
-
-The emulator does not focus on things that would hinder accuracy.
-This includes speed and game-specific hacks for compatibility.
-As a result, the minimum system requirements for bsnes are very high.
-
-The emulator itself was not derived from any existing emulator source code,
-such as SNES9x. It was written from scratch by myself.
-Any similarities to other emulators are merely coincidental.
-
-WWW: http://byuu.org/bsnes/
diff --git a/emulators/bsnes/pkg-plist b/emulators/bsnes/pkg-plist
deleted file mode 100644
index 0c0b83d40555..000000000000
--- a/emulators/bsnes/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/bsnes
-bin/snespurify
-share/applications/bsnes.desktop
-share/pixmaps/bsnes.png
-@dirrmtry share/applications
diff --git a/emulators/bsnes/Makefile b/emulators/higan/Makefile
index 1f40c85992a9..659702c4f870 100644
--- a/emulators/bsnes/Makefile
+++ b/emulators/higan/Makefile
@@ -1,36 +1,37 @@
# Created by: elbarto
# $FreeBSD$
-PORTNAME= bsnes
-PORTVERSION= 0.91
+PORTNAME= higan
+PORTVERSION= 0.92
CATEGORIES= emulators
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}_v${PORTVERSION:S/.//}-source
MAINTAINER= cyberbotx@cyberbotx.com
-COMMENT= Super Nintendo/Super Famicom emulator
+COMMENT= Nintendo multi-system emulator
USE_XZ= yes
USE_GMAKE= yes
USE_GCC= 4.6+
USE_PKGCONFIG= build
+USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64
MAKE_ENV+= c="${CC} -std=gnu99" cpp="${CXX} -std=gnu++0x"
OPTIONS_SINGLE= PROFILE GUI
-OPTIONS_SINGLE_PROFILE= ACCURACY COMPATIBILITY PERFORMANCE
+OPTIONS_SINGLE_PROFILE= ACCURACY BALANCED PERFORMANCE
OPTIONS_SINGLE_GUI= GTK2 QT4
OPTIONS_MULTI= VIDEO SOUND INPUT
OPTIONS_MULTI_VIDEO= GLX SDL XV
OPTIONS_MULTI_SOUND= AO OPENAL OSS PULSEAUDIO
OPTIONS_MULTI_INPUT= INPUT_SDL INPUT_X
-OPTIONS_DEFAULT= COMPATIBILITY GTK2 GLX XV SDL \
+OPTIONS_DEFAULT= BALANCED GTK2 GLX XV SDL \
OSS INPUT_SDL INPUT_X
-ACCURACY_DESC= Favor accuracy over compatibility
-COMPATIBILITY_DESC= Favor compatibility over accuracy
-PERFORMANCE_DESC= Favor performance over accuracy
+ACCURACY_DESC= Use accuracy profile
+BALACNED_DESC= Use balanced profile
+PERFORMANCE_DESC= Use performance profile
GTK2_DESC= Build with GTK+2 GUI
QT4_DESC= Build with QT4 GUI
GLX_DESC= Build GLX video driver
@@ -47,8 +48,8 @@ INPUT_X_DESC= Build X input driver
.if ${PORT_OPTIONS:MACCURACY}
MAKE_ENV+= profile="accuracy"
-.elif ${PORT_OPTIONS:MCOMPATIBILITY}
-MAKE_ENV+= profile="compatibility"
+.elif ${PORT_OPTIONS:MBALANCED}
+MAKE_ENV+= profile="balanced"
.else
MAKE_ENV+= profile="performance"
.endif
@@ -112,10 +113,10 @@ post-patch:
-e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \
-e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \
-e 's|%%INPUT%%|${INPUT_DRIVER}|' \
- ${WRKSRC}/bsnes/target-ethos/Makefile
+ ${WRKSRC}/higan/target-ethos/Makefile
do-build:
-.for d in bsnes purify
+.for d in higan ananke
.if ${PORT_OPTIONS:MQT4}
cd ${WRKSRC}/${d}/phoenix/qt && ${MOC} -i -o platform.moc platform.moc.hpp
.endif
@@ -123,10 +124,11 @@ do-build:
.endfor
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bsnes/out/bsnes ${PREFIX}/bin/
- ${INSTALL_PROGRAM} ${WRKSRC}/purify/purify ${PREFIX}/bin/snespurify
- ${INSTALL_DATA} ${WRKSRC}/bsnes/data/bsnes.png ${PREFIX}/share/pixmaps/
+ ${INSTALL_LIB} ${WRKSRC}/ananke/libananke.so ${PREFIX}/lib/libananke.so.1
+ ${LN} -sf ${PREFIX}/lib/libananke.so.1 ${PREFIX}/lib/libananke.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.png ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/bsnes/data/bsnes.desktop ${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.desktop ${PREFIX}/share/applications/
.include <bsd.port.mk>
diff --git a/emulators/higan/distinfo b/emulators/higan/distinfo
new file mode 100644
index 000000000000..8d548d675605
--- /dev/null
+++ b/emulators/higan/distinfo
@@ -0,0 +1,2 @@
+SHA256 (higan_v092-source.tar.xz) = b73a740c6a8a82fe42a3f166df16806a6fbe8c140c82d7f6089ed984d7491168
+SIZE (higan_v092-source.tar.xz) = 790136
diff --git a/emulators/higan/files/patch-Makefile b/emulators/higan/files/patch-Makefile
new file mode 100644
index 000000000000..5a80997fac43
--- /dev/null
+++ b/emulators/higan/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- higan/Makefile.orig 2012-11-04 00:22:50.000000000 -0400
++++ higan/Makefile 2013-02-21 13:58:56.000000000 -0500
+@@ -34,7 +34,7 @@
+ # platform
+ ifeq ($(platform),x)
+ flags += -march=native
+- link += -Wl,-export-dynamic -ldl -lX11 -lXext
++ link += -Wl,-export-dynamic -lX11 -lXext
+ else ifeq ($(platform),win)
+ ifeq ($(arch),win32)
+ flags += -m32
diff --git a/emulators/bsnes/files/patch-nall-file.hpp b/emulators/higan/files/patch-nall-file.hpp
index fe191b77e67d..98afc8184a6a 100644
--- a/emulators/bsnes/files/patch-nall-file.hpp
+++ b/emulators/higan/files/patch-nall-file.hpp
@@ -1,6 +1,6 @@
---- bsnes/nall/file.hpp.orig 2012-03-06 14:03:53.000000000 -0500
-+++ bsnes/nall/file.hpp 2012-04-16 23:42:33.000000000 -0400
-@@ -160,8 +160,8 @@
+--- higan/nall/file.hpp.orig 2013-01-14 13:27:28.000000000 -0500
++++ higan/nall/file.hpp 2013-02-21 14:05:00.000000000 -0500
+@@ -218,8 +218,8 @@
static bool exists(const string &filename) {
#if !defined(_WIN32)
@@ -11,7 +11,7 @@
#else
struct __stat64 data;
return _wstat64(utf16_t(filename), &data) == 0;
-@@ -170,8 +170,8 @@
+@@ -228,8 +228,8 @@
static uintmax_t size(const string &filename) {
#if !defined(_WIN32)
@@ -22,7 +22,7 @@
#else
struct __stat64 data;
_wstat64(utf16_t(filename), &data);
-@@ -181,8 +181,8 @@
+@@ -239,8 +239,8 @@
static time_t timestamp(const string &filename, file::time mode = file::time::create) {
#if !defined(_WIN32)
@@ -33,9 +33,9 @@
#else
struct __stat64 data;
_wstat64(utf16_t(filename), &data);
---- purify/nall/file.hpp.orig 2012-04-23 02:11:07.000000000 -0400
-+++ purify/nall/file.hpp 2012-05-06 22:54:42.000000000 -0400
-@@ -160,8 +160,8 @@
+--- ananke/nall/file.hpp.orig 2013-01-11 13:26:29.000000000 -0500
++++ ananke/nall/file.hpp 2013-02-21 14:06:08.000000000 -0500
+@@ -218,8 +218,8 @@
static bool exists(const string &filename) {
#if !defined(_WIN32)
@@ -46,7 +46,7 @@
#else
struct __stat64 data;
return _wstat64(utf16_t(filename), &data) == 0;
-@@ -170,8 +170,8 @@
+@@ -228,8 +228,8 @@
static uintmax_t size(const string &filename) {
#if !defined(_WIN32)
@@ -57,7 +57,7 @@
#else
struct __stat64 data;
_wstat64(utf16_t(filename), &data);
-@@ -181,8 +181,8 @@
+@@ -239,8 +239,8 @@
static time_t timestamp(const string &filename, file::time mode = file::time::create) {
#if !defined(_WIN32)
diff --git a/emulators/bsnes/files/patch-target-ethos-Makefile b/emulators/higan/files/patch-target-ethos-Makefile
index c5f32bd57ccb..5e07ebb988cd 100644
--- a/emulators/bsnes/files/patch-target-ethos-Makefile
+++ b/emulators/higan/files/patch-target-ethos-Makefile
@@ -1,6 +1,6 @@
---- bsnes/target-ethos/Makefile.orig 2012-08-09 19:32:19.000000000 -0400
-+++ bsnes/target-ethos/Makefile 2012-10-07 22:43:24.000000000 -0400
-@@ -15,9 +15,9 @@
+--- higan/target-ethos/Makefile.orig 2013-01-12 16:59:47.000000000 -0500
++++ higan/target-ethos/Makefile 2013-02-21 14:00:38.000000000 -0500
+@@ -16,9 +16,9 @@
# platform
ifeq ($(platform),x)
diff --git a/emulators/higan/pkg-descr b/emulators/higan/pkg-descr
new file mode 100644
index 000000000000..62477aae0fbb
--- /dev/null
+++ b/emulators/higan/pkg-descr
@@ -0,0 +1,13 @@
+higan is a Nintendo multi-system emulator that began development
+on 2004-10-14. The purpose of this emulator is a bit different from
+others: it focuses on accuracy, debugging functionality, and clean code.
+
+The emulator does not focus on things that would hinder accuracy.
+This includes speed and game-specific hacks for compatibility.
+As a result, the minimum system requirements for higan are very high.
+
+The emulator itself was not derived from any existing emulator source code,
+such as SNES9x. It was written from scratch.
+Any similarities to other emulators are merely coincidental.
+
+WWW: http://byuu.org/higan/
diff --git a/emulators/higan/pkg-plist b/emulators/higan/pkg-plist
new file mode 100644
index 000000000000..139b312a3711
--- /dev/null
+++ b/emulators/higan/pkg-plist
@@ -0,0 +1,6 @@
+bin/higan
+lib/libananke.so.1
+lib/libananke.so
+share/applications/higan.desktop
+share/pixmaps/higan.png
+@dirrmtry share/applications