Monday, June 04, 2018

Re: [patch] audio/openal: ugly update to 1.18.2

On Mon, Jun 04, 2018 at 08:07:36AM +0100, David CARLIER wrote:
> Ok ... My approach with openal has always been not rushing to update to the
> newest version especially so many softwares depends on it.
> Is the portaudio support of the actual version not working ?
>

By actual you mean the current version of this port? It works (I tested
it at 1.17.2 first), but I thought why not to try to update to 1.18.2?

Well, if to stay at current version, I provide new diff below.

> You should take a look at infrastructure/bin/dpb.
>

Processing...

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 Makefile
--- Makefile 31 Dec 2017 18:46:26 -0000 1.50
+++ Makefile 4 Jun 2018 07:29:18 -0000
@@ -10,7 +10,7 @@ DISTNAME = openal-soft-$V
PKGNAME = openal-$V
CATEGORIES = audio
SHARED_LIBS = openal 3.0
-REVISION = 0
+REVISION = 1

HOMEPAGE = http://kcat.strangesoft.net/openal.html

@@ -19,7 +19,7 @@ MAINTAINER = David Carlier <devnexen@gma
# LGPLv2+
PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += c m pthread sndio ${COMPILER_LIBCXX}
+WANTLIB += c m portaudio pthread

MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,}
EXTRACT_SUFX = .tar.bz2
@@ -29,7 +29,8 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
-DALSOFT_DLOPEN=Off \
-DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
- -DALSOFT_REQUIRE_SNDIO=On \
+ -DALSOFT_REQUIRE_PORTAUDIO=On \
+ -DALSOFT_BACKEND_SNDIO=Off \
-DALSOFT_BACKEND_WAVE=Off \
-DALSOFT_CPUEXT_SSE=Off \
-DALSOFT_CPUEXT_SSE2=Off \
@@ -39,12 +40,12 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
-DCMAKE_DISABLE_FIND_PACKAGE_AudioIO:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_JACK:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
- -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
-DALSOFT_NO_CONFIG_UTIL=On

MODULES = devel/cmake
+LIB_DEPENDS = audio/portaudio-svn

COMPILER = base-clang ports-clang ports-gcc

No comments:

Post a Comment