ports/144251: New port: audio/clementine

okeeblow root at cooltrainer.org
Wed Feb 24 01:00:12 UTC 2010


>Number:         144251
>Category:       ports
>Synopsis:       New port: audio/clementine
>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:   Wed Feb 24 01:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     okeeblow
>Release:        
>Organization:
>Environment:
>Description:
Clementine is a modern music player and library organiser. Clementine
is a port of Amarok 1.4, with some features rewritten to take advantage
of Qt4.

WWW: http://code.google.com/p/clementine-player/

>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:
#
#	clementine
#	clementine/pkg-plist
#	clementine/pkg-descr
#	clementine/distinfo
#	clementine/Makefile
#
echo c - clementine
mkdir -p clementine > /dev/null 2>&1
echo x - clementine/pkg-plist
sed 's/^X//' >clementine/pkg-plist << '02065eb0a81ee22b88c9c4c8f61bf37e'
Xbin/clementine
Xshare/icons/hicolor/16x16/apps/clementine.png
Xshare/icons/hicolor/32x32/apps/clementine.png
Xshare/icons/hicolor/64x64/apps/clementine.png
Xshare/applications/clementine.desktop
X at dirrmtry share/applications
X at dirrmtry share/icons/hicolor/64x64/apps
X at dirrmtry share/icons/hicolor/64x64
X at dirrmtry share/icons/hicolor/32x32/apps
X at dirrmtry share/icons/hicolor/32x32
X at dirrmtry share/icons/hicolor/16x16/apps
X at dirrmtry share/icons/hicolor/16x16
X at dirrmtry share/icons/hicolor
X at dirrmtry share/icons
X at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
02065eb0a81ee22b88c9c4c8f61bf37e
echo x - clementine/pkg-descr
sed 's/^X//' >clementine/pkg-descr << '96173cbfe96ab988363cb4f04fe337d4'
XClementine is a modern music player and library organiser. Clementine
Xis a port of Amarok 1.4, with some features rewritten to take advantage
Xof Qt4.
X
XWWW: http://code.google.com/p/clementine-player/
96173cbfe96ab988363cb4f04fe337d4
echo x - clementine/distinfo
sed 's/^X//' >clementine/distinfo << '2fa6dcb6a79e15338783574d5f0a9782'
XMD5 (clementine-0.1.tar.gz) = 769ac869fd9d8e10ecd15709e0137549
XSHA256 (clementine-0.1.tar.gz) = e9c55cb9207a5a1dc1a6a213dcee35533a6036f0ace508a94bb4c47d688c0c18
XSIZE (clementine-0.1.tar.gz) = 1789518
2fa6dcb6a79e15338783574d5f0a9782
echo x - clementine/Makefile
sed 's/^X//' >clementine/Makefile << '7995955fedbf0712091f50f7899f2191'
X# New ports collection makefile for:   clementine
X# Date created:        2010-02-22
X# Whom:                okeeblow <root at cooltrainer.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	clementine
XPORTVERSION=	0.1
XCATEGORIES=	audio
XMASTER_SITES=	http://clementine-player.googlecode.com/files/
X
XMAINTAINER=	root at cooltrainer.org
XCOMMENT=	A cross-platform music player based on Amarok 1.4
X
XLIB_DEPENDS=	boost_system.4:${PORTSDIR}/devel/boost-libs \
X		fftw3.5:${PORTSDIR}/math/fftw3 \
X		tag.1:${PORTSDIR}/audio/taglib \
X		xine.1:${PORTSDIR}/multimedia/xine \
X		samplerate.1:${PORTSDIR}/audio/libsamplerate \
X		lastfm.0:${PORTSDIR}/audio/liblastfm
X
XRUN_DEPENDS+=	xdg-desktop-menu:${PORTSDIR}/devel/xdg-utils
X
XINSTALLS_ICONS=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	gui moc_build qmake_build imageformats sql xml opengl network
XHAS_CONFIGURE=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|install_prefix = /usr|install_prefix = ${PREFIX}|g;' ${WRKSRC}/src/src.pro
X	@${REINPLACE_CMD} -e 's|Icon=application-x-clementine|Icon=clementine|g;' ${WRKSRC}/dist/clementine.desktop
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X	@${MKDIR} ${PREFIX}/share
X	@${MKDIR} ${WRKSRC}/dist/icons
X	@${MKDIR} ${WRKSRC}/dist/icons/hicolor
X.for i in 16 32 64
X	@${MKDIR} ${WRKSRC}/dist/icons/hicolor/${i}x${i}
X	@${MKDIR} ${WRKSRC}/dist/icons/hicolor/${i}x${i}/apps
X	@${CP} ${WRKSRC}/dist/${PORTNAME}_${i}.png ${WRKSRC}/dist/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png
X.endfor
X	@${MKDIR} ${PREFIX}/share/applications
X	(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} icons ${PREFIX}/share)
X	${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.desktop ${PREFIX}/share/applications
X
Xpost-install:
X	- at update-desktop-database
X
Xdo-configure:
X	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -unix PREFIX=${PREFIX} clementine.pro
X
X.include <bsd.port.mk>
7995955fedbf0712091f50f7899f2191
exit



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



More information about the freebsd-ports-bugs mailing list