head	1.6;
access;
symbols
	pkgsrc-2026Q1:1.6.0.4
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.2
	pkgsrc-2025Q4-base:1.6;
locks; strict;
comment	@# @;


1.6
date	2025.12.16.09.44.45;	author vins;	state Exp;
branches;
next	1.5;
commitid	Vy4Ob8FlW2iChCmG;

1.5
date	2025.12.14.10.07.19;	author vins;	state Exp;
branches;
next	1.4;
commitid	0l0hjEp0VCrqsmmG;

1.4
date	2025.12.11.20.08.50;	author vins;	state Exp;
branches;
next	1.3;
commitid	tN277F3wa6uGT1mG;

1.3
date	2025.10.23.20.36.47;	author wiz;	state Exp;
branches;
next	1.2;
commitid	1V2hBZn9ypXaCJfG;

1.2
date	2025.10.03.07.40.17;	author wiz;	state Exp;
branches;
next	1.1;
commitid	7LO52RwtcgWrY5dG;

1.1
date	2025.09.26.18.31.50;	author js;	state Exp;
branches;
next	;
commitid	pmXgVFhGQR0YNfcG;


desc
@@


1.6
log
@emulators/dosbox-staging: move some dependencies to options.mk
@
text
@# $NetBSD: Makefile,v 1.5 2025/12/14 10:07:19 vins Exp $

DISTNAME=	dosbox-staging-0.82.2
PKGREVISION=	5
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_GITHUB:=dosbox-staging/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.dosbox-staging.org/
COMMENT=	Modern continuation of DOSBox
LICENSE=	gnu-gpl-v2

CONFLICTS=	dosbox-[0-9]*	# bin/dosbox

USE_LANGUAGES=	c c++
USE_TOOLS+=	bash:build pkg-config

USE_CXX_FEATURES=	c++20   # notify_all/wait support in struct std::atomic<>
GCC_REQD+=		11	# which requires gcc-11 at least

PTHREAD_AUTO_VARS=	yes	# loguru needs it and sets none by default.

LDFLAGS.SunOS+=		-lsocket

.include "options.mk"

SUBST_CLASSES+=		fixme
SUBST_STAGE.fixme=	pre-configure
SUBST_FILES.fixme=	docs/dosbox.1
SUBST_SED.fixme=	-e s,/usr/share/,${PREFIX}/share/,g

.include "../../audio/iir1/buildlink3.mk"
.include "../../audio/mt32emu/buildlink3.mk"
.include "../../audio/opusfile/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.5
log
@emulators/dosbox-staging: some changes

* Fix build on SunOS.
* Support ALSA on Linux and make it optional. Also, enable fluidsynth
  support as an opt-out pkg option.
* Import MESSAGE for NetBSD form emulators/dosbox. Likely still needed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/12/11 20:08:50 vins Exp $
d4 1
a4 1
PKGREVISION=	4
d22 3
a24 1
LDFLAGS.SunOS+=	-lsocket
a32 1
.include "../../archivers/zlib-ng/buildlink3.mk"
a39 1
.include "../../graphics/MesaLib/buildlink3.mk"
a42 1
.include "../../net/libslirp/buildlink3.mk"
d44 1
@


1.4
log
@dosbox-staging: fix build on NetBSD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/10/23 20:36:47 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
d22 9
a31 1
.include "../../audio/fluidsynth/buildlink3.mk"
@


1.3
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/10/03 07:40:17 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
d14 2
d17 4
a20 1
USE_TOOLS+=	bash pkg-config
d22 1
d30 2
d36 2
@


1.2
log
@dosbox-staging: uses bash during build

Fix pkglint.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/09/26 18:31:50 js Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@Add emulators/dosbox-staging

DOSBox Staging is a modern continuation of DOSBox with advanced features
and current development practices.

It is a (mostly) drop-in replacement for older DOSBox versions — your
existing configurations will continue to work, and you will have access
to many advanced features.

DOSBox Staging comes with sensible defaults, so you’ll need to write a
lot less configuration than with older DOSBox versions. Most games and
applications require no tweaking and will work fine with the stock
settings. However, the extensive configuration options and advanced
features are available if you wish to delve deeper.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
d15 1
a15 1
USE_TOOLS+=	pkg-config
d25 1
@

