mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 18:20:07 +02:00
64 lines
1.6 KiB
Bash
64 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="f6048993e04bb50e8e98b7e4f4eadfae3e736fec"
|
|
SOURCE_URI="https://github.com/OldRepoPreservation/opensound/archive/$COMMIT.tar.gz
|
|
git://opensound.git.sourceforge.net/gitroot/opensound/opensound#$COMMIT"
|
|
CHECKSUM_SHA256="bd8000fecb37e63294614598777bedda693cbc419e4e56aef74385025245249c"
|
|
SOURCE_DIR="opensound-$COMMIT"
|
|
PATCHES="opensound-4.2_git.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
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()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
../configure --config-midi=NO --config-vmix=NO
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make build SYSTEM_DIR=system
|
|
copyattr -d -r prototype/system/* $prefix/
|
|
copyattr -d -r prototype/home/config/settings/* $settingsDir/
|
|
}
|