View | Details | Raw Unified | Return to bug 176333
Collapse All | Expand All

(-)/kirby/shared/ports/higan/Makefile (-16 / +18 lines)
Lines 1-36 Link Here
1
# Created by: elbarto
1
# Created by: elbarto
2
# $FreeBSD: head/emulators/bsnes/Makefile 306472 2012-10-26 20:08:09Z jhale $
2
# $FreeBSD: head/emulators/bsnes/Makefile 306472 2012-10-26 20:08:09Z jhale $
3
3
4
PORTNAME=	bsnes
4
PORTNAME=	higan
5
PORTVERSION=	0.91
5
PORTVERSION=	0.92
6
CATEGORIES=	emulators
6
CATEGORIES=	emulators
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
8
DISTNAME=	${PORTNAME}_v${PORTVERSION:S/.//}-source
8
DISTNAME=	${PORTNAME}_v${PORTVERSION:S/.//}-source
9
9
10
MAINTAINER=	cyberbotx@cyberbotx.com
10
MAINTAINER=	cyberbotx@cyberbotx.com
11
COMMENT=	Super Nintendo/Super Famicom emulator
11
COMMENT=	Nintendo multi-system emulator
12
12
13
USE_XZ=		yes
13
USE_XZ=		yes
14
USE_GMAKE=	yes
14
USE_GMAKE=	yes
15
USE_GCC=	4.6+
15
USE_GCC=	4.6+
16
USE_PKGCONFIG=	build
16
USE_PKGCONFIG=	build
17
USE_LDCONFIG=	yes
17
18
18
ONLY_FOR_ARCHS=	i386 amd64
19
ONLY_FOR_ARCHS=	i386 amd64
19
MAKE_ENV+=	c="${CC} -std=gnu99" cpp="${CXX} -std=gnu++0x"
20
MAKE_ENV+=	c="${CC} -std=gnu99" cpp="${CXX} -std=gnu++0x"
20
21
21
OPTIONS_SINGLE=		PROFILE GUI
22
OPTIONS_SINGLE=		PROFILE GUI
22
OPTIONS_SINGLE_PROFILE=	ACCURACY COMPATIBILITY PERFORMANCE
23
OPTIONS_SINGLE_PROFILE=	ACCURACY BALANCED PERFORMANCE
23
OPTIONS_SINGLE_GUI=	GTK2 QT4
24
OPTIONS_SINGLE_GUI=	GTK2 QT4
24
OPTIONS_MULTI=		VIDEO SOUND INPUT
25
OPTIONS_MULTI=		VIDEO SOUND INPUT
25
OPTIONS_MULTI_VIDEO=	GLX SDL XV
26
OPTIONS_MULTI_VIDEO=	GLX SDL XV
26
OPTIONS_MULTI_SOUND=	AO OPENAL OSS PULSEAUDIO
27
OPTIONS_MULTI_SOUND=	AO OPENAL OSS PULSEAUDIO
27
OPTIONS_MULTI_INPUT=	INPUT_SDL INPUT_X
28
OPTIONS_MULTI_INPUT=	INPUT_SDL INPUT_X
28
OPTIONS_DEFAULT=	COMPATIBILITY GTK2 GLX XV SDL \
29
OPTIONS_DEFAULT=	BALANCED GTK2 GLX XV SDL \
29
			OSS INPUT_SDL INPUT_X
30
			OSS INPUT_SDL INPUT_X
30
31
31
ACCURACY_DESC=		Favor accuracy over compatibility
32
ACCURACY_DESC=		Use accuracy profile
32
COMPATIBILITY_DESC=	Favor compatibility over accuracy
33
BALACNED_DESC=		Use balanced profile
33
PERFORMANCE_DESC=	Favor performance over accuracy
34
PERFORMANCE_DESC=	Use performance profile
34
GTK2_DESC=		Build with GTK+2 GUI
35
GTK2_DESC=		Build with GTK+2 GUI
35
QT4_DESC=		Build with QT4 GUI
36
QT4_DESC=		Build with QT4 GUI
36
GLX_DESC=		Build GLX video driver
37
GLX_DESC=		Build GLX video driver
Lines 47-54 Link Here
47
48
48
.if ${PORT_OPTIONS:MACCURACY}
49
.if ${PORT_OPTIONS:MACCURACY}
49
MAKE_ENV+=	profile="accuracy"
50
MAKE_ENV+=	profile="accuracy"
50
.elif ${PORT_OPTIONS:MCOMPATIBILITY}
51
.elif ${PORT_OPTIONS:MBALANCED}
51
MAKE_ENV+=	profile="compatibility"
52
MAKE_ENV+=	profile="balanced"
52
.else
53
.else
53
MAKE_ENV+=	profile="performance"
54
MAKE_ENV+=	profile="performance"
54
.endif
55
.endif
Lines 112-121 Link Here
112
		-e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \
113
		-e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \
113
		-e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \
114
		-e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \
114
		-e 's|%%INPUT%%|${INPUT_DRIVER}|' \
115
		-e 's|%%INPUT%%|${INPUT_DRIVER}|' \
115
		${WRKSRC}/bsnes/target-ethos/Makefile
116
		${WRKSRC}/higan/target-ethos/Makefile
116
117
117
do-build:
118
do-build:
118
.for d in bsnes purify
119
.for d in higan ananke
119
.if ${PORT_OPTIONS:MQT4}
120
.if ${PORT_OPTIONS:MQT4}
120
	cd ${WRKSRC}/${d}/phoenix/qt && ${MOC} -i -o platform.moc platform.moc.hpp
121
	cd ${WRKSRC}/${d}/phoenix/qt && ${MOC} -i -o platform.moc platform.moc.hpp
121
.endif
122
.endif
Lines 123-132 Link Here
123
.endfor
124
.endfor
124
125
125
do-install:
126
do-install:
126
	${INSTALL_PROGRAM} ${WRKSRC}/bsnes/out/bsnes ${PREFIX}/bin/
127
	${INSTALL_LIB} ${WRKSRC}/ananke/libananke.so ${PREFIX}/lib/libananke.so.1
127
	${INSTALL_PROGRAM} ${WRKSRC}/purify/purify ${PREFIX}/bin/snespurify
128
	${LN} -sf ${PREFIX}/lib/libananke.so.1 ${PREFIX}/lib/libananke.so
128
	${INSTALL_DATA} ${WRKSRC}/bsnes/data/bsnes.png ${PREFIX}/share/pixmaps/
129
	${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${PREFIX}/bin/
130
	${INSTALL_DATA} ${WRKSRC}/higan/data/higan.png ${PREFIX}/share/pixmaps/
129
	${MKDIR} ${PREFIX}/share/applications
131
	${MKDIR} ${PREFIX}/share/applications
130
	${INSTALL_DATA} ${WRKSRC}/bsnes/data/bsnes.desktop ${PREFIX}/share/applications/
132
	${INSTALL_DATA} ${WRKSRC}/higan/data/higan.desktop ${PREFIX}/share/applications/
131
133
132
.include <bsd.port.mk>
134
.include <bsd.port.mk>
(-)/kirby/shared/ports/higan/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (bsnes_v091-source.tar.xz) = 8c85a18ff44195d23b54cad53549152f034ee338e590907e8c8cbc3eaa7daf9f
1
SHA256 (higan_v092-source.tar.xz) = b73a740c6a8a82fe42a3f166df16806a6fbe8c140c82d7f6089ed984d7491168
2
SIZE (bsnes_v091-source.tar.xz) = 1055048
2
SIZE (higan_v092-source.tar.xz) = 790136
(-)/kirby/shared/ports/higan/files/patch-Makefile (-7 / +7 lines)
Lines 1-11 Link Here
1
--- bsnes/Makefile.orig	2012-04-24 06:30:52.000000000 -0400
1
--- higan/Makefile.orig	2012-11-04 00:22:50.000000000 -0400
2
+++ bsnes/Makefile	2012-05-06 17:58:01.000000000 -0400
2
+++ higan/Makefile	2013-02-21 13:58:56.000000000 -0500
3
@@ -31,7 +31,7 @@
3
@@ -34,7 +34,7 @@
4
 # platform
4
 # platform
5
 ifeq ($(platform),x)
5
 ifeq ($(platform),x)
6
   flags += -march=native
6
   flags += -march=native
7
-  link += -ldl -lX11 -lXext
7
-  link += -Wl,-export-dynamic -ldl -lX11 -lXext
8
+  link += -lX11 -lXext
8
+  link += -Wl,-export-dynamic -lX11 -lXext
9
 else ifeq ($(platform),osx)
10
 else ifeq ($(platform),win)
9
 else ifeq ($(platform),win)
11
   link += $(if $(findstring console,$(options)),-mconsole,-mwindows)
10
   ifeq ($(arch),win32)
11
     flags += -m32
(-)/kirby/shared/ports/higan/files/patch-nall-file.hpp (-10 / +10 lines)
Lines 1-6 Link Here
1
--- bsnes/nall/file.hpp.orig	2012-03-06 14:03:53.000000000 -0500
1
--- higan/nall/file.hpp.orig	2013-01-14 13:27:28.000000000 -0500
2
+++ bsnes/nall/file.hpp	2012-04-16 23:42:33.000000000 -0400
2
+++ higan/nall/file.hpp	2013-02-21 14:05:00.000000000 -0500
3
@@ -160,8 +160,8 @@
3
@@ -218,8 +218,8 @@
4
 
4
 
5
     static bool exists(const string &filename) {
5
     static bool exists(const string &filename) {
6
       #if !defined(_WIN32)
6
       #if !defined(_WIN32)
Lines 11-17 Link Here
11
       #else
11
       #else
12
       struct __stat64 data;
12
       struct __stat64 data;
13
       return _wstat64(utf16_t(filename), &data) == 0;
13
       return _wstat64(utf16_t(filename), &data) == 0;
14
@@ -170,8 +170,8 @@
14
@@ -228,8 +228,8 @@
15
 
15
 
16
     static uintmax_t size(const string &filename) {
16
     static uintmax_t size(const string &filename) {
17
       #if !defined(_WIN32)
17
       #if !defined(_WIN32)
Lines 22-28 Link Here
22
       #else
22
       #else
23
       struct __stat64 data;
23
       struct __stat64 data;
24
       _wstat64(utf16_t(filename), &data);
24
       _wstat64(utf16_t(filename), &data);
25
@@ -181,8 +181,8 @@
25
@@ -239,8 +239,8 @@
26
 
26
 
27
     static time_t timestamp(const string &filename, file::time mode = file::time::create) {
27
     static time_t timestamp(const string &filename, file::time mode = file::time::create) {
28
       #if !defined(_WIN32)
28
       #if !defined(_WIN32)
Lines 33-41 Link Here
33
       #else
33
       #else
34
       struct __stat64 data;
34
       struct __stat64 data;
35
       _wstat64(utf16_t(filename), &data);
35
       _wstat64(utf16_t(filename), &data);
36
--- purify/nall/file.hpp.orig	2012-04-23 02:11:07.000000000 -0400
36
--- ananke/nall/file.hpp.orig	2013-01-11 13:26:29.000000000 -0500
37
+++ purify/nall/file.hpp	2012-05-06 22:54:42.000000000 -0400
37
+++ ananke/nall/file.hpp	2013-02-21 14:06:08.000000000 -0500
38
@@ -160,8 +160,8 @@
38
@@ -218,8 +218,8 @@
39
 
39
 
40
     static bool exists(const string &filename) {
40
     static bool exists(const string &filename) {
41
       #if !defined(_WIN32)
41
       #if !defined(_WIN32)
Lines 46-52 Link Here
46
       #else
46
       #else
47
       struct __stat64 data;
47
       struct __stat64 data;
48
       return _wstat64(utf16_t(filename), &data) == 0;
48
       return _wstat64(utf16_t(filename), &data) == 0;
49
@@ -170,8 +170,8 @@
49
@@ -228,8 +228,8 @@
50
 
50
 
51
     static uintmax_t size(const string &filename) {
51
     static uintmax_t size(const string &filename) {
52
       #if !defined(_WIN32)
52
       #if !defined(_WIN32)
Lines 57-63 Link Here
57
       #else
57
       #else
58
       struct __stat64 data;
58
       struct __stat64 data;
59
       _wstat64(utf16_t(filename), &data);
59
       _wstat64(utf16_t(filename), &data);
60
@@ -181,8 +181,8 @@
60
@@ -239,8 +239,8 @@
61
 
61
 
62
     static time_t timestamp(const string &filename, file::time mode = file::time::create) {
62
     static time_t timestamp(const string &filename, file::time mode = file::time::create) {
63
       #if !defined(_WIN32)
63
       #if !defined(_WIN32)
(-)/kirby/shared/ports/higan/files/patch-target-ethos-Makefile (-3 / +3 lines)
Lines 1-6 Link Here
1
--- bsnes/target-ethos/Makefile.orig	2012-08-09 19:32:19.000000000 -0400
1
--- higan/target-ethos/Makefile.orig	2013-01-12 16:59:47.000000000 -0500
2
+++ bsnes/target-ethos/Makefile	2012-10-07 22:43:24.000000000 -0400
2
+++ higan/target-ethos/Makefile	2013-02-21 14:00:38.000000000 -0500
3
@@ -15,9 +15,9 @@
3
@@ -16,9 +16,9 @@
4
 
4
 
5
 # platform
5
 # platform
6
 ifeq ($(platform),x)
6
 ifeq ($(platform),x)
(-)/kirby/shared/ports/higan/pkg-descr (-6 / +6 lines)
Lines 1-13 Link Here
1
bsnes is an emulator that began development on 2004-10-14.
1
higan is a Nintendo multi-system emulator that began development
2
The purpose of this emulator is a bit different from others:
2
on 2004-10-14.  The purpose of this emulator is a bit different from
3
it focuses on accuracy, debugging functionality, and clean code.
3
others: it focuses on accuracy, debugging functionality, and clean code.
4
4
5
The emulator does not focus on things that would hinder accuracy.
5
The emulator does not focus on things that would hinder accuracy.
6
This includes speed and game-specific hacks for compatibility.
6
This includes speed and game-specific hacks for compatibility.
7
As a result, the minimum system requirements for bsnes are very high.
7
As a result, the minimum system requirements for higan are very high.
8
8
9
The emulator itself was not derived from any existing emulator source code,
9
The emulator itself was not derived from any existing emulator source code,
10
such as SNES9x. It was written from scratch by myself.
10
such as SNES9x. It was written from scratch.
11
Any similarities to other emulators are merely coincidental.
11
Any similarities to other emulators are merely coincidental.
12
12
13
WWW: http://byuu.org/bsnes/
13
WWW: http://byuu.org/higan/
(-)/kirby/shared/ports/higan/pkg-plist (-4 / +5 lines)
Lines 1-5 Link Here
1
bin/bsnes
1
bin/higan
2
bin/snespurify
2
lib/libananke.so.1
3
share/applications/bsnes.desktop
3
lib/libananke.so
4
share/pixmaps/bsnes.png
4
share/applications/higan.desktop
5
share/pixmaps/higan.png
5
@dirrmtry share/applications
6
@dirrmtry share/applications
(-)/kirby/shared/ports/MOVED (+1 lines)
Lines 4067-4069 Link Here
4067
net/samba4-devel|net/samba4|2013-02-18|Renamed to reflect maturity of upstream version
4067
net/samba4-devel|net/samba4|2013-02-18|Renamed to reflect maturity of upstream version
4068
net/libnet-devel|net/libnet|2013-02-18|Renamed to stable branch
4068
net/libnet-devel|net/libnet|2013-02-18|Renamed to stable branch
4069
x11-fm/tkdesk||2013-02-19|Obsolete and unmaintained, doesn't run
4069
x11-fm/tkdesk||2013-02-19|Obsolete and unmaintained, doesn't run
4070
emulators/bsnes|emulators/higan|2013-02-21|Rename according to upstream name change
(-)/kirby/shared/ports/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
    SUBDIR += atari800
12
    SUBDIR += atari800
13
    SUBDIR += bfe
13
    SUBDIR += bfe
14
    SUBDIR += bochs
14
    SUBDIR += bochs
15
    SUBDIR += bsnes
16
    SUBDIR += bsvc
15
    SUBDIR += bsvc
17
    SUBDIR += catapult
16
    SUBDIR += catapult
18
    SUBDIR += cinc
17
    SUBDIR += cinc
Lines 57-62 Link Here
57
    SUBDIR += hercules
56
    SUBDIR += hercules
58
    SUBDIR += hfs
57
    SUBDIR += hfs
59
    SUBDIR += hfsutils
58
    SUBDIR += hfsutils
59
    SUBDIR += higan
60
    SUBDIR += hugo
60
    SUBDIR += hugo
61
    SUBDIR += ia64sim
61
    SUBDIR += ia64sim
62
    SUBDIR += ines
62
    SUBDIR += ines

Return to bug 176333