summaryrefslogtreecommitdiff
path: root/audio/libsndfile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libsndfile')
-rw-r--r--audio/libsndfile/DESCR3
-rw-r--r--audio/libsndfile/Makefile35
-rw-r--r--audio/libsndfile/PLIST35
-rw-r--r--audio/libsndfile/buildlink3.mk22
-rw-r--r--audio/libsndfile/distinfo16
-rw-r--r--audio/libsndfile/options.mk12
-rw-r--r--audio/libsndfile/patches/patch-aa13
-rw-r--r--audio/libsndfile/patches/patch-ab13
-rw-r--r--audio/libsndfile/patches/patch-ac75
-rw-r--r--audio/libsndfile/patches/patch-ad13
-rw-r--r--audio/libsndfile/patches/patch-ae13
-rw-r--r--audio/libsndfile/patches/patch-af13
-rw-r--r--audio/libsndfile/patches/patch-ag13
-rw-r--r--audio/libsndfile/patches/patch-ah13
14 files changed, 0 insertions, 289 deletions
diff --git a/audio/libsndfile/DESCR b/audio/libsndfile/DESCR
deleted file mode 100644
index df3da1a4c56..00000000000
--- a/audio/libsndfile/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Libsndfile is a C library for reading and writing files containing
-sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
-through one standard library interface.
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile
deleted file mode 100644
index 9dbb3059270..00000000000
--- a/audio/libsndfile/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.41 2007/01/07 15:02:16 wiz Exp $
-
-DISTNAME= libsndfile-1.0.17
-PKGREVISION= 1
-CATEGORIES= audio
-MASTER_SITES= http://www.mega-nerd.com/libsndfile/
-
-PATCHFILES= libsndfile-1.0.17+flac-1.1.3.patch.bz2
-PATCH_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
-PATCH_DIST_STRIP= -p1
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.mega-nerd.com/libsndfile/
-COMMENT= Library for reading and writing audio files
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-USE_LIBTOOL= yes
-PKGCONFIG_OVERRIDE= sndfile.pc.in
-GNU_CONFIGURE= yes
-
-# This package compiles with gcc2, but its configure script doesn't know that
-CONFIGURE_ENV+= ac_cv_c_struct_hack=yes
-# Avoid an ICE in gcc2 on sparc64
-CONFIGURE_ENV+= F77=${FALSE:Q}
-
-.include "options.mk"
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin"
-BUILDLINK_PASSTHRU_DIRS+= /Developer
-.endif
-
-.include "../../audio/flac/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libsndfile/PLIST b/audio/libsndfile/PLIST
deleted file mode 100644
index a405db3585e..00000000000
--- a/audio/libsndfile/PLIST
+++ /dev/null
@@ -1,35 +0,0 @@
-@comment $NetBSD: PLIST,v 1.14 2006/09/01 06:02:23 adam Exp $
-bin/sndfile-convert
-bin/sndfile-info
-bin/sndfile-play
-bin/sndfile-regtest
-include/sndfile.h
-include/sndfile.hh
-lib/libsndfile.la
-lib/pkgconfig/sndfile.pc
-man/man1/sndfile-convert.1
-man/man1/sndfile-info.1
-man/man1/sndfile-play.1
-share/doc/libsndfile1-dev/html/FAQ.html
-share/doc/libsndfile1-dev/html/api.html
-share/doc/libsndfile1-dev/html/bugs.html
-share/doc/libsndfile1-dev/html/command.html
-share/doc/libsndfile1-dev/html/dither.html
-share/doc/libsndfile1-dev/html/embedded_files.html
-share/doc/libsndfile1-dev/html/index.html
-share/doc/libsndfile1-dev/html/libsndfile.css
-share/doc/libsndfile1-dev/html/libsndfile.jpg
-share/doc/libsndfile1-dev/html/lists.html
-share/doc/libsndfile1-dev/html/new_file_type.HOWTO
-share/doc/libsndfile1-dev/html/octave.html
-share/doc/libsndfile1-dev/html/pkgconfig.html
-share/doc/libsndfile1-dev/html/sndfile_info.html
-share/doc/libsndfile1-dev/html/win32.html
-share/octave/site/m/sndfile_load.m
-share/octave/site/m/sndfile_play.m
-share/octave/site/m/sndfile_save.m
-@dirrm share/doc/libsndfile1-dev/html
-@dirrm share/doc/libsndfile1-dev
-@dirrm share/octave/site/m
-@dirrm share/octave/site
-@dirrm share/octave
diff --git a/audio/libsndfile/buildlink3.mk b/audio/libsndfile/buildlink3.mk
deleted file mode 100644
index 2d587f888d5..00000000000
--- a/audio/libsndfile/buildlink3.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.11 2007/01/07 12:25:52 wiz Exp $
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBSNDFILE_BUILDLINK3_MK:= ${LIBSNDFILE_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= libsndfile
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsndfile}
-BUILDLINK_PACKAGES+= libsndfile
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsndfile
-
-.if !empty(LIBSNDFILE_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.libsndfile+= libsndfile>=1.0.0
-BUILDLINK_ABI_DEPENDS.libsndfile+= libsndfile>=1.0.17nb1
-BUILDLINK_PKGSRCDIR.libsndfile?= ../../audio/libsndfile
-.endif # LIBSNDFILE_BUILDLINK3_MK
-
-.include "../../audio/flac/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libsndfile/distinfo b/audio/libsndfile/distinfo
deleted file mode 100644
index 0a6c997ea71..00000000000
--- a/audio/libsndfile/distinfo
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.22 2007/01/07 15:02:16 wiz Exp $
-
-SHA1 (libsndfile-1.0.17+flac-1.1.3.patch.bz2) = 10e0d19dfc8cf2a6bf499e0fa0d1ab17dca4c519
-RMD160 (libsndfile-1.0.17+flac-1.1.3.patch.bz2) = fc6e6f03069c1ad8ee43f600f6ac2aa6e97bb1f5
-Size (libsndfile-1.0.17+flac-1.1.3.patch.bz2) = 3127 bytes
-SHA1 (libsndfile-1.0.17.tar.gz) = 2f66798d596a15491fbd1191ded8125ed71ef411
-RMD160 (libsndfile-1.0.17.tar.gz) = ae93822a4c587dcdd7c70d043d2a38ed2fe3a188
-Size (libsndfile-1.0.17.tar.gz) = 819456 bytes
-SHA1 (patch-aa) = a3bb33cc28c10c9aa23a0b066339a512dbd7b0e2
-SHA1 (patch-ab) = 007a93229bc8cbcb1b27e6223e8c10e8a2e3c6eb
-SHA1 (patch-ac) = 7d49a0da2dfa9470d188873133526e8ad851c9a7
-SHA1 (patch-ad) = b730de6bb0716bece5f83c3100f9fc0f8eb2ae7d
-SHA1 (patch-ae) = 628700514d3d2e6e12abb182c697311a233c1bd9
-SHA1 (patch-af) = 9ac0dd446a2f24c2d39e20063489a3b778fcda36
-SHA1 (patch-ag) = 10d0fcda9377fc6afa2dce9e4782f49889a4f4a3
-SHA1 (patch-ah) = 8c936316ca1191f8893579a562ff705c8dde6f92
diff --git a/audio/libsndfile/options.mk b/audio/libsndfile/options.mk
deleted file mode 100644
index 67db7fbf5a6..00000000000
--- a/audio/libsndfile/options.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD: options.mk,v 1.3 2006/03/09 21:04:40 jlam Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.libsndfile
-PKG_SUPPORTED_OPTIONS= oss
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Moss)
-.include "../../mk/oss.buildlink3.mk"
-OSS_DEFS= -DDEV_DSP=\"${DEVOSSAUDIO:Q}\" -DUSE_OSS=1
-MAKE_ENV+= AM_CFLAGS=${OSS_DEFS:Q}
-.endif
diff --git a/audio/libsndfile/patches/patch-aa b/audio/libsndfile/patches/patch-aa
deleted file mode 100644
index 59771748172..00000000000
--- a/audio/libsndfile/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.13 2006/09/01 06:02:23 adam Exp $
-
---- src/Makefile.in.orig 2006-08-31 12:55:38.000000000 +0200
-+++ src/Makefile.in
-@@ -864,7 +864,7 @@ cygsndfile.def: create_symbols_file.py
- ./create_symbols_file.py cygwin $(VERSION) > cygsndfile.def
-
- # Fake dependancy to force the creation of these files.
--sndfile.c : Symbols.linux Symbols.darwin libsndfile.def cygsndfile.def
-+sndfile.c :
-
- # Dependancies.
-
diff --git a/audio/libsndfile/patches/patch-ab b/audio/libsndfile/patches/patch-ab
deleted file mode 100644
index 929d3f92133..00000000000
--- a/audio/libsndfile/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2006/01/21 23:04:08 adam Exp $
-
---- src/common.h.orig 2006-01-21 04:53:40.000000000 +0100
-+++ src/common.h
-@@ -152,7 +152,7 @@ typedef struct
-
- #if HAVE_FLEXIBLE_ARRAY
- /* the per channel peak info */
-- PEAK_POS peaks [] ;
-+ PEAK_POS *peaks ;
- #else
- /*
- ** This is not ISO compliant C. It works on some compilers which
diff --git a/audio/libsndfile/patches/patch-ac b/audio/libsndfile/patches/patch-ac
deleted file mode 100644
index 9d2378d4520..00000000000
--- a/audio/libsndfile/patches/patch-ac
+++ /dev/null
@@ -1,75 +0,0 @@
-$NetBSD: patch-ac,v 1.8 2006/09/01 06:02:23 adam Exp $
-
---- examples/sndfile-play.c.orig 2006-08-31 11:22:07.000000000 +0200
-+++ examples/sndfile-play.c
-@@ -34,16 +34,21 @@
- #include <sys/time.h>
- #endif
-
--#if defined (__linux__)
-+#if defined (__linux__) || defined(USE_OSS)
- #include <fcntl.h>
- #include <sys/ioctl.h>
- #include <sys/soundcard.h>
-
-+ #ifndef DEV_DSP
-+ #define DEV_DSP "/dev/dsp"
-+ #endif
-+
- #elif (defined (__MACH__) && defined (__APPLE__))
- #include <Carbon.h>
- #include <CoreAudio/AudioHardware.h>
-
--#elif (defined (sun) && defined (unix))
-+#elif (defined (sun) && defined (unix)) || \
-+ (defined (__NetBSD__) && !defined(USE_OSS))
- #include <fcntl.h>
- #include <sys/ioctl.h>
- #include <sys/audioio.h>
-@@ -339,7 +344,7 @@ alsa_write_float (snd_pcm_t *alsa_dev, f
- ** Linux/OSS functions for playing a sound.
- */
-
--#if defined (__linux__)
-+#if defined (__linux__) || defined(USE_OSS)
-
- static int linux_open_dsp_device (int channels, int srate) ;
-
-@@ -408,7 +413,7 @@ static int
- linux_open_dsp_device (int channels, int srate)
- { int fd, stereo, fmt ;
-
-- if ((fd = open ("/dev/dsp", O_WRONLY, 0)) == -1 &&
-+ if ((fd = open (DEV_DSP, O_WRONLY, 0)) == -1 &&
- (fd = open ("/dev/sound/dsp", O_WRONLY, 0)) == -1)
- { perror ("linux_open_dsp_device : open ") ;
- exit (1) ;
-@@ -819,7 +824,8 @@ win32_play (int argc, char *argv [])
- ** Solaris.
- */
-
--#if (defined (sun) && defined (unix)) /* ie Solaris */
-+#if (defined (sun) && defined (unix)) || \
-+ (defined (__NetBSD__) && !defined(USE_OSS))
-
- static void
- solaris_play (int argc, char *argv [])
-@@ -926,7 +932,7 @@ main (int argc, char *argv [])
- return 1 ;
- } ;
-
--#if defined (__linux__)
-+#if defined (__linux__) || defined (USE_OSS)
- #if HAVE_ALSA_ASOUNDLIB_H
- if (access ("/proc/asound/cards", R_OK) == 0)
- alsa_play (argc, argv) ;
-@@ -935,7 +941,8 @@ main (int argc, char *argv [])
- linux_play (argc, argv) ;
- #elif (defined (__MACH__) && defined (__APPLE__))
- macosx_play (argc, argv) ;
--#elif (defined (sun) && defined (unix))
-+#elif (defined (sun) && defined (unix)) || \
-+ (defined (__NetBSD__) && !defined(USE_OSS))
- solaris_play (argc, argv) ;
- #elif (OS_IS_WIN32 == 1)
- win32_play (argc, argv) ;
diff --git a/audio/libsndfile/patches/patch-ad b/audio/libsndfile/patches/patch-ad
deleted file mode 100644
index b6dd33c1c27..00000000000
--- a/audio/libsndfile/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.10 2006/09/01 06:02:23 adam Exp $
-
---- examples/Makefile.in.orig 2006-08-31 12:55:32.000000000 +0200
-+++ examples/Makefile.in
-@@ -238,7 +238,7 @@ INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(O
- sndfile_info_SOURCES = sndfile-info.c
- sndfile_info_LDADD = $(SNDFILEDIR)/libsndfile.la
- sndfile_play_SOURCES = sndfile-play.c
--sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) $(ALSA_LIBS)
-+sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) $(ALSA_LIBS) $(LIBOSSAUDIO)
- sndfile_convert_SOURCES = sndfile-convert.c
- sndfile_convert_LDADD = $(SNDFILEDIR)/libsndfile.la
- make_sine_SOURCES = make_sine.c
diff --git a/audio/libsndfile/patches/patch-ae b/audio/libsndfile/patches/patch-ae
deleted file mode 100644
index e544ec917cd..00000000000
--- a/audio/libsndfile/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2006/01/21 23:04:08 adam Exp $
-
---- src/ima_adpcm.c.orig 2005-10-28 17:42:36.000000000 +0200
-+++ src/ima_adpcm.c
-@@ -38,7 +38,7 @@ typedef struct IMA_ADPCM_PRIVATE_tag
- unsigned char *block ;
- short *samples ;
- #if HAVE_FLEXIBLE_ARRAY
-- short data [] ; /* ISO C99 struct flexible array. */
-+ short *data ; /* ISO C99 struct flexible array. */
- #else
- short data [0] ; /* This is a hack and might not work. */
- #endif
diff --git a/audio/libsndfile/patches/patch-af b/audio/libsndfile/patches/patch-af
deleted file mode 100644
index 5a260c7a887..00000000000
--- a/audio/libsndfile/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.5 2006/01/21 23:04:08 adam Exp $
-
---- src/ms_adpcm.c.orig 2005-10-28 17:42:36.000000000 +0200
-+++ src/ms_adpcm.c
-@@ -45,7 +45,7 @@ typedef struct
- short *samples ;
- unsigned char *block ;
- #if HAVE_FLEXIBLE_ARRAY
-- short dummydata [] ; /* ISO C99 struct flexible array. */
-+ short *dummydata ; /* ISO C99 struct flexible array. */
- #else
- short dummydata [0] ; /* This is a hack an might not work. */
- #endif
diff --git a/audio/libsndfile/patches/patch-ag b/audio/libsndfile/patches/patch-ag
deleted file mode 100644
index 4465a1a5b83..00000000000
--- a/audio/libsndfile/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2004/06/28 08:14:03 adam Exp $
-
---- src/paf.c.orig 2004-06-16 10:17:04.000000000 +0000
-+++ src/paf.c
-@@ -65,7 +65,7 @@ typedef struct
- int *samples ;
- unsigned char *block ;
- #if HAVE_FLEXIBLE_ARRAY
-- int data [] ; /* ISO C99 struct flexible array. */
-+ int *data ; /* ISO C99 struct flexible array. */
- #else
- int data [1] ; /* This is a hack and may not work. */
- #endif
diff --git a/audio/libsndfile/patches/patch-ah b/audio/libsndfile/patches/patch-ah
deleted file mode 100644
index 1c5d346718f..00000000000
--- a/audio/libsndfile/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2006/09/01 06:02:23 adam Exp $
-
---- Makefile.in.orig 2006-09-01 07:54:23.000000000 +0200
-+++ Makefile.in
-@@ -209,7 +209,7 @@ target_alias = @target_alias@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
--SUBDIRS = man doc Win32 Octave src examples regtest tests
-+SUBDIRS = man doc Win32 Octave src examples regtest
- DIST_SUBDIRS = $(SUBDIRS)
- EXTRA_DIST = reconfigure.mk acinclude.m4 libsndfile.spec.in \
- sndfile.pc.in Mingw-make-dist.sh