pkgsrc/audio/ncmpc/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2019/11/09 11:22:20 nia Exp $
DISTNAME= ncmpc-0.36
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
CATEGORIES= audio
MASTER_SITES= https://musicpd.org/download/ncmpc/0/
EXTRACT_SUFX= .tar.xz
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://musicpd.org/clients/ncmpc/
COMMENT= Fully featured musicpd client using curses
LICENSE= gnu-gpl-v2
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
USE_TOOLS+= pkg-config xgettext
USE_LANGUAGES= c c++14
FAKE_NCURSES= yes
2019-10-21 23:19:35 +02:00
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
MESON_ARGS+= -Dlirc=disabled
MESON_ARGS+= -Dhtml_manual=false
# C++14
GCC_REQD+= 4.9
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
# make stderr readable
CXXFLAGS+= -Wno-undef
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
LDFLAGS+= ${BUILDLINK_LDADD.curses}
LDFLAGS.SunOS+= -lintl
LDFLAGS.NetBSD+= -lintl
2019-09-14 16:02:32 +02:00
PYTHON_FOR_BUILD_ONLY= tool
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
SUBST_CLASSES+= py
SUBST_STAGE.py= pre-configure
SUBST_MESSAGE.py= Set Python version variables.
SUBST_FILES.py+= doc/meson.build
SUBST_VARS.py+= PYVERSSUFFIX
.include "options.mk"
.include "../../devel/meson/build.mk"
Update to 0.18: ncmpc 0.18 - (09/22/2010) * screen_song: show song range * screen_artist: respect artist when adding albums * po: added Italian translation ncmpc 0.17 - (06/22/2010) * screen_queue: fix range selection check on "shuffle" * screen_browser: check for error before adding song to playlist * po: added Brazilian Portuguese translation ncmpc 0.16.1 - (01/17/2009) * screen_queue: always update the list size * screen_browser: fixed jump to playlist file ncmpc 0.16 - (12/25/2009) * using libmpdclient 2.0 instead of built-in libmpdclient * require MPD 0.12 * allow multiple queued database updates * reactivate incremental playlist changes * optimize "add+play song" with addid/playid * handle stderr messages from lyrics plugins * search: eliminate duplicate results * use the "idle" command to reduce CPU and network usage * disable the status bar clock by default * list_window: fix narrow cursor drawing * screen_play: repaint after the "select-playing" command * screen_text: start searching at window origin, not bottom * strfsong: support multiple values for a tag * screen_browser: different colors for directories and playlists * screen_browser: display song duration * screen_queue: move ranges with one single "move" command * status_bar: fix display_remaining_time while seeking * status_bar: display elapsed time event when total time is unknown * charset: added support for zero-width characters * colors: added support for 256 colors and text attributes * compatibility fixes for GLib 2.12
2011-02-27 16:10:38 +01:00
.include "../../audio/libmpdclient/buildlink3.mk"
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/python/tool.mk"
2019-10-21 23:19:35 +02:00
.include "../../lang/python/versioned_dependencies.mk"
ncmpc: Update to 0.34 ncmpc 0.34 - (2019-04-10) * show total duration of range selection in status bar * fix high CPU usage in key bindings check * fix high CPU usage during text input * fix background color "none" * adapt to Boost 1.70.0 API changes * fixed manual install dir ncmpc 0.33 - (2018-10-22) * artist page: rename to "library" * library page: make tag list configurable * fix color configuration parser bug * fix build failure when libpcre is not found * remove support for liblircclient (only liblirc) * build: require Meson 0.47 * build: use Meson option type `feature` * build: remove obsolete option `tcp` * build: add option to disable regular expression support ncmpc 0.32 - (2018-10-05) * fix crash bug on queue page * fix crash bug on lyrics page * fix off-by-one buffer overflow bug * fix manpage installation directory * fix build breakages with some ncurses builds * work around GCC 4.9 build failure * remove doxygen support * new dependency: Boost * remove dependency on GLib ncmpc 0.31 - (2018-09-19) * fix "No such song" in search screen * fix progressbar when colors are disabled * enable colors by default * allow configuring per-style background colors * keep current song in xterm title when MPD is paused * load configuration from $XDG_CONFIG_HOME/ncmpc/config * always show the screen list at the top * fix memory leak * require MPD 0.19 ncmpc 0.30 - (2018-04-04) * fix crash after pressing ^W in search screen * fix crash bug in chat screen * fix completion list * new color "progressbar-background" * switch the code base to C++14 * build manual with Sphinx ncmpc 0.29 - (2017-11-05) * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config ncmpc 0.28 - (2017-09-21) * fix crash on lyrics screen * fix memory leak * hide the MPD password from the queue screen title * implement password for asynchronous connect * build with Meson instead of autotools ncmpc 0.27 - (2017-03-25) * work around connect failure if /var/run/mpd/socket does not exist * remove the status bar clock (option "display-time") * fix assertion failure after connect failure * several Windows build fixes ncmpc 0.26 - (2017-03-20) * require libmpdclient 2.9 * adapt to lirc 0.9.4 * lyricswiki: update regex * screen_song: show "f" and "dsd" formats * connect asynchronously * fix flickering in color mode * fix gcc 7 warnings
2019-09-14 14:19:40 +02:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"