pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/moc Initial import of moc-2.3.2 from pkgsrc-wip,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb562442232b
branches:  trunk
changeset: 499770:bb562442232b
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Sep 26 23:17:32 2005 +0000

description:
Initial import of moc-2.3.2 from pkgsrc-wip, packaged by Petter
Schuller.

MOC (music on console) is a console audio player for LINUX/UNIX
designed to be powerful and easy to use. Noteworthy features
include:

  * By default, files are decoded and played in a background
    process. This allows the user to quit the interface (e.g.,
    if one needs to close the xterm) without affecting
    playback. It also allows attaching multiple interfaces
    (e.g. in multiple xterms) to the same player.
  * Playback should be smooth even under high cpu or I/O load,
    due to the use of output buffering in a separate thread.
  * There are no sound gaps in between files, because the next
    file to be played is precached while playing the current
    file.

Note: To avoid conflicts with Qt's 'moc', the moc binary is
called 'mocp'.

diffstat:

 audio/moc/DESCR      |  17 +++++++++++++++++
 audio/moc/Makefile   |  28 ++++++++++++++++++++++++++++
 audio/moc/PLIST      |  23 +++++++++++++++++++++++
 audio/moc/distinfo   |   5 +++++
 audio/moc/options.mk |  50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 123 insertions(+), 0 deletions(-)

diffs (143 lines):

diff -r 4b21a5f42331 -r bb562442232b audio/moc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/DESCR   Mon Sep 26 23:17:32 2005 +0000
@@ -0,0 +1,17 @@
+MOC (music on console) is a console audio player for LINUX/UNIX
+designed to be powerful and easy to use. Noteworthy features
+include:
+
+  * By default, files are decoded and played in a background
+    process. This allows the user to quit the interface (e.g.,
+    if one needs to close the xterm) without affecting
+    playback. It also allows attaching multiple interfaces
+    (e.g. in multiple xterms) to the same player.
+  * Playback should be smooth even under high cpu or I/O load,
+    due to the use of output buffering in a separate thread.
+  * There are no sound gaps in between files, because the next
+    file to be played is precached while playing the current
+    file.
+
+Note: To avoid conflicts with Qt's 'moc', the moc binary is
+called 'mocp'.
diff -r 4b21a5f42331 -r bb562442232b audio/moc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/Makefile        Mon Sep 26 23:17:32 2005 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+
+DISTNAME=              moc-2.3.2
+CATEGORIES=            audio
+MASTER_SITES=          ftp://ftp.daper.net/pub/soft/moc/stable/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            peter.schuller%infidyne.com@localhost
+HOMEPAGE=              http://moc.daper.net/
+COMMENT=               Curses based console audio player
+
+GNU_CONFIGURE=         yes
+USE_PKGLOCALEDIR=      yes
+USE_LIBTOOL=           yes
+USE_NCURSES=           yes
+
+# We require ncurses because with curses arrow key navigation is buggy
+CONFIGURE_ARGS+=        --with-ncurses
+
+.include "options.mk"
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4b21a5f42331 -r bb562442232b audio/moc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/PLIST   Mon Sep 26 23:17:32 2005 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+bin/mocp
+${FLAC}lib/moc/decoder_plugins/libflac_decoder.la
+lib/moc/decoder_plugins/libmp3_decoder.la
+${VORBIS}lib/moc/decoder_plugins/libogg_decoder.la
+${SNDFILE}lib/moc/decoder_plugins/libsndfile_formats_decoder.la
+${SPEEX}lib/moc/decoder_plugins/libspeex_decoder.la
+man/man1/mocp.1
+share/doc/moc/README
+share/doc/moc/THANKS
+share/doc/moc/config.example
+share/doc/moc/keymap.example
+share/moc/themes/black_theme
+share/moc/themes/example_theme
+share/moc/themes/green_theme
+share/moc/themes/nightly_theme
+share/moc/themes/transparent-background
+share/moc/themes/yellow_red_theme
+@dirrm share/moc/themes
+@dirrm share/moc
+@dirrm share/doc/moc
+@dirrm lib/moc/decoder_plugins
+@dirrm lib/moc
diff -r 4b21a5f42331 -r bb562442232b audio/moc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/distinfo        Mon Sep 26 23:17:32 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+
+SHA1 (moc-2.3.2.tar.bz2) = ca1a331ea9ea3699d76d4771416587190a814516
+RMD160 (moc-2.3.2.tar.bz2) = 1da768dbb625bbeedd960eb7c09c0113eeba7482
+Size (moc-2.3.2.tar.bz2) = 406058 bytes
diff -r 4b21a5f42331 -r bb562442232b audio/moc/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/moc/options.mk      Mon Sep 26 23:17:32 2005 +0000
@@ -0,0 +1,50 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/09/26 23:17:32 xtraeme Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.moc
+PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl
+PKG_SUGGESTED_OPTIONS= vorbis curl sndfile
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msndfile)
+PLIST_SUBST+=          SNDFILE=
+CONFIGURE_ARGS+=       --with-sndfile
+.  include "../../audio/libsndfile/buildlink3.mk"
+.else
+PLIST_SUBST+=          SNDFILE='@comment '
+CONFIGURE_ARGS+=       --without-sndfile
+.endif
+
+.if !empty(PKG_OPTIONS:Mflac)
+PLIST_SUBST+=          FLAC=
+CONFIGURE_ARGS+=       --with-flac
+.  include "../../audio/flac/buildlink3.mk"
+.else
+PLIST_SUBST+=          FLAC='@comment '
+CONFIGURE_ARGS+=       --without-flac
+.endif
+
+.if !empty(PKG_OPTIONS:Mvorbis)
+PLIST_SUBST+=          VORBIS=
+CONFIGURE_ARGS+=       --with-vorbis
+.  include "../../audio/libvorbis/buildlink3.mk"
+.else
+PLIST_SUBST+=          VORBIS='@comment '
+CONFIGURE_ARGS+=       --without-vorbis
+.endif
+
+.if !empty(PKG_OPTIONS:Mspeex)
+PLIST_SUBST+=          SPEEX=
+CONFIGURE_ARGS+=       --with-speex
+.  include "../../audio/speex/buildlink3.mk"
+.else
+PLIST_SUBST+=          SPEEX='@comment '
+CONFIGURE_ARGS+=       --without-speex
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurl)
+CONFIGURE_ARGS+=       --with-curl
+.  include "../../www/curl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-curl
+.endif



Home | Main Index | Thread Index | Old Index