diff --git a/haiku-apps/cdplayer/cdplayer-1.0.recipe b/haiku-apps/cdplayer/cdplayer-1.0.recipe new file mode 100644 index 000000000..a71583d8b --- /dev/null +++ b/haiku-apps/cdplayer/cdplayer-1.0.recipe @@ -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 +}