Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 19:21:31 GMT
From:      Dennis Herrmann <adox@mcx2.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126865: New Port <audio/ncmpcpp>
Message-ID:  <200808261921.m7QJLVQh024041@www.freebsd.org>
Resent-Message-ID: <200808261930.m7QJU7JV086737@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126865
>Category:       ports
>Synopsis:       New Port <audio/ncmpcpp>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 19:30:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Herrmann
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD contempt 7.0-STABLE FreeBSD 7.0-STABLE #1: Sun Aug 24 16:57:50 CEST 2008     root@:/usr/obj/usr/src/sys/CONTEMPT  i386
>Description:
Ncmpcpp is almost exact clone of ncmpc but it contains some new features ncmpc doesn't have. It's been also rewritten from scratch in C++. Lack of some function (eg. tag editor, no possibility of going to chosen position in playing song without fastforwarding/rewinding) eventually pushed me to rewrite it as ncmpc++ and include these functions in it.

* tag editor
* easy to use search screen
* media library screen
* lyrics screen
* possibility of going to any position in currently playing track without rewinding/fastforwarding
* multi colored main window (if you want)
* songs can be added to playlist more than once
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ncmpcpp
#	ncmpcpp/pkg-descr
#	ncmpcpp/distinfo
#	ncmpcpp/Makefile
#	ncmpcpp/pkg-message
#
echo c - ncmpcpp
mkdir -p ncmpcpp > /dev/null 2>&1
echo x - ncmpcpp/pkg-descr
sed 's/^X//' >ncmpcpp/pkg-descr << '15e46e720c55841f1c5cba537071e0c3'
XNcmpcpp is almost exact clone of ncmpc but it contains some
Xnew features ncmpc doesn't have. It's been also rewritten
Xfrom scratch in C++.
X
XWWW:	http://unkart.ovh.org/ncmpcpp/
15e46e720c55841f1c5cba537071e0c3
echo x - ncmpcpp/distinfo
sed 's/^X//' >ncmpcpp/distinfo << 'fa73fa0fce1809d908a8965edcccb740'
XMD5 (ncmpcpp-0.2.tar.bz2) = d2f67e5c2dccc0fcaac13b67a5011ed9
XSHA256 (ncmpcpp-0.2.tar.bz2) = 77aa8bb89ea72e98d90e010f7c3075fd1b3660dd40706c69597463182990b19c
XSIZE (ncmpcpp-0.2.tar.bz2) = 283557
fa73fa0fce1809d908a8965edcccb740
echo x - ncmpcpp/Makefile
sed 's/^X//' >ncmpcpp/Makefile << '38bef7164930e71ea683e99dab476f85'
X# New ports collection makefile for:	ncmpcpp
X# Date created:		August 25 2008
X# Whom:			Dennis Herrmann <adox@mcx2.org>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	ncmpcpp
XPORTVERSION=	0.2
XCATEGORIES=	audio
XMASTER_SITES=	http://unkart.ovh.org/ncmpcpp/ \
X		http://mirror.mcx2.org/
X
XMAINTAINER=	adox@mcx2.org
XCOMMENT=	A ncurses mpd client, clone of ncmpc with some new features
X
XLIB_DEPENDS+=  ncursesw.5:${PORTSDIR}/devel/ncurses
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_ICONV=	yes
XCONFIGURE_ARGS=	--disable-unicode
X
XOPTIONS=	CURL "Enable fetching lyrics from the Internet" on \
X		TAGLIB "Enable taglib support" off
X
X.include <bsd.port.pre.mk>
X
XPLIST_FILES=	bin/ncmpcpp \
X				%%EXAMPLESDIR%%/ncmpcpprc.sample
XPLIST_DIRS=	%%EXAMPLESDIR%%
X
X.if !defined(WITHOUT_CURL)
XLIB_DEPENDS+=	curl.4:${PORTSDIR}/ftp/curl
XCONFIGURE_ARGS+=	--with-curl
X.else
XCONFIGURE_ARGS+=	--with-curl=no
X.endif
X
X.if !defined(WITHOUT_TAGLIB)
XLIB_DEPENDS+=	tag:${PORTSDIR}/audio/taglib
XCONFIGURE_ARGS+=	--with-taglib
X.else
XCONFIGURE_ARGS+=	--with-taglib=no
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/ncmpcpprc ${EXAMPLESDIR}/ncmpcpprc.sample
X
X	@${ECHO_MSG} ""
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_MSG} ""
X
X.include <bsd.port.post.mk>
38bef7164930e71ea683e99dab476f85
echo x - ncmpcpp/pkg-message
sed 's/^X//' >ncmpcpp/pkg-message << '9be36512831cb62c8f8bdabaa79588ff'
X###########################################################################
Xncmpcpp has been installed.
X
XA default ncmpcpprc config has been installed to:
XPREFIX/share/examples/ncmpcpprc.sample
X
XFor more information about ncmpcpp visit:
Xhttp://unkart.ovh.org/ncmpcpp
X###########################################################################
9be36512831cb62c8f8bdabaa79588ff
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808261921.m7QJLVQh024041>