mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
65 lines
1.6 KiB
Bash
65 lines
1.6 KiB
Bash
SUMMARY="The audio architecture Open Sound System (OSS)"
|
|
DESCRIPTION="Open Sound System (OSS) is the first attempt in unifying the \
|
|
digital audio architecture for UNIX. OSS is a set of device drivers that \
|
|
provide a uniform API across all the major UNIX architectures."
|
|
HOMEPAGE="http://developer.opensound.com/"
|
|
COPYRIGHT="1996-2008 Hannu Savolainen and Dev Mazumdar"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="2"
|
|
|
|
COMMIT="cd2ae052d390c4811acd10553b327bb94fa2abb0"
|
|
SOURCE_URI="https://sourceforge.net/code-snapshots/git/o/op/opensound/git.git/opensound-git-$COMMIT.zip"
|
|
SOURCE_DIR="opensound-git-$COMMIT"
|
|
CHECKSUM_SHA256="6c4852c4c835f54bc807c91a657ecdc398560e6c0b6fc165464265bc30ea407f"
|
|
PATCHES="opensound-4.2_git.patchset"
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86_64"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/kernel/drivers directory keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
opensound$secondaryArchSuffix = $portVersion
|
|
cmd:ossplay$secondaryArchSuffix
|
|
cmd:ossinfo$secondaryArchSuffix
|
|
cmd:ossmix$secondaryArchSuffix
|
|
cmd:ossphone$secondaryArchSuffix
|
|
cmd:ossrecord$secondaryArchSuffix
|
|
cmd:osstest$secondaryArchSuffix
|
|
cmd:savemixer$secondaryArchSuffix
|
|
cmd:vmixctl$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export BEOS_SYSTEM=$prefix
|
|
mkdir -p build
|
|
cd build
|
|
sh ../configure --config-midi=NO --config-vmix=NO
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
export BEOS_SYSTEM=$prefix
|
|
cd build
|
|
make install
|
|
# they really belong to home/config/settings but well...
|
|
copyattr -d -r prototype/boot/home/config/settings/* $settingsDir/
|
|
}
|