pkgsrc/audio/ncmpc/Makefile
nia e6f9a00b01 ncmpc: Update to 0.37
ncmpc 0.37 - (2020-01-24)
* show performer on song page
* show partitions on outputs page (requires libmpdclient 2.18)
* search: add search tag "modified" (requires libmpdclient 2.10)
* fix compatibility with MPD versions older than 0.21
* switch to C++17
2020-02-23 11:44:52 +00:00

49 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2020/02/23 11:44:52 nia Exp $
DISTNAME= ncmpc-0.37
CATEGORIES= audio
MASTER_SITES= https://musicpd.org/download/ncmpc/0/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://musicpd.org/clients/ncmpc/
COMMENT= Fully featured musicpd client using curses
LICENSE= gnu-gpl-v2
USE_TOOLS+= pkg-config xgettext
USE_LANGUAGES= c c++17
FAKE_NCURSES= yes
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
MESON_ARGS+= -Dlirc=disabled
MESON_ARGS+= -Dhtml_manual=false
# C++17
GCC_REQD+= 7
# make stderr readable
CXXFLAGS+= -Wno-undef
LDFLAGS+= ${BUILDLINK_LDADD.curses}
LDFLAGS.SunOS+= -lintl
LDFLAGS.NetBSD+= -lintl
PYTHON_FOR_BUILD_ONLY= tool
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"
.include "../../audio/libmpdclient/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"