pkgsrc/audio/cmus/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2010/05/18 21:11:47 gls Exp $
#
DISTNAME= cmus-v2.3.2
PKGNAME= ${DISTNAME:S/-v/-/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmus/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ahoka@NetBSD.org
Update cmus to 2.2.0. Based on patch provided by Adam Hoka in PR 37856. This release adds replaygain support (with help from Johannes Weißl). To enable replaygain do ":set replaygain=true". New commands: prev-view - switch to the previously used view tqueue - add random tracks to the play-queue lqueue - add random albums to the play-queue New plugins: ffmpeg - .wma files, could extend to support more wavpack - .wv files waveout - output plugin for Windows There's also Cygwin support, many bug fixes, a new theme (green.theme) and status scripts for Gaim and Pidgin in the contrib directory. Changes ------- Aaron Lehmann (2): Date sorting Filter: handle yyyy-mm-dd dates Andrew Fuller (1): browse: Keep ".." sorted on top David Thiel (1): Status script for pidgin Frank Terbeck (2): mail address update added :prev-view command. Johannes Weißl (5): mpc: Tag reading fixes mpc: Tag reading fixes (part 2) Convert "album artist" tag to albumartist (hydrogenaudio suggestion) Support artistsort and albumartistsort tags Added wavpack plugin, added ape-support for mp3s. Joshua Kwan (1): Status script for Gaim Kevin Ko (3): ffmpeg plugin Fix seeking with recent version of ffmpeg ffmpeg: Fix deprecated warning and remove audio/x-ms-wma MIME type Rob Wilson (1): Another green theme Sven Wegener (1): Set window hardstatus instead of window alias Thomas Nordlander (1): Display selected line in the settings view as active Timo Hirvonen (66): Close unused fds after fork() Simplify tab completion code by removing nr_tails variable Simplify tab completion code Fix typo in cmus.1 Sort playlist file for library views in same order as view 2 Remove simple_track_cmp() Add albumartist to valid sort keys Use albumartist tag instead of <Compilations> when possible Convert album_artist tag to albumartist aac/mp4: Fix incompatible type warnings Improve searching URLs Indent ffmpeg.c Collect REPLAYGAIN_* tags ID3: Parse replay gain tags Pass struct track_info to player functions instead of filename Remove cur_track_info hack cmus_play_file: Treat URLs specially AAC: Detect corrupted stream Replaygain support Make replaygain limiting optional Add helper functions for allocating struct keyval arrays mpc: Get replaygain info mad: Simplify tag reading somewhat Simplify tag reading code in plugins Don't add duplicate tags flac: Fix metadata reading wavpack: Fix "FALSE undeclared" error Link ape.o to cmus instead wavpack, mpc and mad plugins Rename struct APE to struct apetag and make it public wavpack: Pass correct sample count to format_samples() wavpack: Get file size only once, use ip_data->remote to see if we can seek ID3: Rename struct ID3 to struct id3tag and make it public Link id3.o and utf8_encode.o to cmus instead of aac, mad and wavpack plugins Make sorting by albumartist fall back to artist Some documentation for settings view Rename shuffle_list_add_track() to list_add_rand() Add tqueue command Add lqueue command lqueue/tqueue: Lock editable configure: Add exampledir variable audio/x-mpegurl is playlist, not mpeg stream Always write MIME type to the debug file Write error messages to the debug file Make error_msg() display errors at init time Use error_msg() instead of warn() and warn_errno() ALSA: Override default error handler Always display errors Lower minimum error display time to two seconds Start playing on :seek if stopped seek: Ceil position to duration - 5s Document lqueue, tqueue and prev-view commands Don't allow saving if tracks are being added Remove useless function quit() Confirm quit if loading playlist Build system: Remove .NOTPARALLEL Fix libmikmod 3.1.10 check Fix some includes mad: Move some code to a separate function mad: More code reorganization mad: Move XING debug code mad: Remove nomad.header mad: Avoid calling mad_timer_add() twice mad: Fix duration calculation Add warnings about insecurity of using TCP/IP Document Replay Gain 2.2.0 dnk000@gmail.com (5): Cygwin support Waveout plugin Waveout fixes waveout: Fix buffer space calculation aac/mp4: Use faad 2.0 instead of 2.5 due to license issues
2008-05-10 16:56:33 +02:00
HOMEPAGE= http://cmus.sourceforge.net/
2010-03-01 03:58:26 +01:00
COMMENT= cmus is a small, fast and powerful text mode music player
CONFLICTS+= cmus-unofficial-[0-9]*
Update cmus to 2.2.0. Based on patch provided by Adam Hoka in PR 37856. This release adds replaygain support (with help from Johannes Weißl). To enable replaygain do ":set replaygain=true". New commands: prev-view - switch to the previously used view tqueue - add random tracks to the play-queue lqueue - add random albums to the play-queue New plugins: ffmpeg - .wma files, could extend to support more wavpack - .wv files waveout - output plugin for Windows There's also Cygwin support, many bug fixes, a new theme (green.theme) and status scripts for Gaim and Pidgin in the contrib directory. Changes ------- Aaron Lehmann (2): Date sorting Filter: handle yyyy-mm-dd dates Andrew Fuller (1): browse: Keep ".." sorted on top David Thiel (1): Status script for pidgin Frank Terbeck (2): mail address update added :prev-view command. Johannes Weißl (5): mpc: Tag reading fixes mpc: Tag reading fixes (part 2) Convert "album artist" tag to albumartist (hydrogenaudio suggestion) Support artistsort and albumartistsort tags Added wavpack plugin, added ape-support for mp3s. Joshua Kwan (1): Status script for Gaim Kevin Ko (3): ffmpeg plugin Fix seeking with recent version of ffmpeg ffmpeg: Fix deprecated warning and remove audio/x-ms-wma MIME type Rob Wilson (1): Another green theme Sven Wegener (1): Set window hardstatus instead of window alias Thomas Nordlander (1): Display selected line in the settings view as active Timo Hirvonen (66): Close unused fds after fork() Simplify tab completion code by removing nr_tails variable Simplify tab completion code Fix typo in cmus.1 Sort playlist file for library views in same order as view 2 Remove simple_track_cmp() Add albumartist to valid sort keys Use albumartist tag instead of <Compilations> when possible Convert album_artist tag to albumartist aac/mp4: Fix incompatible type warnings Improve searching URLs Indent ffmpeg.c Collect REPLAYGAIN_* tags ID3: Parse replay gain tags Pass struct track_info to player functions instead of filename Remove cur_track_info hack cmus_play_file: Treat URLs specially AAC: Detect corrupted stream Replaygain support Make replaygain limiting optional Add helper functions for allocating struct keyval arrays mpc: Get replaygain info mad: Simplify tag reading somewhat Simplify tag reading code in plugins Don't add duplicate tags flac: Fix metadata reading wavpack: Fix "FALSE undeclared" error Link ape.o to cmus instead wavpack, mpc and mad plugins Rename struct APE to struct apetag and make it public wavpack: Pass correct sample count to format_samples() wavpack: Get file size only once, use ip_data->remote to see if we can seek ID3: Rename struct ID3 to struct id3tag and make it public Link id3.o and utf8_encode.o to cmus instead of aac, mad and wavpack plugins Make sorting by albumartist fall back to artist Some documentation for settings view Rename shuffle_list_add_track() to list_add_rand() Add tqueue command Add lqueue command lqueue/tqueue: Lock editable configure: Add exampledir variable audio/x-mpegurl is playlist, not mpeg stream Always write MIME type to the debug file Write error messages to the debug file Make error_msg() display errors at init time Use error_msg() instead of warn() and warn_errno() ALSA: Override default error handler Always display errors Lower minimum error display time to two seconds Start playing on :seek if stopped seek: Ceil position to duration - 5s Document lqueue, tqueue and prev-view commands Don't allow saving if tracks are being added Remove useless function quit() Confirm quit if loading playlist Build system: Remove .NOTPARALLEL Fix libmikmod 3.1.10 check Fix some includes mad: Move some code to a separate function mad: More code reorganization mad: Move XING debug code mad: Remove nomad.header mad: Avoid calling mad_timer_add() twice mad: Fix duration calculation Add warnings about insecurity of using TCP/IP Document Replay Gain 2.2.0 dnk000@gmail.com (5): Cygwin support Waveout plugin Waveout fixes waveout: Fix buffer space calculation aac/mp4: Use faad 2.0 instead of 2.5 due to license issues
2008-05-10 16:56:33 +02:00
2010-03-01 03:58:26 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
HAS_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= prefix=${PREFIX}
CONFIGURE_ARGS+= CONFIG_ALSA=n
CONFIGURE_ARGS+= mandir=${PREFIX}/${PKGMANDIR}/
PLIST_VARS+= sunaudio oss
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
PLIST.oss= yes
CONFIGURE_ARGS+= CONFIG_OSS=y
.else
CONFIGURE_ARGS+= CONFIG_OSS=n
.endif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || exists(/usr/include/sys/audioio.h)
CONFIGURE_ARGS+= CONFIG_SUN=y
PLIST.sunaudio= yes
.else
CONFIGURE_ARGS+= CONFIG_SUN=n
.endif
.include "options.mk"
2010-03-01 03:58:26 +01:00
.include "../../mk/dlopen.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"