pkgsrc/audio/ncmpc/Makefile
nia 970e9cb7cb ncmpc: Update to 0.36
ncmpc 0.36 - (2019-11-05)
* screen_keydef: show "Add new key" only if there is room for more keys
* support the Alt modifier in hotkeys
* reduce network transfer
2019-11-09 11:22:20 +00:00

49 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2019/11/09 11:22:20 nia Exp $
DISTNAME= ncmpc-0.36
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++14
FAKE_NCURSES= yes
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
MESON_ARGS+= -Dlirc=disabled
MESON_ARGS+= -Dhtml_manual=false
# C++14
GCC_REQD+= 4.9
# 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"