Added CDPlayer recipe.

This commit is contained in:
Humdinger
2014-07-09 10:50:19 +02:00
parent 1cbb09077c
commit e0e531a364

View File

@@ -0,0 +1,53 @@
SUMMARY="A 'remote control' for the CD-ROM drive"
DESCRIPTION="
CDPlayer is like a remote control for the CD-ROM drive. It completely \
by-passes Haiku's media services. If your CD-ROM drive doesn't support \
that or its audio outputs aren't connected to speakers (or routed through \
your soundcard), you won't hear a thing...
Modern computers only rarely fulfill these requirements.
In that case you're better off mounting the CD in Tracker and use \
MediaPlayer to play back the audio files in its wav folder.
"
HOMEPAGE="https://github.com/HaikuArchives/CDPlayer"
SRC_URI="git://github.com/HaikuArchives/CDPlayer#015f84c84f495fd6d635b8646be54eb2f13579c5"
LICENSE="Be Sample Code License
MIT"
COPYRIGHT="1992-2000, Be Incorporated
2006-2009 by Haiku Inc.
"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
CDPlayer = $portVersion
app:CDPlayer = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
BUILD()
{
cd src
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
ARCH=$(echo $buildArchitecture | sed 's/_/-/g')
cp -af src/objects.$ARCH-release/CDPlayer $appsDir
addAppDeskbarSymlink $appsDir/CDPlayer
}