ports/161539: New port: audio/gmusicbrowser - Jukebox for large amount of music files

Zhihao Yuan lichray at gmail.com
Thu Oct 13 09:30:16 UTC 2011


>Number:         161539
>Category:       ports
>Synopsis:       New port: audio/gmusicbrowser - Jukebox for large amount of music files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 13 09:30:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD elitebook.hp 8.2-STABLE FreeBSD 8.2-STABLE #2 r226329: Wed Oct 12 18:45:27 CDT 2011 lichray at elitebook.hp:/usr/obj/home/lichray/devel/freebsd-8/sys/HOUKAGO amd64


	
>Description:
	
	gmusicbrowser is an open-source jukebox for large collections of mp3/ogg/flac/mpc/ape files, written in perl.
	http://gmusicbrowser.org/

	Among the optional dependences,
	1. mpg123/ogg123 need to work with alsa; a patch which uses OSS is desired.
	2. Gtk2-TrayIcon is deprecated and unneeded.
	3. Gtk2-Notify is not available on FreeBSD yet. I may try to port it someday.

	Note that you may find that the "file" dialog hangs the software. This is caused by p5-Gtk2, which should require the Perl be built with threads.

>How-To-Repeat:
	
>Fix:

	
	No build is required and the distributed Makefile is not used. I install everything accordingly with the INSTALL_* macros.
	

--- gmusicbrowser.shar begins here ---
# 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:
#
#	gmusicbrowser
#	gmusicbrowser/pkg-descr
#	gmusicbrowser/distinfo
#	gmusicbrowser/Makefile
#	gmusicbrowser/pkg-plist
#
echo c - gmusicbrowser
mkdir -p gmusicbrowser > /dev/null 2>&1
echo x - gmusicbrowser/pkg-descr
sed 's/^X//' >gmusicbrowser/pkg-descr << 'e9c33e8d296cfac8a993d2403b90e5be'
XJukebox for large collections of mp3/ogg/flac/mpc files
XUses gstreamer, mpg123/ogg123  or mplayer for playback
X
XMain features :
X- customizable window layouts
X- artist/album lock : easily restrict playlist to current artist/album
X- easy access to related songs (same artist/album/title)
X- simple mass-tagging and mass-renaming
X- support multiple genres for each song
X- customizable labels can be set for each song
X- filters with unlimited nesting of conditions
X- customizable weighted random mode
X
XWWW:	http://gmusicbrowser.org/
e9c33e8d296cfac8a993d2403b90e5be
echo x - gmusicbrowser/distinfo
sed 's/^X//' >gmusicbrowser/distinfo << '79a6bb77852f0e30675758dc0f68419c'
XSHA256 (gmusicbrowser-1.1.8.tar.gz) = 94e3e7ff23b853d9b6a03b3b1a48cb378bb4cc251c3861fe82e2e0bc3ae27689
XSIZE (gmusicbrowser-1.1.8.tar.gz) = 1507101
79a6bb77852f0e30675758dc0f68419c
echo x - gmusicbrowser/Makefile
sed 's/^X//' >gmusicbrowser/Makefile << 'c9251ddd158ac60a5b70c1f0a956c5a6'
X# New ports collection makefile for:	gmusicbrowser
X# Date created:		2011-10-13
X# Whom:			Zhihao Yuan <lichray at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gmusicbrowser
XPORTVERSION=	1.1.8
XCATEGORIES=	audio
XMASTER_SITES=	http://gmusicbrowser.org/download/
X
XMAINTAINER=	lichray at gmail.com
XCOMMENT=	Jukebox for large collections of mp3/ogg/flac/mpc files
X
XRUN_DEPENDS=	p5-Gtk2>=1.0:${PORTSDIR}/x11-toolkits/p5-Gtk2
X
XMAN1=	gmusicbrowser.1
XPORTDOCS=	AUTHORS COPYING README NEWS INSTALL layout_doc.html
XPORTDATA=	*
X
XOPTIONS=	GST	"Enable GStreamer backend"	Off \
X		MPLAYER	"Enable mplayer backend"	On \
X		DBUS	"Enable DBus (Gnome multimedia key)" Off \
X		WEBKIT	"Enable embedded web browser" Off \
X		NLS	"Enable Native Language Support" On
X#		123	"Enable mpg123/ogg123 backend"	Off  # alsa-only
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_GST)
XRUN_DEPENDS+=	p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer
X.endif
X
X.if defined(WITH_MPLAYER)
XRUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
X.endif
X
X.if defined(WITH_DBUS)
XRUN_DEPENDS+=	p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus
X.endif
X
X.if defined(WITH_WEBKIT)
XRUN_DEPENDS+=	p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit
X.endif
X
X.if defined(NOPORTDATA)
XIGNORE=		port data contain code, undefine NOPORTDATA
X.endif
X
Xdo-build:
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MANPREFIX}/man/man1/${MAN1}
X	@${MKDIR} ${DESKTOPDIR}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
X	@${MKDIR} ${DATADIR}
X	(cd ${WRKSRC} && (for d in layouts pix plugins; do \
X		${COPYTREE_SHARE} $$d ${DATADIR}; done) && \
X		${INSTALL_DATA} *.pm ${DATADIR} && \
X		${INSTALL_SCRIPT} iceserver.pl ${DATADIR})
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
X.endif
X.if !defined(WITHOUT_NLS)
X	(cd ${WRKSRC}/locale && \
X		${COPYTREE_SHARE} \* ${PREFIX}/share/locale)
X	(cd ${WRKSRC} && \
X		${FIND} locale -type f | ${SED} "s|^|share/|g" >> ${TMPPLIST})
X.endif
X
X.include <bsd.port.post.mk>
c9251ddd158ac60a5b70c1f0a956c5a6
echo x - gmusicbrowser/pkg-plist
sed 's/^X//' >gmusicbrowser/pkg-plist << '1af92b48f02956ffb4f888431fa84361'
Xbin/gmusicbrowser
Xshare/applications/gmusicbrowser.desktop
X at dirrmtry share/applications
1af92b48f02956ffb4f888431fa84361
exit
--- gmusicbrowser.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list