summaryrefslogtreecommitdiffstats
path: root/audio/openal-soft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/openal-soft/Makefile')
-rw-r--r--audio/openal-soft/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index 1a8d2a3e..6841223 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= openal-soft
-PORTVERSION= 1.17.2
-PORTREVISION= 2
+PORTVERSION= 1.18.1
CATEGORIES= audio
MASTER_SITES= http://kcat.strangesoft.net/openal-releases/
@@ -17,17 +16,19 @@ CONFLICTS= openal-200[0-9]*
USES= tar:bzip2 cmake compiler:c11
USE_LDCONFIG= yes
CMAKE_ARGS= -DSHARE_INSTALL_DIR:STRING=${ETCDIR} \
+ -DALSOFT_REQUIRE_OSS:BOOL=OFF \
-DALSOFT_REQUIRE_JACK:BOOL=OFF \
- -DALSOFT_REQUIRE_OSS:BOOL=ON \
-DALSOFT_REQUIRE_SOLARIS:BOOL=OFF \
-DALSOFT_REQUIRE_SNDIO:BOOL=OFF \
-DALSOFT_REQUIRE_QSA:BOOL=OFF \
-DALSOFT_BACKEND_ALSA:BOOL=OFF \
-DALSOFT_BACKEND_WAVE:BOOL=ON \
- -DALSOFT_UTILS:BOOL=ON \
- -DALSOFT_EXAMPLES:BOOL=OFF
+ -DALSOFT_EXAMPLES:BOOL=OFF \
+ -DALSOFT_UTILS:BOOL=ON
-OPTIONS_DEFINE= FLUIDSYNTH CONFIG JACK PORTAUDIO PULSEAUDIO SNDIO
+OPTIONS_DEFINE= EXAMPLES FLUIDSYNTH CONFIG OSS JACK PORTAUDIO \
+ PULSEAUDIO SNDIO
+OPTIONS_DEFAULT= OSS
OPTIONS_SUB= yes
CONFIG_DESC= Install configuration utility (needs Qt 4.x)
@@ -40,6 +41,8 @@ CONFIG_USE= QT4=corelib,gui,qmake_build,moc_build,rcc_build,uic_build
FLUIDSYNTH_CMAKE_ON= -DALSOFT_REQUIRE_FLUIDSYNTH:BOOL=ON
FLUIDSYNTH_CMAKE_OFF= -DALSOFT_MIDI_FLUIDSYNTH:BOOL=OFF
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
+OSS_CMAKE_ON= -DALSOFT_REQUIRE_OSS:BOOL=ON
+OSS_CMAKE_OFF= -DALSOFT_BACKEND_OSS:BOOL=OFF
JACK_CMAKE_ON= -DALSOFT_REQUIRE_JACK:BOOL=ON
JACK_CMAKE_OFF= -DALSOFT_BACKEND_JACK:BOOL=OFF
JACK_LIB_DEPENDS= libjack.so:audio/jack
@@ -56,7 +59,11 @@ SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
post-patch:
@${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \
${WRKSRC}/Alc/alcConfig.c
- @${REINPLACE_CMD} 's|$${SHARE_INSTALL_DIR}/openal|${ETCDIR}|' \
+ @${REINPLACE_CMD} 's|$${CMAKE_INSTALL_DATADIR}/openal|${ETCDIR}|' \
${WRKSRC}/CMakeLists.txt
+post-install-EXAMPLES-on:
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${EXAMPLESDIR})
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud