Up max sampling rate to 192 kHz. Bump the version.diff -r1.3 -r1.4 pkgsrc/audio/libxmp/Makefile
(rxg)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2014/02/24 20:40:21 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2014/02/27 09:29:10 rxg Exp $ | |
2 | 2 | |||
3 | DISTNAME= libxmp-4.2.4 | 3 | DISTNAME= libxmp-4.2.4 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= audio | 5 | CATEGORIES= audio | |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/} | |
6 | 7 | |||
7 | MAINTAINER= rxg@NetBSD.org | 8 | MAINTAINER= rxg@NetBSD.org | |
8 | HOMEPAGE= http://xmp.sourceforge.net/ | 9 | HOMEPAGE= http://xmp.sourceforge.net/ | |
9 | COMMENT= Player for many different Amiga and PC module formats | 10 | COMMENT= Player for many different Amiga and PC module formats | |
10 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
11 | 12 | |||
12 | USE_TOOLS+= gmake pkg-config | 13 | USE_TOOLS+= gmake pkg-config | |
13 | #CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 14 | #CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
14 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
15 | 16 | |||
16 | INSTALLATION_DIRS= bin lib | 17 | INSTALLATION_DIRS= bin lib |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2014/02/24 20:40:21 adam Exp $ | 1 | $NetBSD: distinfo,v 1.3 2014/02/27 09:29:10 rxg Exp $ | |
2 | 2 | |||
3 | SHA1 (libxmp-4.2.4.tar.gz) = 4f96481a462fead157f7cd9c4c4526b337c3e72f | 3 | SHA1 (libxmp-4.2.4.tar.gz) = 4f96481a462fead157f7cd9c4c4526b337c3e72f | |
4 | RMD160 (libxmp-4.2.4.tar.gz) = 120d8ca2fc1b08332eea6ee9f08b8ffa835e33d4 | 4 | RMD160 (libxmp-4.2.4.tar.gz) = 120d8ca2fc1b08332eea6ee9f08b8ffa835e33d4 | |
5 | Size (libxmp-4.2.4.tar.gz) = 604710 bytes | 5 | Size (libxmp-4.2.4.tar.gz) = 604710 bytes | |
6 | SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9 |
$NetBSD: patch-include_xmp.h,v 1.1 2014/02/27 09:29:10 rxg Exp $
--- include/xmp.h.orig 2014-02-22 22:13:36.000000000 +0000
+++ include/xmp.h
@@ -79,7 +79,7 @@ extern "C" {
#define XMP_MAX_ENV_POINTS 32 /* Max number of envelope points */
#define XMP_MAX_MOD_LENGTH 256 /* Max number of patterns in module */
#define XMP_MAX_CHANNELS 64 /* Max number of channels in module */
-#define XMP_MAX_SRATE 49170 /* max sampling rate (Hz) */
+#define XMP_MAX_SRATE 192000 /* max sampling rate (Hz) */
#define XMP_MIN_SRATE 4000 /* min sampling rate (Hz) */
#define XMP_MIN_BPM 20 /* min BPM */
/* frame rate = (50 * bpm / 125) Hz */