Remove curses patch, not needed any more, and move to https. From Klemens Nanni. Upstream NEWS entries: * fix crash after losing MPD connection * fix crash after DNS lookup error * add Meson option "lyrics_plugin_dir" * fallback libncurses detection without pkg-config
46 lines
995 B
Makefile
46 lines
995 B
Makefile
# $OpenBSD: Makefile,v 1.37 2017/11/24 13:31:39 jca Exp $
|
|
|
|
COMMENT= curses based frontend for mpd
|
|
|
|
VER= 0.29
|
|
DISTNAME= ncmpc-${VER}
|
|
EPOCH= 0
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= https://www.musicpd.org/clients/ncmpc/
|
|
|
|
MAINTAINER= David Coppa <dcoppa@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c glib-2.0 intl mpdclient>=1 ncursesw
|
|
|
|
MASTER_SITES= https://www.musicpd.org/download/ncmpc/${VER:R}/
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MODULES= devel/meson
|
|
|
|
BUILD_DEPENDS= devel/gettext-tools
|
|
|
|
LIB_DEPENDS= devel/gettext \
|
|
devel/glib2 \
|
|
audio/libmpdclient>=2.4
|
|
|
|
CONFIGURE_ARGS= -Dlirc=false \
|
|
-Dlocale=true \
|
|
-Dmouse=true
|
|
CONFIGURE_ENV= CPP=${CPP} \
|
|
CPPFLAGS="-D_GNU_SOURCE \
|
|
-D_DEFAULT_SOURCE \
|
|
-I${LOCALBASE}/include" \
|
|
LDFLAGS="-lncursesw -L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ncmpc
|
|
mv ${PREFIX}/share/doc/ncmpc/{config.sample,keys.sample,ncmpc.lirc} \
|
|
${PREFIX}/share/examples/ncmpc/
|
|
|
|
.include <bsd.port.mk>
|