summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrxg <rxg@pkgsrc.org>2014-02-27 09:29:10 +0000
committerrxg <rxg@pkgsrc.org>2014-02-27 09:29:10 +0000
commit7afb03cabb972c1eb4913bdd8d910f90df8d7128 (patch)
tree732c1f9002fe3b57056df7a5a77f0b9e83615b74 /audio
parent659d053c749f5ae833af5605756d04e1faeb6ffc (diff)
downloadpkgsrc-7afb03cabb972c1eb4913bdd8d910f90df8d7128.tar.gz
Up max sampling rate to 192 kHz.
Bump the version.
Diffstat (limited to 'audio')
-rw-r--r--audio/libxmp/Makefile3
-rw-r--r--audio/libxmp/distinfo3
-rw-r--r--audio/libxmp/patches/patch-include_xmp.h13
3 files changed, 17 insertions, 2 deletions
diff --git a/audio/libxmp/Makefile b/audio/libxmp/Makefile
index 9909036cd9c..d918f151f1d 100644
--- a/audio/libxmp/Makefile
+++ b/audio/libxmp/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2014/02/24 20:40:21 adam Exp $
+# $NetBSD: Makefile,v 1.4 2014/02/27 09:29:10 rxg Exp $
DISTNAME= libxmp-4.2.4
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
diff --git a/audio/libxmp/distinfo b/audio/libxmp/distinfo
index 5b8850d992e..0ef5dabdeda 100644
--- a/audio/libxmp/distinfo
+++ b/audio/libxmp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/02/24 20:40:21 adam Exp $
+$NetBSD: distinfo,v 1.3 2014/02/27 09:29:10 rxg Exp $
SHA1 (libxmp-4.2.4.tar.gz) = 4f96481a462fead157f7cd9c4c4526b337c3e72f
RMD160 (libxmp-4.2.4.tar.gz) = 120d8ca2fc1b08332eea6ee9f08b8ffa835e33d4
Size (libxmp-4.2.4.tar.gz) = 604710 bytes
+SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9
diff --git a/audio/libxmp/patches/patch-include_xmp.h b/audio/libxmp/patches/patch-include_xmp.h
new file mode 100644
index 00000000000..a66824687b6
--- /dev/null
+++ b/audio/libxmp/patches/patch-include_xmp.h
@@ -0,0 +1,13 @@
+$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 */