aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2009-07-05 20:25:36 +0000
committerMarcus von Appen <mva@FreeBSD.org>2009-07-05 20:25:36 +0000
commita670c9a1e17007fe41c649e0e3da1817401de0c5 (patch)
tree51985684344817ffc9bc8b88b240c0079c5cec38 /audio
parent9bb0c06051727d4504129b1694c59bc6ae48be8e (diff)
downloadports-a670c9a1e17007fe41c649e0e3da1817401de0c5.tar.gz
ports-a670c9a1e17007fe41c649e0e3da1817401de0c5.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/openal-soft/Makefile18
-rw-r--r--audio/openal-soft/distinfo6
-rw-r--r--audio/openal-soft/pkg-plist2
3 files changed, 19 insertions, 7 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index 133d1cfa1e66..e5dbaf7b1cbe 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= openal-soft
-PORTVERSION= 1.7.411
-PORTREVISION= 1
+PORTVERSION= 1.8.466
CATEGORIES= audio
MASTER_SITES= http://kcat.strangesoft.net/openal-releases/
@@ -23,4 +22,17 @@ CMAKE_USE_PTHREAD= yes
CMAKE_ARGS+= -DALSA:BOOL=OFF -DPORTAUDIO:BOOL=OFF -DSOLARIS:BOOL=OFF \
-DDSOUND:BOOL=OFF
-.include <bsd.port.mk>
+OPTIONS= PULSEAUDIO "Enable sound streaming using PulseAudio" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PULSEAUDIO)
+LIB_DEPENDS+= pulse-simple.0:${PORTSDIR}/audio/pulseaudio
+CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
+CMAKE_ARGS+= -DPULSEAUDIO:BOOL=ON
+.else
+CMAKE_ARGS+= -DPULSEAUDIO:BOOL=OFF
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/openal-soft/distinfo b/audio/openal-soft/distinfo
index e618a37c2f4a..797f7d3406c9 100644
--- a/audio/openal-soft/distinfo
+++ b/audio/openal-soft/distinfo
@@ -1,3 +1,3 @@
-MD5 (openal-soft-1.7.411.tar.bz2) = e8a14e6e0591b943c078c0616da0d413
-SHA256 (openal-soft-1.7.411.tar.bz2) = 11319e09e03a7a7a6330196ed6c4d377d5af05ac5544e13b13b77888c0db78d9
-SIZE (openal-soft-1.7.411.tar.bz2) = 82002
+MD5 (openal-soft-1.8.466.tar.bz2) = 28d500e0a6b0a7a824b509ad9eaba7be
+SHA256 (openal-soft-1.8.466.tar.bz2) = e8ef5f057fa3c3b967a628e384f6d55b109456656b61e939febf3ee4472b0b4e
+SIZE (openal-soft-1.8.466.tar.bz2) = 88588
diff --git a/audio/openal-soft/pkg-plist b/audio/openal-soft/pkg-plist
index 6e19facbfa4a..b9e454b6549c 100644
--- a/audio/openal-soft/pkg-plist
+++ b/audio/openal-soft/pkg-plist
@@ -2,7 +2,7 @@ bin/openal-info
include/AL/al.h
include/AL/alc.h
include/AL/alext.h
-lib/libopenal.so.1.7.411
+lib/libopenal.so.1.8.466
lib/libopenal.so.1
lib/libopenal.so
libdata/pkgconfig/openal.pc