[MacPorts] #34012: openal: error: 'CAStreamBasicDescription.h' file not found
MacPorts
noreply at macports.org
Sat Feb 2 04:44:29 PST 2013
#34012: openal: error: 'CAStreamBasicDescription.h' file not found
--------------------------+--------------------------------
Reporter: moligaloo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: | Keywords: lion mountainlion
Port: openal |
--------------------------+--------------------------------
Comment (by fgenolini@…):
I have not yet created patches for MacPort's portfiles and I am not too
sure where to start.
I have modified the CMakeLists.txt to turn CoreAudio ON:
OPTION(ALSOFT_REQUIRE_COREAUDIO "Require CoreAudio backend" ON)
I have then modified the XCode (Version 4.6 (4H127)) project settings to
add /opt/local/lib to the library search path of the 3 ffmpeg examples
compiled with OpenAL 1.15.1
I guess the new Portfile could look something like:
# $Id$
PortSystem 1.0
PortGroup xcode 1.0
name openal
version 1.15.1
categories audio devel
license LGPL-2
maintainers chris dot kcat at gmail dot com
description OpenAL is a cross-platform 3D audio API
long_description OpenAL is a cross-platform 3D audio API
appropriate \
for use with gaming applications and many other
types \
of audio applications.
homepage http://www.openal.org/
master_sites sourceforge:macports
use_bzip2 yes
checksums sha1 somenewchecksum \
rmd160 somerothernewchecksum
# distfile exported from git://repo.or.cz/openal-soft.git
worksrcdir ${name}-${version}/OpenAL-MacOSX
xcode.target OpenAL
xcode.destroot.type framework
if {${os.major} <= 9} {
post-patch {
some suitable patch for the CMakeLists.txt to turn on CoreAudio,
and fix-up for the generated XCode project (add /opt/local/lib to the
library search path for the ffmpeg examples)
}
}
--
Ticket URL: <https://trac.macports.org/ticket/34012#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list