85 lines
2.3 KiB
Bash
85 lines
2.3 KiB
Bash
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-2017 The cmus Project"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="6"
|
|
SOURCE_URI="https://github.com/cmus/cmus/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165"
|
|
|
|
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
|
|
}
|