pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dosbox-staging: import dosbox-staging-0.76.0 as wip/dosbox-staging



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Thu Dec 24 14:13:14 2020 +0200
Changeset:	1d3fe31e87a599236259f27066321d774d6ede3c

Modified Files:
	Makefile
Added Files:
	dosbox-staging/DESCR
	dosbox-staging/Makefile
	dosbox-staging/PLIST
	dosbox-staging/distinfo
	dosbox-staging/patches/patch-docs_Makefile.am
	dosbox-staging/patches/patch-src_Makefile.am

Log Message:
dosbox-staging: import dosbox-staging-0.76.0 as wip/dosbox-staging

DOSBox Staging is an attempt to revitalize DOSBox's development
process. It's not a rewrite, but a continuation and improvement on
the existing DOSBox codebase while leveraging modern development
tools and practices.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d3fe31e87a599236259f27066321d774d6ede3c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                      |  1 +
 dosbox-staging/DESCR                          |  4 ++++
 dosbox-staging/Makefile                       | 34 +++++++++++++++++++++++++++
 dosbox-staging/PLIST                          |  3 +++
 dosbox-staging/distinfo                       |  8 +++++++
 dosbox-staging/patches/patch-docs_Makefile.am | 14 +++++++++++
 dosbox-staging/patches/patch-src_Makefile.am  | 26 ++++++++++++++++++++
 7 files changed, 90 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d2d692a1bc..96099f7640 100644
--- a/Makefile
+++ b/Makefile
@@ -649,6 +649,7 @@ SUBDIR+=	dolphin-plugins
 SUBDIR+=	dolphin5
 SUBDIR+=	doomlegacy-devel
 SUBDIR+=	doorman
+SUBDIR+=	dosbox-staging
 SUBDIR+=	dosbox-svn
 SUBDIR+=	dosemu2
 SUBDIR+=	dotproject
diff --git a/dosbox-staging/DESCR b/dosbox-staging/DESCR
new file mode 100644
index 0000000000..df781d969f
--- /dev/null
+++ b/dosbox-staging/DESCR
@@ -0,0 +1,4 @@
+DOSBox Staging is an attempt to revitalize DOSBox's development
+process. It's not a rewrite, but a continuation and improvement on
+the existing DOSBox codebase while leveraging modern development
+tools and practices.
diff --git a/dosbox-staging/Makefile b/dosbox-staging/Makefile
new file mode 100644
index 0000000000..5c1530551e
--- /dev/null
+++ b/dosbox-staging/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	dosbox-staging
+GITHUB_TAG=	v0.76.0
+DISTNAME=	v0.76.0
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dosbox-staging/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://dosbox-staging.github.io/
+COMMENT=	DOS/x86 emulator focusing on ease of use
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/dosbox-staging-0.76.0
+GNU_CONFIGURE=	yes
+USE_LANGUAGES=	c c++
+USE_TOOLS=	aclocal automake autoconf gmake pkg-config
+
+NOT_PAX_MPROTECT_SAFE=	bin/dosbox_staging
+
+pre-configure:
+	${MV} ${WRKSRC}/docs/dosbox.1 ${WRKSRC}/docs/dosbox_staging.1
+	set -e; cd ${WRKSRC}; \
+	aclocal; autoheader; automake -a --foreign -i; autoconf
+
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../audio/opusfile/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../net/SDL2_net/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dosbox-staging/PLIST b/dosbox-staging/PLIST
new file mode 100644
index 0000000000..4b2695cf7d
--- /dev/null
+++ b/dosbox-staging/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/dosbox_staging
+man/man1/dosbox_staging.1
diff --git a/dosbox-staging/distinfo b/dosbox-staging/distinfo
new file mode 100644
index 0000000000..efa303e43e
--- /dev/null
+++ b/dosbox-staging/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (dosbox-staging/v0.76.0.tar.gz) = ca64bc6285a7f5d7c88fb23671e3639c23f3ed30
+RMD160 (dosbox-staging/v0.76.0.tar.gz) = 3cc9aa389bc8a906cbf5a899992e9b9364884775
+SHA512 (dosbox-staging/v0.76.0.tar.gz) = 8c0357bcec08cac2cd2b306edd8b51ad05e16a3c3efb1f4c77e1d942f285493cae8aab45f1633e9c168c0b4b45aa289cf3ffc72685dc004d83127cdb6c76ae9d
+Size (dosbox-staging/v0.76.0.tar.gz) = 1908605 bytes
+SHA1 (patch-docs_Makefile.am) = 1a10779a5abf2329359683b5d1bf3da9ac888747
+SHA1 (patch-src_Makefile.am) = ead30d4bcebcafae531d2c3e0bdededa59ae32f2
diff --git a/dosbox-staging/patches/patch-docs_Makefile.am b/dosbox-staging/patches/patch-docs_Makefile.am
new file mode 100644
index 0000000000..2e712d0b53
--- /dev/null
+++ b/dosbox-staging/patches/patch-docs_Makefile.am
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Install as "dosbox_staging" to avoid a conflict with emulators dosbox.
+
+--- docs/Makefile.am.orig	2020-12-03 18:36:19.000000000 +0000
++++ docs/Makefile.am
+@@ -1,6 +1,6 @@
+ # Main Makefile for DOSBox
+ 
+-man_MANS = dosbox.1 
++man_MANS = dosbox_staging.1 
+ EXTRA_DIST = $(man_MANS) README.video PORTING
+ 
+ 
diff --git a/dosbox-staging/patches/patch-src_Makefile.am b/dosbox-staging/patches/patch-src_Makefile.am
new file mode 100644
index 0000000000..90bec16f86
--- /dev/null
+++ b/dosbox-staging/patches/patch-src_Makefile.am
@@ -0,0 +1,26 @@
+$NetBSD$
+
+Install as "dosbox_staging" to avoid a conflict with emulators dosbox.
+
+--- src/Makefile.am.orig	2020-12-03 18:36:19.000000000 +0000
++++ src/Makefile.am
+@@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
+ 
+ SUBDIRS = cpu debug dos fpu gui hardware libs ints midi misc shell platform
+ 
+-bin_PROGRAMS = dosbox
++bin_PROGRAMS = dosbox_staging
+ 
+ if HAVE_WINDRES
+ ico_stuff = winres.rc
+@@ -11,8 +11,8 @@ endif
+ .rc.o:
+ 	$(WINDRES) -o $@ $<
+ 
+-dosbox_SOURCES = dosbox.cpp $(ico_stuff)
+-dosbox_LDADD = cpu/libcpu.a \
++dosbox_staging_SOURCES = dosbox.cpp $(ico_stuff)
++dosbox_staging_LDADD = cpu/libcpu.a \
+                debug/libdebug.a \
+                dos/libdos.a \
+                fpu/libfpu.a \


Home | Main Index | Thread Index | Old Index