mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Add cmus, a really cool console music player with some nifty
features. CMus is a small and fast music player using the ncurses library. CMus has vi-style command interface, e.g. searching using '/' or '?' and adding files to playlist ':add ~/foo.ogg'. * Plays FLAC, OGG, MP3, WAV, modules * MP3 and Ogg streaming (Shoutcast/Icecast) * WinAmp / XMMS keys "zxcvb" * Can be controlled via UNIX socket * Customizable colors * Nice vi-style interface with tabulator expansion * Background playlist loading * Track metadata database makes adding files to playlist very fast. * Album/artist modes. Playing within one album or artist. * Powerful playlist filters * Can run external commands for the currently selected files * Directory browser * Supports 256 colors WWW: http://onion.dynserv.net/~timo/index.php?page=Projects/cmus
This commit is contained in:
parent
8e147a6c50
commit
1e8811471a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145393
@ -72,6 +72,7 @@
|
||||
SUBDIR += chordpack
|
||||
SUBDIR += cmp3
|
||||
SUBDIR += cmt
|
||||
SUBDIR += cmus
|
||||
SUBDIR += coverhunter
|
||||
SUBDIR += cpige
|
||||
SUBDIR += cplay
|
||||
|
75
audio/cmus/Makefile
Normal file
75
audio/cmus/Makefile
Normal file
@ -0,0 +1,75 @@
|
||||
# New ports collection makefile for: cmus
|
||||
# Date created: 14 October 2005
|
||||
# Whom: Adam Weinberger
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cmus
|
||||
PORTVERSION= 1.6.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://onion.dynserv.net/~timo/files/
|
||||
|
||||
MAINTAINER= adamw@FreeBSD.org
|
||||
COMMENT= Console-based music player with really cool features
|
||||
|
||||
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
|
||||
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac \
|
||||
mad:${PORTSDIR}/audio/libmad
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
HAS_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${PREFIX}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libvorbisfile.so) || defined(BATCH)
|
||||
WITH_VORBIS= yes
|
||||
.endif
|
||||
.if exists(${LOCALBASE}/lib/libmodplug.so) || defined(BATCH)
|
||||
WITH_MODPLUG= yes
|
||||
.endif
|
||||
.if exists(${LOCALBASE}/lib/libartsc.so)
|
||||
WITH_ARTS= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_VORBIS)
|
||||
LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis
|
||||
PLIST_SUB+= VORBIS=""
|
||||
.else
|
||||
PLIST_SUB+= VORBIS="@comment "
|
||||
PREMSG+= Define WITH_VORBIS=yes to enable OGG/Vorbis support.\n
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MODPLUG)
|
||||
LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug
|
||||
PLIST_SUB+= MODPLUG=""
|
||||
.else
|
||||
PLIST_SUB+= MODPLUG="@comment "
|
||||
PREMSG+= Define WITH_MODPLUG=yes to enable module music files.\n
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARTS)
|
||||
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts
|
||||
PLIST_SUB+= ARTS=""
|
||||
.else
|
||||
PLIST_SUB+= ARTS="@comment "
|
||||
PREMSG+= Define WITH_ARTS=yes to enable arts output support.\n
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_CMD}
|
||||
@${PRINTF} "${PREMSG}"
|
||||
@${ECHO_CMD}
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
"s|/bin/bash|${LOCALBASE}/bin/bash|; \
|
||||
s|-lncursesw|-lncurses|g"
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
audio/cmus/distinfo
Normal file
2
audio/cmus/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (cmus-1.6.0.tar.bz2) = b8e5accbaacedfbdb6858e5f6b28f560
|
||||
SIZE (cmus-1.6.0.tar.bz2) = 136782
|
19
audio/cmus/pkg-descr
Normal file
19
audio/cmus/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
CMus is a small and fast music player using the ncurses library.
|
||||
CMus has vi-style command interface, e.g. searching using '/' or
|
||||
'?' and adding files to playlist ':add ~/foo.ogg'.
|
||||
|
||||
* Plays FLAC, OGG, MP3, WAV, modules
|
||||
* MP3 and Ogg streaming (Shoutcast/Icecast)
|
||||
* WinAmp / XMMS keys "zxcvb"
|
||||
* Can be controlled via UNIX socket
|
||||
* Customizable colors
|
||||
* Nice vi-style interface with tabulator expansion
|
||||
* Background playlist loading
|
||||
* Track metadata database makes adding files to playlist very fast.
|
||||
* Album/artist modes. Playing within one album or artist.
|
||||
* Powerful playlist filters
|
||||
* Can run external commands for the currently selected files
|
||||
* Directory browser
|
||||
* Supports 256 colors
|
||||
|
||||
WWW: http://onion.dynserv.net/~timo/index.php?page=Projects/cmus
|
11
audio/cmus/pkg-plist
Normal file
11
audio/cmus/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
bin/cmus
|
||||
bin/cmus-remote
|
||||
lib/cmus/ip/flac.so
|
||||
lib/cmus/ip/mad.so
|
||||
%%MODPLUG%%lib/cmus/ip/modplug.so
|
||||
%%VORBIS%%lib/cmus/ip/vorbis.so
|
||||
lib/cmus/ip/wav.so
|
||||
%%ARTS%%lib/cmus/op/arts.so
|
||||
lib/cmus/op/oss.so
|
||||
%%DATADIR%%/doc/cmus.html
|
||||
%%DATADIR%%/example/cmus-status-display
|
Loading…
Reference in New Issue
Block a user