al 0.1.3.2 → 0.1.4
raw patch · 2 files changed
+18/−8 lines, 2 files
Files
- CHANGELOG.md +4/−0
- al.cabal +14/−8
CHANGELOG.md view
@@ -1,3 +1,7 @@+## 0.1.4++- Mac OS X support (frameworks).+ ## 0.1.3.2 - Added support for pkg-config (UNIX only)
al.cabal view
@@ -1,5 +1,5 @@ name: al-version: 0.1.3.2+version: 0.1.4 synopsis: OpenAL 1.1 raw API. description: OpenAL is a minimalistic sound API that aims to provide bare features for /spacialized audio/. The API looks like@@ -11,13 +11,15 @@ EAX is not supported yet either. It'll be embedded in future releases, soon. - IMPORTANT: In order to build and install "al", you'll- need to pass the path of the /include/ and /libs/ directory- of your OpenAL installation if you get errors.+ In order to build and install "al", you'll need to have+ pkg-config installed. - Then use this to install:+ For Ubuntu users, there might be a bug with pkg-config.+ If the install fails, consider using @cabal install al+ --extra-include-dirs=/usr/include/AL@ or whatever the path+ your OpenAL setup is located to – you can help find that+ with @find / -name al.h@. - @ cabal install --extra-include-dirs=path_to_include --extra-lib-dirs=path_to_libs @ license: BSD3 license-file: LICENSE author: Dimitri Sabadie <dimitri.sabadie@gmail.com>@@ -60,7 +62,11 @@ include-dirs: "C:\\Program Files (x86)\\OpenAL 1.1 SDK\\include" extra-libraries: OpenAL32 else- pkgconfig-depends: openal+ if os(darwin)+ frameworks: OpenAL+ include-dirs: "/System/Library/Frameworks/OpenAL.framework/Headers/"+ else+ pkgconfig-depends: openal build-tools: c2hs >= 0.23 && < 0.26 @@ -87,7 +93,7 @@ , ForeignFunctionInterface build-depends: base >= 4.6 && < 5- , mtl >= 2.1 && < 2.3+ , mtl >= 2.1 && < 2.3 hs-source-dirs: src