pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dosbox-svn: import wip/dosbox-svn
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Sun Jun 3 12:37:20 2018 +0200
Changeset: c075221b249d2671210f4b5d52c187499c1e8de7
Modified Files:
Makefile
Added Files:
dosbox-svn/DESCR
dosbox-svn/Makefile
dosbox-svn/PLIST
dosbox-svn/distinfo
dosbox-svn/patches/patch-src_Makefile.am
dosbox-svn/patches/patch-src_dosbox.cpp
Log Message:
dosbox-svn: import wip/dosbox-svn
DOSBox is a DOS-emulator using SDL for easy portability to
different platforms, DOSBox has already been ported to
several different platforms, such as Windows, BeOS, Linux,
Mac OS X...
DOSBox emulates a 286/386 realmode CPU, Directory
FileSystem/XMS/EMS, a SoundBlaster card for excellent sound
compatibility with older games...
You can "re-live" the good old days with the help of
DOSBox, it can run plenty of the old classics that don't
run on your new computer !
This package is built from the SVN source tree.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c075221b249d2671210f4b5d52c187499c1e8de7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
dosbox-svn/DESCR | 14 ++++++++++
dosbox-svn/Makefile | 44 ++++++++++++++++++++++++++++++++
dosbox-svn/PLIST | 4 +++
dosbox-svn/distinfo | 4 +++
dosbox-svn/patches/patch-src_Makefile.am | 18 +++++++++++++
dosbox-svn/patches/patch-src_dosbox.cpp | 15 +++++++++++
7 files changed, 100 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 34574687f7..a491127c9f 100644
--- a/Makefile
+++ b/Makefile
@@ -591,6 +591,7 @@ SUBDIR+= dolphin-emu
SUBDIR+= dolphin-plugins
SUBDIR+= dolphin5
SUBDIR+= doorman
+SUBDIR+= dosbox-svn
SUBDIR+= dosbox-x
SUBDIR+= dosemu2
SUBDIR+= dosfstools
diff --git a/dosbox-svn/DESCR b/dosbox-svn/DESCR
new file mode 100644
index 0000000000..a1f3852027
--- /dev/null
+++ b/dosbox-svn/DESCR
@@ -0,0 +1,14 @@
+DOSBox is a DOS-emulator using SDL for easy portability to
+different platforms, DOSBox has already been ported to
+several different platforms, such as Windows, BeOS, Linux,
+Mac OS X...
+
+DOSBox emulates a 286/386 realmode CPU, Directory
+FileSystem/XMS/EMS, a SoundBlaster card for excellent sound
+compatibility with older games...
+
+You can "re-live" the good old days with the help of
+DOSBox, it can run plenty of the old classics that don't
+run on your new computer !
+
+This package is built from the SVN source tree.
diff --git a/dosbox-svn/Makefile b/dosbox-svn/Makefile
new file mode 100644
index 0000000000..7bb3608e5f
--- /dev/null
+++ b/dosbox-svn/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+DISTNAME= dosbox-svn-0
+CATEGORIES= emulators
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.dosbox.com/
+COMMENT= Multi-platform DOS emulator using SDL
+LICENSE= gnu-gpl-v2
+
+SVN_REPO= https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
+
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS.Darwin+= --disable-dynrec
+CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mclang*)
+CPPFLAGS+= -fPIC
+.endif
+LDFLAGS.SunOS+= -lsocket
+INSTALLATION_DIRS= share/doc/dosbox
+
+USE_TOOLS+= autoconf automake
+
+SUBST_CLASSES+= fixme
+SUBST_STAGE.fixme= post-patch
+SUBST_FILES.fixme= docs/dosbox.1
+SUBST_SED.fixme= -e s,/usr/share/,${PREFIX}/share/,g
+
+NOT_PAX_MPROTECT_SAFE+= bin/dosbox
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} ./autogen.sh
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dosbox
+
+.include "../../wip/mk/svn-package.mk"
+.include "../../audio/SDL_sound/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../net/SDL_net/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dosbox-svn/PLIST b/dosbox-svn/PLIST
new file mode 100644
index 0000000000..4090501d89
--- /dev/null
+++ b/dosbox-svn/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/dosbox
+man/man1/dosbox.1
+share/doc/dosbox/README
diff --git a/dosbox-svn/distinfo b/dosbox-svn/distinfo
new file mode 100644
index 0000000000..89d3e9e1e4
--- /dev/null
+++ b/dosbox-svn/distinfo
@@ -0,0 +1,4 @@
+$NetBSD$
+
+SHA1 (patch-src_Makefile.am) = e70fa0b90c0293632cbdcff0a9c54a77c9823c8b
+SHA1 (patch-src_dosbox.cpp) = 2b91506da13b36e0c1bfdc300c546d6850ef3b69
diff --git a/dosbox-svn/patches/patch-src_Makefile.am b/dosbox-svn/patches/patch-src_Makefile.am
new file mode 100644
index 0000000000..fd7621fe01
--- /dev/null
+++ b/dosbox-svn/patches/patch-src_Makefile.am
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Remove unused archives, fixes build with Sun ld.
+
+--- src/Makefile.am.orig 2018-06-02 21:47:43.277129643 +0000
++++ src/Makefile.am
+@@ -12,9 +12,9 @@ endif
+ $(WINDRES) -o $@ $<
+
+ dosbox_SOURCES = dosbox.cpp $(ico_stuff)
+-dosbox_LDADD = cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a \
++dosbox_LDADD = cpu/libcpu.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a \
+ ints/libints.a misc/libmisc.a shell/libshell.a hardware/mame/libmame.a \
+- hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a
++ hardware/serialport/libserial.a
+
+ EXTRA_DIST = winres.rc dosbox.ico
+
diff --git a/dosbox-svn/patches/patch-src_dosbox.cpp b/dosbox-svn/patches/patch-src_dosbox.cpp
new file mode 100644
index 0000000000..054d6426cd
--- /dev/null
+++ b/dosbox-svn/patches/patch-src_dosbox.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Default to 8192 block size - sounds better
+
+--- src/dosbox.cpp.orig 2018-06-02 21:47:34.000000000 +0000
++++ src/dosbox.cpp
+@@ -538,7 +538,7 @@ void DOSBOX_Init(void) {
+
+ const char *blocksizes[] = {
+ "1024", "2048", "4096", "8192", "512", "256", 0};
+- Pint = secprop->Add_int("blocksize",Property::Changeable::OnlyAtStart,1024);
++ Pint = secprop->Add_int("blocksize",Property::Changeable::OnlyAtStart,8192);
+ Pint->Set_values(blocksizes);
+ Pint->Set_help("Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.");
+
Home |
Main Index |
Thread Index |
Old Index