SUMMARY="A Console Based Audio Player" DESCRIPTION="cmus (C* MUsic Player) is a small, fast and powerful console \ audio player which supports most major audio formats. Various features \ include gapless playback, ReplayGain support, MP3 and Ogg streaming, live \ filtering, instant startup, customizable key-bindings, and vi-style default \ key-bindings." HOMEPAGE="https://cmus.github.io/" COPYRIGHT="2005-2022 The cmus Project" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/cmus/cmus/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="ff40068574810a7de3990f4f69c9c47ef49e37bd31d298d372e8bcdafb973fff" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" cmus$secondaryArchSuffix = $portVersion cmd:cmus$secondaryArchSuffix = $portVersion cmd:cmus_remote$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libao$secondaryArchSuffix lib:libavformat$secondaryArchSuffix lib:libcddb$secondaryArchSuffix lib:libfaad$secondaryArchSuffix lib:libFLAC$secondaryArchSuffix lib:libiconv$secondaryArchSuffix lib:libmad$secondaryArchSuffix lib:libmodplug$secondaryArchSuffix lib:libmp4v2$secondaryArchSuffix lib:libmpcdec$secondaryArchSuffix lib:libncurses$secondaryArchSuffix lib:libopusfile$secondaryArchSuffix lib:libsamplerate$secondaryArchSuffix lib:libvorbis$secondaryArchSuffix lib:libwavpack$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libao$secondaryArchSuffix devel:libavformat$secondaryArchSuffix devel:libcddb$secondaryArchSuffix devel:libfaad$secondaryArchSuffix devel:libFLAC$secondaryArchSuffix devel:libiconv$secondaryArchSuffix devel:libmad$secondaryArchSuffix devel:libmodplug$secondaryArchSuffix devel:libmp4v2$secondaryArchSuffix devel:libmpcdec$secondaryArchSuffix devel:libncurses$secondaryArchSuffix devel:libopusfile$secondaryArchSuffix devel:libsamplerate$secondaryArchSuffix devel:libvorbis$secondaryArchSuffix devel:libwavpack$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc${secondaryArchSuffix} cmd:ld${secondaryArchSuffix} cmd:make cmd:pkg_config${secondaryArchSuffix} " BUILD() { # not an autotools configure ./configure \ prefix=$prefix \ bindir=$binDir \ datadir=$dataDir \ libdir=$libDir \ mandir=$manDir \ exampledir=$docDir \ LDFLAGS=-lnetwork make $jobArgs } INSTALL() { make install }