diff options
author | kristerw <kristerw> | 2002-12-21 21:35:17 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2002-12-21 21:35:17 +0000 |
commit | 83c845f781cc20a21034f32d4496f2a5cd31acf2 (patch) | |
tree | 256ac55ec1cfe7caad770bb402b8e2f63f10f806 | |
parent | 4481085e41a1232923ecb9ae8cf60e51e1cf9634 (diff) | |
download | pkgsrc-83c845f781cc20a21034f32d4496f2a5cd31acf2.tar.gz |
Enable XV and esound support. Thanks to Juan RP.
PKGREVISION++
-rw-r--r-- | emulators/xmame/Makefile | 9 | ||||
-rw-r--r-- | emulators/xmess/Makefile | 8 |
2 files changed, 14 insertions, 3 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 2033dd58288..b08c1b07c4d 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.85 2002/12/14 14:59:38 kristerw Exp $ +# $NetBSD: Makefile,v 1.86 2002/12/21 21:35:17 kristerw Exp $ # DISTNAME= xmame-0.62.1-rc3 PKGNAME= xmame-0.62.1 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= emulators games x11 MASTER_SITES= http://x.mame.net/download/ EXTRACT_SUFX= .tar.bz2 @@ -37,6 +37,7 @@ MAKE_FLAGS+= TARGET="${TARGET:S/x//}" MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}" MAKE_FLAGS+= CFLAGS="${CFLAGS}" MAKE_FLAGS+= X11INC= X11LIB= +MAKE_FLAGS+= SOUND_ESOUND=1 MAME_DISP_METHOD?= x11 @@ -67,6 +68,9 @@ MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}" .if exists(${X11BASE}/include/X11/extensions/xf86dga.h) MAKE_FLAGS+= X11_DGA=1 .endif +.if exists(${X11BASE}/include/X11/extensions/Xv.h) +MAKE_FLAGS+= X11_XV=1 +.endif # If supported, add appropriate definitions to build joystick drivers. .if exists(/usr/include/machine/joystick.h) || \ @@ -101,6 +105,7 @@ do-install: ${INSTALL_DATA_DIR} ${ROMPATH} ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc +.include "../../audio/esound/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile index 570706cd6c6..41ed7006355 100644 --- a/emulators/xmess/Makefile +++ b/emulators/xmess/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.28 2002/12/14 15:14:26 kristerw Exp $ +# $NetBSD: Makefile,v 1.29 2002/12/21 21:35:38 kristerw Exp $ # DISTNAME= xmame-0.62.1-rc3 PKGNAME= xmess-0.62.1 +PKGREVISION= 1 CATEGORIES= emulators games x11 MASTER_SITES= http://x.mame.net/download/ EXTRACT_SUFX= .tar.bz2 @@ -36,6 +37,7 @@ MAKE_FLAGS+= TARGET="${TARGET:S/x//}" MAKE_FLAGS+= LIBS="${LDFLAGS} ${LIBS}" MAKE_FLAGS+= CFLAGS="${CFLAGS}" MAKE_FLAGS+= X11INC= X11LIB= +MAKE_FLAGS+= SOUND_ESOUND=1 MAME_DISP_METHOD?= x11 @@ -66,6 +68,9 @@ MAKE_FLAGS+= ARCH="${MAME_ARCH.${OPSYS}}" .if exists(${X11BASE}/include/X11/extensions/xf86dga.h) MAKE_FLAGS+= X11_DGA=1 .endif +.if exists(${X11BASE}/include/X11/extensions/Xv.h) +MAKE_FLAGS+= X11_XV=1 +.endif # If supported, add appropriate definitions to build joystick drivers. .if exists(/usr/include/machine/joystick.h) || \ @@ -100,6 +105,7 @@ do-install: ${INSTALL_DATA_DIR} ${ROMPATH} ${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc +.include "../../audio/esound/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |