Thu Feb 27 09:29:10 2014 UTC ()
Up max sampling rate to 192 kHz.
Bump the version.


(rxg)
diff -r1.3 -r1.4 pkgsrc/audio/libxmp/Makefile
diff -r1.2 -r1.3 pkgsrc/audio/libxmp/distinfo
diff -r0 -r1.1 pkgsrc/audio/libxmp/patches/patch-include_xmp.h

cvs diff -r1.3 -r1.4 pkgsrc/audio/libxmp/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/libxmp/Makefile 2014/02/24 20:40:21 1.3
+++ pkgsrc/audio/libxmp/Makefile 2014/02/27 09:29:10 1.4
@@ -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
3DISTNAME= libxmp-4.2.4 3DISTNAME= libxmp-4.2.4
 4PKGREVISION= 1
4CATEGORIES= audio 5CATEGORIES= audio
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
6 7
7MAINTAINER= rxg@NetBSD.org 8MAINTAINER= rxg@NetBSD.org
8HOMEPAGE= http://xmp.sourceforge.net/ 9HOMEPAGE= http://xmp.sourceforge.net/
9COMMENT= Player for many different Amiga and PC module formats 10COMMENT= Player for many different Amiga and PC module formats
10LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
11 12
12USE_TOOLS+= gmake pkg-config 13USE_TOOLS+= gmake pkg-config
13#CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 14#CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
14GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
15 16
16INSTALLATION_DIRS= bin lib 17INSTALLATION_DIRS= bin lib

cvs diff -r1.2 -r1.3 pkgsrc/audio/libxmp/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/libxmp/distinfo 2014/02/24 20:40:21 1.2
+++ pkgsrc/audio/libxmp/distinfo 2014/02/27 09:29:10 1.3
@@ -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
3SHA1 (libxmp-4.2.4.tar.gz) = 4f96481a462fead157f7cd9c4c4526b337c3e72f 3SHA1 (libxmp-4.2.4.tar.gz) = 4f96481a462fead157f7cd9c4c4526b337c3e72f
4RMD160 (libxmp-4.2.4.tar.gz) = 120d8ca2fc1b08332eea6ee9f08b8ffa835e33d4 4RMD160 (libxmp-4.2.4.tar.gz) = 120d8ca2fc1b08332eea6ee9f08b8ffa835e33d4
5Size (libxmp-4.2.4.tar.gz) = 604710 bytes 5Size (libxmp-4.2.4.tar.gz) = 604710 bytes
 6SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9

File Added: pkgsrc/audio/libxmp/patches/patch-include_xmp.h
$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 */