ports/83484: new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist

Emanuel Haupt ehaupt at critical.ch
Fri Jul 15 01:00:30 UTC 2005


>Number:         83484
>Category:       ports
>Synopsis:       new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist
>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:   Fri Jul 15 01:00:29 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Wed Jul  6 20:05:27 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist

Adds extra control to the XMMS playlist and automatically skips songs you don't
like and play the ones you do like.

  * High rated songs will be played privileged
  * Manual manipulation of the assessment of single songs
  * Ignore single songs
  * Configurable


>How-To-Repeat:
	
>Fix:

	



--- xmms-rateplug.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:
#
#	xmms-rateplug
#	xmms-rateplug/Makefile
#	xmms-rateplug/pkg-descr
#	xmms-rateplug/distinfo
#	xmms-rateplug/files
#	xmms-rateplug/files/install-user
#	xmms-rateplug/pkg-message
#
echo c - xmms-rateplug
mkdir -p xmms-rateplug > /dev/null 2>&1
echo x - xmms-rateplug/Makefile
sed 's/^X//' >xmms-rateplug/Makefile << 'END-of-xmms-rateplug/Makefile'
X# New ports collection makefile for:	xmms-rateplug
X# Date created:				15 Jul 2005
X# Whom:					Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmms-rateplug
XDISTVERSION=	0.4.2-3
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	xmmsassesment
X
XMAINTAINER=	ehaupt at critical.ch
XCOMMENT=	Add song rating control to the XMMS playlist
X
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gtk12
X
XCXXFLAGS+=	-w -shared `xmms-config --cflags` `gtk-config --cflags` \
X		`gtk-config --libs`
XPLUGIN=		rateplug
X
XPLIST_FILES=	lib/xmms/General/rateplug.so
X
Xdo-build:
X	${CXX} ${CXXFLAGS} ${WRKSRC}/${PLUGIN}.c++ -o ${WRKSRC}/${PLUGIN}.so
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN}.so ${PREFIX}/lib/xmms/General
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
Xinstall-user:
X	${SH} ${FILESDIR}/install-user
X
X.include <bsd.port.mk>
END-of-xmms-rateplug/Makefile
echo x - xmms-rateplug/pkg-descr
sed 's/^X//' >xmms-rateplug/pkg-descr << 'END-of-xmms-rateplug/pkg-descr'
XAdds extra control to the XMMS playlist and automatically skips songs you don't
Xlike and play the ones you do like.
X
X  * High rated songs will be played privileged
X  * Manual manipulation of the assessment of single songs
X  * Ignore single songs
X  * Configurable
X
XWWW: http://xmmsassesment.sourceforge.net/
X
X- ehaupt
Xehaupt at critical.ch
END-of-xmms-rateplug/pkg-descr
echo x - xmms-rateplug/distinfo
sed 's/^X//' >xmms-rateplug/distinfo << 'END-of-xmms-rateplug/distinfo'
XMD5 (xmms-rateplug-0.4.2-3.tar.gz) = a29ddbf2b16632ce5c26228c8ee3a76c
XSIZE (xmms-rateplug-0.4.2-3.tar.gz) = 20041
END-of-xmms-rateplug/distinfo
echo c - xmms-rateplug/files
mkdir -p xmms-rateplug/files > /dev/null 2>&1
echo x - xmms-rateplug/files/install-user
sed 's/^X//' >xmms-rateplug/files/install-user << 'END-of-xmms-rateplug/files/install-user'
X#!/bin/sh
X#
X# Emanuel Haupt <ehaupt at critical.ch>
X#
X# This script creates the users configfile that needs to
X# exist in order to use this plugin
X#
X# $FreeBSD$
X
X
Xif [ ! -d ~/.xmms ]; then
X	echo "===>  Creating xmms directory"
X	mkdir ~/.xmms
Xfi
X
Xif [ -f ~/.xmms/database.txt ]; then
X	echo "===>  Database already exists"
Xelse
X	echo "===>  Initializing database"
X	touch ~/.xmms/database.txt
X	echo "===>  Database initialized"
Xfi
END-of-xmms-rateplug/files/install-user
echo x - xmms-rateplug/pkg-message
sed 's/^X//' >xmms-rateplug/pkg-message << 'END-of-xmms-rateplug/pkg-message'
X===============================================================================
XYou can run "make install-user" in this directory as user to initialize the
Xrating database. 
X===============================================================================
END-of-xmms-rateplug/pkg-message
exit
--- xmms-rateplug.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list