pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/cmus-unofficial Import cmus-unofficial-20090605 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb27a9bae8dc
branches:  trunk
changeset: 394236:bb27a9bae8dc
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jun 07 12:49:00 2009 +0000

description:
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:

 audio/cmus-unofficial/DESCR      |   23 ++++++
 audio/cmus-unofficial/Makefile   |   16 ++++
 audio/cmus-unofficial/PLIST      |   33 +++++++++
 audio/cmus-unofficial/distinfo   |    5 +
 audio/cmus-unofficial/options.mk |  142 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 219 insertions(+), 0 deletions(-)

diffs (239 lines):

diff -r 8c96d949aca7 -r bb27a9bae8dc audio/cmus-unofficial/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus-unofficial/DESCR       Sun Jun 07 12:49:00 2009 +0000
@@ -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 -r 8c96d949aca7 -r bb27a9bae8dc audio/cmus-unofficial/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus-unofficial/Makefile    Sun Jun 07 12:49:00 2009 +0000
@@ -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@localhost
+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 -r 8c96d949aca7 -r bb27a9bae8dc audio/cmus-unofficial/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus-unofficial/PLIST       Sun Jun 07 12:49:00 2009 +0000
@@ -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 -r 8c96d949aca7 -r bb27a9bae8dc audio/cmus-unofficial/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus-unofficial/distinfo    Sun Jun 07 12:49:00 2009 +0000
@@ -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 -r 8c96d949aca7 -r bb27a9bae8dc audio/cmus-unofficial/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus-unofficial/options.mk  Sun Jun 07 12:49:00 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index