diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-06-07 12:49:00 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-06-07 12:49:00 +0000 |
commit | f34a5b8180324d58fdc2244ee6fd339d652c63a8 (patch) | |
tree | fa676aa0137d7bd162db693abbf8390d45523170 /audio | |
parent | dd343c28fca4405698c2cb9f5092b3161dd6e584 (diff) | |
download | pkgsrc-f34a5b8180324d58fdc2244ee6fd339d652c63a8.tar.gz |
Import cmus-unofficial-20090605 as audio/cmus-unofficial.
"cmus-unoficial a fork of cmus for collecting patches from the mailing list
until Timo comes back online."
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, MP4, AAC, WAV, WV and 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
* Play Queue
* Dynamic Keybinding
* Easy to use directory browser
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmus-unofficial/DESCR | 23 | ||||
-rw-r--r-- | audio/cmus-unofficial/Makefile | 16 | ||||
-rw-r--r-- | audio/cmus-unofficial/PLIST | 33 | ||||
-rw-r--r-- | audio/cmus-unofficial/distinfo | 5 | ||||
-rw-r--r-- | audio/cmus-unofficial/options.mk | 142 |
5 files changed, 219 insertions, 0 deletions
diff --git a/audio/cmus-unofficial/DESCR b/audio/cmus-unofficial/DESCR new file mode 100644 index 00000000000..504c5ac3f9a --- /dev/null +++ b/audio/cmus-unofficial/DESCR @@ -0,0 +1,23 @@ +"cmus-unoficial a fork of cmus for collecting patches from the mailing list +until Timo comes back online." + +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, MP4, AAC, WAV, WV and 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 + * Play Queue + * Dynamic Keybinding + * Easy to use directory browser diff --git a/audio/cmus-unofficial/Makefile b/audio/cmus-unofficial/Makefile new file mode 100644 index 00000000000..2b22168dacb --- /dev/null +++ b/audio/cmus-unofficial/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/06/07 12:49:01 ahoka Exp $ +# + +DISTNAME= cmus-unofficial-20090605 +CATEGORIES= audio +MASTER_SITES= http://irkmaffia.com/~replaced/dist/ +EXTRACT_SUFX= .tar.gz + +MAINTAINER= ahoka@NetBSD.org +HOMEPAGE= http://github.com/JasonWoof/cmus-unofficial/ +COMMENT= Curses based music player (Jason Woof's cmus fork) + +CONFLICTS+= cmus-[0-9]* +WRKSRC= ${WRKDIR}/cmus-unofficial + +.include "../cmus/Makefile.common" diff --git a/audio/cmus-unofficial/PLIST b/audio/cmus-unofficial/PLIST new file mode 100644 index 00000000000..c6d900ab13d --- /dev/null +++ b/audio/cmus-unofficial/PLIST @@ -0,0 +1,33 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/06/07 12:49:00 ahoka Exp $ +bin/cmus +bin/cmus-remote +${PLIST.flac}lib/cmus/ip/flac.so +${PLIST.mad}lib/cmus/ip/mad.so +${PLIST.modplug}lib/cmus/ip/modplug.so +${PLIST.mikmod}lib/cmus/ip/mikmod.so +${PLIST.vorbis}lib/cmus/ip/vorbis.so +${PLIST.faad}lib/cmus/ip/aac.so +${PLIST.faad}lib/cmus/ip/mp4.so +${PLIST.mpcdec}lib/cmus/ip/mpc.so +lib/cmus/ip/wav.so +${PLIST.wavpack}lib/cmus/ip/wavpack.so +${PLIST.arts}lib/cmus/op/arts.so +${PLIST.libao}lib/cmus/op/ao.so +${PLIST.oss}lib/cmus/op/oss.so +${PLIST.sunaudio}lib/cmus/op/sun.so +man/man1/cmus-remote.1 +man/man1/cmus.1 +share/cmus/cyan.theme +share/cmus/default.theme +share/cmus/gray-88.theme +share/cmus/green-mono-88.theme +share/cmus/green.theme +share/cmus/rc +share/cmus/xterm-white.theme +share/doc/cmus/examples/cmus-status-display +@dirrm share/doc/cmus/examples +@dirrm share/cmus +@dirrm lib/cmus/op +@dirrm lib/cmus/ip +@dirrm lib/cmus +@dirrm share/doc/cmus diff --git a/audio/cmus-unofficial/distinfo b/audio/cmus-unofficial/distinfo new file mode 100644 index 00000000000..d02bf47b774 --- /dev/null +++ b/audio/cmus-unofficial/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/06/07 12:49:01 ahoka Exp $ + +SHA1 (cmus-unofficial-20090605.tar.gz) = aca49085f87f60d09a844fbb377187983491b80d +RMD160 (cmus-unofficial-20090605.tar.gz) = 606735e8122b5ad384952ee309616ed3e3a0ad09 +Size (cmus-unofficial-20090605.tar.gz) = 202957 bytes diff --git a/audio/cmus-unofficial/options.mk b/audio/cmus-unofficial/options.mk new file mode 100644 index 00000000000..4b1b7615e4b --- /dev/null +++ b/audio/cmus-unofficial/options.mk @@ -0,0 +1,142 @@ +# $NetBSD: options.mk,v 1.1.1.1 2009/06/07 12:49:01 ahoka Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.cmus +PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao mpcdec faad wavpack #alsa +PKG_SUPPORTED_OPTIONS+= wide-curses +PKG_OPTIONS_OPTIONAL_GROUPS= mod +PKG_OPTIONS_GROUP.mod= modplug mikmod +PKG_SUGGESTED_OPTIONS= flac mad libao vorbis modplug +PKG_OPTIONS_LEGACY_OPTS=ao:libao + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} + +### +### Backends +### + +# AO support +# +.if !empty(PKG_OPTIONS:Mlibao) +. include "../../audio/libao/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_AO=y +PLIST.libao= yes +.else +CONFIGURE_ARGS+= CONFIG_AO=n +.endif + +# ARTS support +# +.if !empty(PKG_OPTIONS:Marts) +. include "../../audio/arts/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_ARTS=y +PLIST.arts= yes +.else +CONFIGURE_ARGS+= CONFIG_ARTS=n +.endif + +# ALSA support +# +# UNTESTED +#.if !empty(PKG_OPTIONS:Malsa) +#ONLY_FOR_PLATFORM= Linux-*-* # Alsa is Linux only +#CONFIGURE_ARGS+= CONFIG_ALSA=y +#.endif + +### +### Codecs +### + +# MAD support +# +.if !empty(PKG_OPTIONS:Mmad) +.include "../../audio/libmad/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_MAD=y +PLIST.mad= yes +.else +CONFIGURE_ARGS+= CONFIG_MAD=n +.endif + +# VORBIS support +# +.if !empty(PKG_OPTIONS:Mvorbis) +.include "../../audio/libvorbis/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_VORBIS=y +PLIST.vorbis= yes +.else +CONFIGURE_ARGS+= CONFIG_VORBIS=n +.endif + +# FLAC support +# +.if !empty(PKG_OPTIONS:Mflac) +.include "../../audio/flac/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_FLAC=y +PLIST.flac= yes +.else +CONFIGURE_ARGS+= CONFIG_FLAC=n +.endif + +# MPCDEC support +# +.if !empty(PKG_OPTIONS:Mmpcdec) +.include "../../audio/libmpcdec/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_MPC=y +PLIST.mpcdec= yes +.else +CONFIGURE_ARGS+= CONFIG_MPC=n +.endif + +# VAWPACK support +# +.if !empty(PKG_OPTIONS:Mwavpack) +.include "../../audio/wavpack/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_WAVPACK=y +PLIST.wavpack= yes +.else +CONFIGURE_ARGS+= CONFIG_WAVPACK=n +.endif + +# modplay support +# +.if !empty(PKG_OPTIONS:Mmikmod) +.include "../../audio/libmikmod/buildlink3.mk" +.include "../../audio/libaudiofile/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_MODPLUG=n +CONFIGURE_ARGS+= CONFIG_MIKMOD=y +PLIST.mikmod= yes +.endif +.if !empty(PKG_OPTIONS:Mmodplug) +.include "../../audio/libmodplug/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_MODPLUG=y +CONFIGURE_ARGS+= CONFIG_MIKMOD=n +PLIST.modplug= yes +.endif + +# FAAD support +# +.if !empty(PKG_OPTIONS:Mfaad) +.include "../../audio/faad2/buildlink3.mk" +.include "../../multimedia/libmp4v2/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_AAC=y +CONFIGURE_ARGS+= CONFIG_MP4=y +PLIST.faad= yes +.else +CONFIGURE_ARGS+= CONFIG_AAC=n +CONFIGURE_ARGS+= CONFIG_MP4=n +.endif + +### +### Wide curses support; otherwise, default to using narrow curses. +### +# cmus works fine with a 5.0+ NetBSD curses +.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*) +. include "../../mk/curses.buildlink3.mk" +.else +. if !empty(PKG_OPTIONS:Mwide-curses) +. include "../../devel/ncursesw/buildlink3.mk" +. else +. include "../../devel/ncurses/buildlink3.mk" +. endif +.endif |