pkgsrc/audio/moc/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2013/02/06 23:21:41 jperkin Exp $
DISTNAME= moc-2.4.3
PKGREVISION= 5
CATEGORIES= audio
MASTER_SITES= ftp://ftp.daper.net/pub/soft/moc/stable/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= peter.schuller@infidyne.com
HOMEPAGE= http://moc.daper.net/
COMMENT= Curses based console audio player
CONFLICTS= moc-devel-[0-9]*
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_NCURSES= yes
Update to 2.4.0. Changes: * Layout of the main window can be changed using Layout[123] options. Switching between layouts is done using the 'l' key and now TAB is used to switch between the playlist and the directory menu. For example, you can configure the layout to see both the playlist and a directory content. * Support for WMA, RealAudio, MP4 and AAC file using FFmpeg. * UTF-8 support. * Selecting themes at runtime - T command (this does not change the config file). * Executing external commands, like 'cp %f /mnt/usb_drive' where %f is substituted with the path to the currently selected file. * Tags are cached at the server side and read in a separate thread. The interface is not locked until the tags are read. Size of the cache can be adjusted using TagsCacheSize. The cache is saved at exit and loaded at startup. * Moving items up and down: u and j commands. * Workaround for encoding of ID3v1 tags. New options: UseRCC - to use librcc for ID3v1 reencoding (Initial patch by Alexey Gladkov), ID3v1TagsEncoding - assumed encoding for ID3v1 tags. * Added UseCursorSelection option (default: no) to display cursor on the selected file. This is useful with braille displays. * Added SetXtermTitle option (disable/enable setting xterm title). * Added m4a and aac to the list of extensions supported by ffmpeg. * Pressing n when nothing is played starts playing from the first item on the playlist. * Added FollowPlayedFile option: menu follows the currently played file so that it is scrolled if the file is outside the visible part (default to yes). * Numbering items in the playlist. Can be turned off using PlaylistNumbering. * New themes: moca_theme (Nicola Vitale), red_theme (yyz), and darkdot_theme (David Lazar). * Added a command for adding a URL to the playlist using entry (CTRL-u). * A and --append can add files from playlists. * Interface show the playlist after startup if something from the playlist is played (CanStartInPlaylist option). * Commands: --append, --clear, --play work now as expected even if there is no client running. * Use full paths instead of just file names for displaying on the playlist. * Internet streams can be paused. * Ogg plugin name was changed to vorbis.
2006-02-12 19:35:55 +01:00
USE_TOOLS+= pkg-config
# We require ncurses because with curses arrow key navigation is buggy
2006-07-04 22:07:04 +02:00
CONFIGURE_ARGS+= --with-ncurses
2006-07-04 22:07:04 +02:00
SUBST_CLASSES+= oss
SUBST_STAGE.oss= pre-configure
SUBST_FILES.oss= config.example options.c
2006-07-04 22:07:04 +02:00
SUBST_SED.oss= -e s,/dev/dsp,${DEVOSSAUDIO},g
SUBST_MESSAGE.oss= Fixing hardcoded audio device.
.include "options.mk"
###
### This target is [currently] for regenerating configure to add the
### sched_get_priority_max check of librt.
###
#USE_TOOLS+= autoconf automake
#pre-configure:
# cd ${WRKSRC} && autoreconf -v -i
2012-01-11 20:06:24 +01:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
.endif
LIBS.SunOS+= -lsocket
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"