Import alsa-plugins-pulse version 1.0.18.
authorjmcneill <jmcneill>
Fri, 19 Dec 2008 04:04:04 +0000 (04:04 +0000)
committerjmcneill <jmcneill>
Fri, 19 Dec 2008 04:04:04 +0000 (04:04 +0000)
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system. ALSA has the following
significant features:

    * Efficient support for all types of audio interfaces, from consumer sound
      cards to professional multichannel audio interfaces.
    * Fully modularized sound drivers.
    * SMP and thread-safe design.
    * User space library (alsa-lib) to simplify application programming and
      provide higher level functionality.
    * Support for the older Open Sound System (OSS) API, providing binary
      compatibility for most OSS programs.

This package provides a PulseAudio plugin for ALSA.

audio/alsa-plugins-pulse/DESCR [new file with mode: 0644]
audio/alsa-plugins-pulse/Makefile [new file with mode: 0644]
audio/alsa-plugins-pulse/PLIST [new file with mode: 0644]
audio/alsa-plugins-pulse/distinfo [new file with mode: 0644]
audio/alsa-plugins-pulse/patches/patch-aa [new file with mode: 0644]

diff --git a/audio/alsa-plugins-pulse/DESCR b/audio/alsa-plugins-pulse/DESCR
new file mode 100644 (file)
index 0000000..9b6b101
--- /dev/null
@@ -0,0 +1,14 @@
+The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
+functionality to the Linux operating system. ALSA has the following
+significant features:
+
+    * Efficient support for all types of audio interfaces, from consumer sound
+      cards to professional multichannel audio interfaces.
+    * Fully modularized sound drivers.
+    * SMP and thread-safe design.
+    * User space library (alsa-lib) to simplify application programming and
+      provide higher level functionality.
+    * Support for the older Open Sound System (OSS) API, providing binary
+      compatibility for most OSS programs.
+
+This package provides a PulseAudio plugin for ALSA.
diff --git a/audio/alsa-plugins-pulse/Makefile b/audio/alsa-plugins-pulse/Makefile
new file mode 100644 (file)
index 0000000..fb39c8f
--- /dev/null
@@ -0,0 +1,26 @@
+# $NetBSD$
+#
+
+DISTNAME=      alsa-plugins-1.0.18
+PKGNAME=       ${DISTNAME:S/plugins/plugins-pulse/}
+CATEGORIES=    audio
+MASTER_SITES=  ftp://ftp.alsa-project.org/pub/plugins/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users@NetBSD.org
+HOMEPAGE=      http://www.alsa-project.org/
+COMMENT=       Advanced Linux Sound Architecture (ALSA) - PulseAudio plugin
+
+GNU_CONFIGURE= yes
+USE_TOOLS=     pkg-config gmake
+USE_LIBTOOL=   yes
+
+do-build:
+       cd ${WRKSRC}/pulse && ${GMAKE}
+
+do-install:
+       cd ${WRKSRC}/pulse && ${GMAKE} install
+
+.include "../../audio/alsa-lib/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/alsa-plugins-pulse/PLIST b/audio/alsa-plugins-pulse/PLIST
new file mode 100644 (file)
index 0000000..a57f025
--- /dev/null
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+lib/alsa-lib/libasound_module_conf_pulse.la
+lib/alsa-lib/libasound_module_ctl_pulse.la
+lib/alsa-lib/libasound_module_pcm_pulse.la
diff --git a/audio/alsa-plugins-pulse/distinfo b/audio/alsa-plugins-pulse/distinfo
new file mode 100644 (file)
index 0000000..e04af8a
--- /dev/null
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (alsa-plugins-1.0.18.tar.bz2) = 33b5eca861de35a6eeb47862f24a8663af56cd0a
+RMD160 (alsa-plugins-1.0.18.tar.bz2) = 83b570d5346c7c79f5fe628e381ba1cf8e5a69db
+Size (alsa-plugins-1.0.18.tar.bz2) = 312656 bytes
+SHA1 (patch-aa) = af3bc837cab95c8f042b6e041c89b03e171f1a73
diff --git a/audio/alsa-plugins-pulse/patches/patch-aa b/audio/alsa-plugins-pulse/patches/patch-aa
new file mode 100644 (file)
index 0000000..25a13cb
--- /dev/null
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- configure.orig     2008-10-29 08:47:45.000000000 -0400
++++ configure
+@@ -20252,7 +20252,7 @@ if test "${ac_cv_lib_asound_snd_pcm_iopl
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lasound -ldl $LIBS"
++LIBS="-lasound $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -21974,6 +21974,8 @@ do
+   case $ac_option in
+   # Handling of the options.
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
+     ac_cs_recheck=: ;;
+   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+     echo "$ac_cs_version"; exit ;;