Merged in humdinger:Updated CDPlayer recipe (pull request #193)

Updated CDPlayer recipe
This commit is contained in:
Augustin Cavalier
2014-07-10 11:51:14 -04:00

View File

@@ -0,0 +1,54 @@
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#f7e839c39669be0f5119941eda30231be522ad97"
LICENSE="Be Sample Code License
MIT"
COPYRIGHT="1992-2000, Be Incorporated
2006-2009 by Haiku Inc.
"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
CDPlayer$secondaryArchSuffix = $portVersion
app:CDPlayer$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -af src/objects/CDPlayer $appsDir
addAppDeskbarSymlink $appsDir/CDPlayer
}