Files
haikuports/media-libs/openal/openal-1.13.0.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

75 lines
1.8 KiB
Plaintext

SUMMARY="A software implementation of the OpenAL 3D audio API"
DESCRIPTION="
OpenAL stands for (Open Audio Library), a cross-platform audio application \
programming interface written in C. It is an environmental 3D audio \
library that aims to provide a replacement for proprietary 3D audio systems \
such as EAX and A3D. Openal is designed for efficient rendering of \
multichannel 3D positional audio."
HOMEPAGE="http://kcat.strangesoft.net/openal.html"
SRC_URI="http://kcat.strangesoft.net/openal-releases/openal-soft-1.13.tar.bz2"
CHECKSUM_SHA256="dc735b8b2ab21f6ec54b4262f150a7e0527ae42aa975a1965b9342df1520443c"
REVISION="2"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="
1999-2000 Loki Software
2005-2011 OpenAL Soft team
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
openal$secondaryArchSuffix = $portVersion compat >= 1
lib:libopenal$secondaryArchSuffix = 1.13.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
SOURCE_DIR="openal-soft-1.13"
PATCHES="openal-1.13.0.patchset"
BUILD()
{
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$prefix -DBIN_DIR="$relativeBinDir" \
-DLIB_SUFFIX="/${secondaryArchSuffix/_/}"
make $jobArgs
}
INSTALL()
{
cd build
make install
mkdir -p $developDir/headers
mv $prefix/include/* $developDir/headers
rmdir $prefix/include
prepareInstalledDevelLib libopenal
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$binDir
}
PROVIDES_devel="
openal${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopenal$secondaryArchSuffix = 1.13.0 compat >= 0
cmd:openal_info$secondaryArchSuffix
"
REQUIRES_devel="
haiku$secondaryArchSuffix
lib:libopenal$secondaryArchSuffix == $portVersion base
"