pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/fmsx fmsx: Update to 5.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a91b5d92572
branches:  trunk
changeset: 425789:6a91b5d92572
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 23 18:54:51 2020 +0000

description:
fmsx: Update to 5.4

Unknown changes

diffstat:

 emulators/fmsx/Makefile   |  14 ++++++--------
 emulators/fmsx/distinfo   |  10 +++++-----
 emulators/fmsx/options.mk |  25 +++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 13 deletions(-)

diffs (84 lines):

diff -r e77495f0e228 -r 6a91b5d92572 emulators/fmsx/Makefile
--- a/emulators/fmsx/Makefile   Mon Mar 23 18:46:56 2020 +0000
+++ b/emulators/fmsx/Makefile   Mon Mar 23 18:54:51 2020 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.36 2020/03/08 16:49:26 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2020/03/23 18:54:51 nia Exp $
 
-DISTNAME=      fMSX53
-PKGNAME=       fmsx-5.3
-PKGREVISION=   3
+DISTNAME=      fMSX54
+PKGNAME=       fmsx-5.4
 CATEGORIES=    emulators x11
-MASTER_SITES=  http://fms.komkon.org/fMSX/
+MASTER_SITES=  https://fms.komkon.org/fMSX/
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -36,8 +35,6 @@
 BROKEN=                "Unknown endian"
 .endif
 
-MAKE_ENV+=     DEFS=${DEFS:Q}
-
 INSTALLATION_DIRS=     bin share/doc
 
 # Makefile of fMSX doesn't have install target.
@@ -45,7 +42,8 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/fMSX/Unix/fmsx ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/fMSX/fMSX.html ${DESTDIR}${PREFIX}/share/doc
 
-.include "../../audio/pulseaudio/buildlink3.mk"
+.include "options.mk"
+MAKE_ENV+=     DEFS=${DEFS:Q}
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r e77495f0e228 -r 6a91b5d92572 emulators/fmsx/distinfo
--- a/emulators/fmsx/distinfo   Mon Mar 23 18:46:56 2020 +0000
+++ b/emulators/fmsx/distinfo   Mon Mar 23 18:54:51 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2018/04/09 16:19:12 ryoon Exp $
+$NetBSD: distinfo,v 1.11 2020/03/23 18:54:51 nia Exp $
 
-SHA1 (fMSX53.zip) = c7b49a4b819f6976af963fe5e08e88d4228c4833
-RMD160 (fMSX53.zip) = f7b2f497efef3d5d1df2ab680ba8547a7eb15c85
-SHA512 (fMSX53.zip) = 2bffea62a3def432ac375e1cafd628f225201f2f0a25a4da920a2c39ef554a979563813eb855905468007a84b9559fa53309d9b4aaf3983d5e2443a7a1a34c19
-Size (fMSX53.zip) = 261422 bytes
+SHA1 (fMSX54.zip) = 4982d89c0ce618997c650cf1f9063ff6d0c1f8ce
+RMD160 (fMSX54.zip) = 74a86df9a122e9e2fc47b432301dd4d25b9a0205
+SHA512 (fMSX54.zip) = 8bc84c36e65d312357ce0ea750f1989be46ace3db51b0387167f2ed021a4a986eb7d97e8a866a9b73ba62ff4096116bfa1af01bccdfa8b120a31b6b156e9efec
+Size (fMSX54.zip) = 262278 bytes
 SHA1 (patch-aa) = 10ab1e2fee67260f0989f37b183ca8fa87bc8eab
 SHA1 (patch-ab) = 6a5a0b8854747c085cd48ef54d92e7934ecdfa33
 SHA1 (patch-af) = ef4579c245fcf515c7f38bc8174634cc5e02c283
diff -r e77495f0e228 -r 6a91b5d92572 emulators/fmsx/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/fmsx/options.mk Mon Mar 23 18:54:51 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: options.mk,v 1.1 2020/03/23 18:54:51 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.fmsx
+PKG_SUPPORTED_OPTIONS=         pulseaudio
+PKG_SUGGESTED_OPTIONS.Linux=   pulseaudio
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.  include "../../audio/pulseaudio/buildlink3.mk"
+.else
+BUILDLINK_TRANSFORM+=  rm:-DPULSE_AUDIO
+BUILDLINK_TRANSFORM+=  rm:-lpulse-simple
+.  include "../../mk/bsd.fast.prefs.mk"
+.  include "../../mk/oss.buildlink3.mk"
+.  if exists(/usr/include/sys/audioio.h) || \
+   ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD"
+DEFS+=                 -DSUN_AUDIO
+.  elif ${OSS_TYPE} != "none"
+DEFS+=                 -DOSS_AUDIO
+LDFLAGS+=              ${LIBOSSAUDIO}
+.  else
+PKG_FAIL_REASON+=      "No usable audio device"
+.  endif
+.endif



Home | Main Index | Thread Index | Old Index