CDPlayer: fix build

This commit is contained in:
Sergei Reznikov
2019-03-29 20:19:31 +03:00
parent 7026eef7c3
commit ee02fbdb07

View File

@@ -1,9 +1,8 @@
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...
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 \
@@ -14,26 +13,28 @@ COPYRIGHT="1992-2000 Be Incorporated
LICENSE="Be Sample Code License
MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/CDPlayer/archive/master.zip"
CHECKSUM_SHA256="01ff0d0c94d36d005af20c9954f817f3a4aeacf69bf673dbc0ea92439cb11eb8"
srcGitRev="f7e839c39669be0f5119941eda30231be522ad97"
SOURCE_URI="https://github.com/HaikuArchives/CDPlayer/archive/$srcGitRev.zip"
SOURCE_DIR="CDPlayer-$srcGitRev"
CHECKSUM_SHA256="20a8b0ba025c407295af4f81e573d668c5023ebf5b4c796ccc7ee4d3b5342b64"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
CDPlayer$secondaryArchSuffix = $portVersion
app:CDPlayer$secondaryArchSuffix = $portVersion
CDPlayer = $portVersion
app:CDPlayer = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
haiku
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++$secondaryArchSuffix
cmd:g++
cmd:make
"