mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
libao: bump version.
This commit is contained in:
90
media-libs/libao/libao-1.2.2.recipe
Normal file
90
media-libs/libao/libao-1.2.2.recipe
Normal file
@@ -0,0 +1,90 @@
|
||||
SUMMARY="A cross platform audio library"
|
||||
DESCRIPTION="
|
||||
Libao is a cross-platform audio library that allows programs to output audio \
|
||||
using a simple API on a wide variety of platforms. It currently supports Null \
|
||||
output, WAV files, AU files, RAW files, OSS, ALSA, aRts, PulseAudio, esd, Mac \
|
||||
OS X, Windows, AIX, Sun/NetBSD/OpenBSD, IRIX, NAS, RoarAudio and OpenBSD's \
|
||||
sndio.
|
||||
"
|
||||
HOMEPAGE="https://xiph.org/ao/"
|
||||
COPYRIGHT="1999 Aaron Holtzman
|
||||
2000 Rik Hemsley
|
||||
2000 Timothy J. Wood
|
||||
2000-2001 Stan Seibert
|
||||
2001 Christian Weisgerber
|
||||
2001 Wil Mahan
|
||||
2002 Stefan Tibus
|
||||
2008 Alexandre Ratchov
|
||||
2008-2010 Philipp 'ph3-der-loewe' Schafft
|
||||
2010-2011 Monty"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://github.com/xiph/libao/archive/$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="libao-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="df8a6d0e238feeccb26a783e778716fb41a801536fe7b6fce068e313c0e2bf4d"
|
||||
PATCHES="libao-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libao$secondaryArchSuffix = $portVersion
|
||||
lib:libao$secondaryArchSuffix = 4.1.1 compat >= 4
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libao${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libao$secondaryArchSuffix = 4.1.1 compat >= 4
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libao$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool files
|
||||
rm -f $libDir/libao.la $libDir/ao/plugins*/libhaiku.la
|
||||
|
||||
prepareInstalledDevelLibs libao
|
||||
fixPkgconfig
|
||||
|
||||
# move include dir to correct location
|
||||
mkdir -p $(dirname $includeDir)
|
||||
mv $prefix/include $includeDir
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user