update to 1.0.17; mostly from brad@

This commit is contained in:
naddy 2008-03-25 21:24:24 +00:00
parent 1ce9bf9625
commit 4daf94ca23
4 changed files with 21 additions and 17 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2008/01/04 17:48:33 espie Exp $ # $OpenBSD: Makefile,v 1.13 2008/03/25 21:24:24 naddy Exp $
COMMENT= library to handle various audio file formats COMMENT= library to handle various audio file formats
DISTNAME= libsndfile-1.0.11 DISTNAME= libsndfile-1.0.17
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio CATEGORIES= audio
HOMEPAGE= http://www.mega-nerd.com/libsndfile/ HOMEPAGE= http://www.mega-nerd.com/libsndfile/
SHARED_LIBS += sndfile 1.11 # .1.11 SHARED_LIBS += sndfile 2.0 # .1.17
MAINTAINER= Christian Weisgerber <naddy@openbsd.org> MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
@ -22,7 +21,10 @@ WANTLIB= c m
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-alsa \
--disable-flac \
--disable-sqlite
FAKE_FLAGS= htmldocdir=${PREFIX}/share/doc/libsndfile FAKE_FLAGS= htmldocdir=${PREFIX}/share/doc/libsndfile

View File

@ -1,5 +1,5 @@
MD5 (libsndfile-1.0.11.tar.gz) = nsCzYQBBQjpXOH8oSEny/A== MD5 (libsndfile-1.0.17.tar.gz) = LRJsNUSFA/bb4zk02Vgfaw==
RMD160 (libsndfile-1.0.11.tar.gz) = OCnR+p9crxb0tYnQOHfSKcuPVgM= RMD160 (libsndfile-1.0.17.tar.gz) = rpOCKkxYfc3Xxw0EPSo47S/joYg=
SHA1 (libsndfile-1.0.11.tar.gz) = FjcqeBRTAXiiZCvSLyA2QeA5Lrs= SHA1 (libsndfile-1.0.17.tar.gz) = L2Z5jVlqFUkfvRGR3tgSXtce9BE=
SHA256 (libsndfile-1.0.11.tar.gz) = /RB+eSPdCfSKLt4xuhHpllR42cPglNGcuBEkqXH/ns8= SHA256 (libsndfile-1.0.17.tar.gz) = F5Lk5gOGtFDvjsB8dW6PPs/pbr2n0LCRSNpfQ20GXvI=
SIZE (libsndfile-1.0.11.tar.gz) = 816107 SIZE (libsndfile-1.0.17.tar.gz) = 819456

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-examples_sndfile-play_c,v 1.2 2005/05/23 23:49:28 naddy Exp $ $OpenBSD: patch-examples_sndfile-play_c,v 1.3 2008/03/25 21:24:24 naddy Exp $
--- examples/sndfile-play.c.orig Sun Nov 14 20:57:17 2004 --- examples/sndfile-play.c.orig Thu Aug 31 05:22:07 2006
+++ examples/sndfile-play.c Mon May 23 22:43:53 2005 +++ examples/sndfile-play.c Sat Jun 9 11:59:02 2007
@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
#include <Carbon.h> #include <Carbon.h>
#include <CoreAudio/AudioHardware.h> #include <CoreAudio/AudioHardware.h>
@ -10,7 +10,7 @@ $OpenBSD: patch-examples_sndfile-play_c,v 1.2 2005/05/23 23:49:28 naddy Exp $
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/audioio.h> #include <sys/audioio.h>
@@ -798,7 +798,7 @@ win32_play (int argc, char *argv []) @@ -819,7 +819,7 @@ win32_play (int argc, char *argv [])
** Solaris. ** Solaris.
*/ */
@ -19,7 +19,7 @@ $OpenBSD: patch-examples_sndfile-play_c,v 1.2 2005/05/23 23:49:28 naddy Exp $
static void static void
solaris_play (int argc, char *argv []) solaris_play (int argc, char *argv [])
@@ -835,8 +835,10 @@ solaris_play (int argc, char *argv []) @@ -856,8 +856,10 @@ solaris_play (int argc, char *argv [])
audio_info.play.channels = sfinfo.channels ; audio_info.play.channels = sfinfo.channels ;
audio_info.play.precision = 16 ; audio_info.play.precision = 16 ;
audio_info.play.encoding = AUDIO_ENCODING_LINEAR ; audio_info.play.encoding = AUDIO_ENCODING_LINEAR ;
@ -30,7 +30,7 @@ $OpenBSD: patch-examples_sndfile-play_c,v 1.2 2005/05/23 23:49:28 naddy Exp $
if ((error = ioctl (audio_fd, AUDIO_SETINFO, &audio_info))) if ((error = ioctl (audio_fd, AUDIO_SETINFO, &audio_info)))
{ perror ("ioctl (AUDIO_SETINFO) failed") ; { perror ("ioctl (AUDIO_SETINFO) failed") ;
@@ -914,7 +916,7 @@ main (int argc, char *argv []) @@ -935,7 +937,7 @@ main (int argc, char *argv [])
linux_play (argc, argv) ; linux_play (argc, argv) ;
#elif (defined (__MACH__) && defined (__APPLE__)) #elif (defined (__MACH__) && defined (__APPLE__))
macosx_play (argc, argv) ; macosx_play (argc, argv) ;

View File

@ -1,8 +1,10 @@
@comment $OpenBSD: PLIST,v 1.6 2005/05/23 23:49:28 naddy Exp $ @comment $OpenBSD: PLIST,v 1.7 2008/03/25 21:24:24 naddy Exp $
bin/sndfile-convert bin/sndfile-convert
bin/sndfile-info bin/sndfile-info
bin/sndfile-play bin/sndfile-play
@comment bin/sndfile-regtest
include/sndfile.h include/sndfile.h
include/sndfile.hh
lib/libsndfile.a lib/libsndfile.a
lib/libsndfile.la lib/libsndfile.la
lib/pkgconfig/ lib/pkgconfig/