pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/fmsx



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 23 18:54:51 UTC 2020

Modified Files:
        pkgsrc/emulators/fmsx: Makefile distinfo
Added Files:
        pkgsrc/emulators/fmsx: options.mk

Log Message:
fmsx: Update to 5.4

Unknown changes


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/emulators/fmsx/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/emulators/fmsx/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/fmsx/options.mk

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

Modified files:

Index: pkgsrc/emulators/fmsx/Makefile
diff -u pkgsrc/emulators/fmsx/Makefile:1.36 pkgsrc/emulators/fmsx/Makefile:1.37
--- pkgsrc/emulators/fmsx/Makefile:1.36 Sun Mar  8 16:49:26 2020
+++ pkgsrc/emulators/fmsx/Makefile      Mon Mar 23 18:54:51 2020
@@ -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 @@ DEFS+=                -DLSB_FIRST
 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 @@ do-install:
        ${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"

Index: pkgsrc/emulators/fmsx/distinfo
diff -u pkgsrc/emulators/fmsx/distinfo:1.10 pkgsrc/emulators/fmsx/distinfo:1.11
--- pkgsrc/emulators/fmsx/distinfo:1.10 Mon Apr  9 16:19:12 2018
+++ pkgsrc/emulators/fmsx/distinfo      Mon Mar 23 18:54:51 2020
@@ -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

Added files:

Index: pkgsrc/emulators/fmsx/options.mk
diff -u /dev/null pkgsrc/emulators/fmsx/options.mk:1.1
--- /dev/null   Mon Mar 23 18:54:51 2020
+++ pkgsrc/emulators/fmsx/options.mk    Mon Mar 23 18:54:51 2020
@@ -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