mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
- Add lyrics screen support
PR: ports/134936 Submitted by: Henrik Friedrichsen <hrkfdn@gmail.com> (maintainer)
This commit is contained in:
parent
1c13cbbe50
commit
e6cb85961d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234582
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ncmpc
|
||||
PORTVERSION= 0.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/musicpd
|
||||
|
||||
@ -15,10 +16,11 @@ COMMENT= Ncurses client for the musicpd
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= glib20
|
||||
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
OPTIONS= NLS "Native language support" on
|
||||
OPTIONS= NLS "Native language support" on \
|
||||
LYRICS "Compile with lyrics screen" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -40,6 +42,17 @@ PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
|
||||
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_LYRICS)
|
||||
CONFIGURE_ARGS+=--enable-lyrics-screen
|
||||
PLIST_FILES+= lib/ncmpc/lyrics/01-hd.sh \
|
||||
lib/ncmpc/lyrics/02-lyricwiki.rb \
|
||||
lib/ncmpc/lyrics/03-leoslyrics.py
|
||||
PLIST_DIRS+= lib/ncmpc/lyrics \
|
||||
lib/ncmpc
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-lyrics-screen
|
||||
.endif
|
||||
|
||||
MAN1= ncmpc.1
|
||||
|
||||
do-install:
|
||||
@ -55,5 +68,8 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
|
||||
.endfor
|
||||
.endif
|
||||
.if !defined(WITHOUT_LYRICS)
|
||||
${MAKE} -C ${WRKSRC} install-exec-local
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user