mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
opensound: Add updated git recipe
OSS moved to git some time ago... Add a patchset to adapt the build system to PM. Marked as untested since it doesn't track a specific revision.
This commit is contained in:
52
media-sound/opensound/opensound-4.2_git.recipe
Normal file
52
media-sound/opensound/opensound-4.2_git.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="Open Sound System"
|
||||
DESCRIPTION="Open Sound System audio drivers"
|
||||
HOMEPAGE="http://developer.opensound.com/"
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="1996-2008 Hannu Savolainen and Dev Mazumdar"
|
||||
SRC_URI="git://opensound.git.sourceforge.net/gitroot/opensound/opensound"
|
||||
REVISION="1"
|
||||
#CHECKSUM_MD5=""
|
||||
ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
|
||||
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 >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCHES="opensound-4.2_git.patchset"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="settings/kernel/drivers directory keep-old"
|
||||
|
||||
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/
|
||||
}
|
||||
Reference in New Issue
Block a user