ports/76252: [ new port ] audio/bmp-scrobbler: BMP plugin for Audioscrobbler.com, audio/xmms-scrobbler patch
Roman Bogorodskiy
bogorodskiy at inbox.ru
Fri Jan 14 18:20:29 UTC 2005
>Number: 76252
>Category: ports
>Synopsis: [ new port ] audio/bmp-scrobbler: BMP plugin for Audioscrobbler.com, audio/xmms-scrobbler patch
>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 Jan 14 18:20:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Sat Dec 11 21:01:26 MSK 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/MIRRORBOX i386
>Description:
Currently audio/xmms-scrobbler installs both xmms and bmp plugins and
even doesn't allow to choose one of them. So, this patch allows to
install bmp plugin via audio/bmp-scrobbler and xmms plugin via
audio/xmms-scrobbler.
While here, did some cosmetic changes on xmms-scrobbler: use PLIST_FILES.
Removed files: xmms-scrobbler/pkg-plist
ports/76062 is obsolete now
>How-To-Repeat:
>Fix:
--- bmp-scrobbler.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:
#
# bmp-scrobbler
# bmp-scrobbler/Makefile
# bmp-scrobbler/distinfo
# bmp-scrobbler/pkg-descr
#
echo c - bmp-scrobbler
mkdir -p bmp-scrobbler > /dev/null 2>&1
echo x - bmp-scrobbler/Makefile
sed 's/^X//' >bmp-scrobbler/Makefile << 'END-of-bmp-scrobbler/Makefile'
X# New ports collection makefile for: bmp-scrobbler
X# Date created: 01-14-2005
X# Whom: Roman Bogorodskiy <bogorodskiy at inbox.ru>
X#
X# $FreeBSD$
X
XPORTNAME= bmp-scrobbler
XPORTVERSION= 0.3.6
XCATEGORIES= audio
XMASTER_SITES= http://static.audioscrobbler.com/plugins/
XDISTNAME= xmms-scrobbler-${PORTVERSION}
X
XMAINTAINER= bogorodskiy at inbox.ru
XCOMMENT= BMP plugin for Audioscrobbler.com
X
XLIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
X beep.2:${PORTSDIR}/multimedia/beep-media-player \
X curl.3:${PORTSDIR}/ftp/curl
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= --disable-xmms-plugin
XUSE_BZIP2= yes
XUSE_GNOME= gtk20
XUSE_X_PREFIX= yes
XUSE_LIBTOOL_VER=15
XUSE_GMAKE= yes
XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
X
XPLIST_FILES= lib/bmp/General/libbmp_scrobbler.so
X
X.if defined(WITH_APE)
XCONFIGURE_ARGS+= --enable-prefer-ape
X.endif
X
X.include <bsd.port.mk>
END-of-bmp-scrobbler/Makefile
echo x - bmp-scrobbler/distinfo
sed 's/^X//' >bmp-scrobbler/distinfo << 'END-of-bmp-scrobbler/distinfo'
XMD5 (xmms-scrobbler-0.3.6.tar.bz2) = eb5b53815eb91f5294f76ca424369b7f
XSIZE (xmms-scrobbler-0.3.6.tar.bz2) = 338393
END-of-bmp-scrobbler/distinfo
echo x - bmp-scrobbler/pkg-descr
sed 's/^X//' >bmp-scrobbler/pkg-descr << 'END-of-bmp-scrobbler/pkg-descr'
XThis is a BMP Plugin which sends the Playlist data to
Xaudioscrobbler.com
X
XWWW: http://www.audioscrobbler.com
XAuthor: pipian at pipian.com
END-of-bmp-scrobbler/pkg-descr
exit
--- bmp-scrobbler.shar ends here ---
diff -ru xmms-scrobbler.orig/Makefile xmms-scrobbler/Makefile
--- xmms-scrobbler.orig/Makefile Mon Jan 10 19:02:05 2005
+++ xmms-scrobbler/Makefile Fri Jan 14 21:03:48 2005
@@ -6,23 +6,30 @@
PORTNAME= xmms-scrobbler
PORTVERSION= 0.3.6
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://static.audioscrobbler.com/plugins/
MAINTAINER= ports at FreeBSD.org
-COMMENT= XMMS and bmp plugin for Audioscrobbler.com
+COMMENT= XMMS plugin for Audioscrobbler.com
-LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
- beep.2:${PORTSDIR}/multimedia/beep-media-player \
- musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
+LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
+ xmms.4:${PORTSDIR}/multimedia/xmms \
curl.3:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
-USE_GNOME= gtk12 gtk20
+CONFIGURE_ARGS= --disable-bmp-plugin
USE_BZIP2= yes
+USE_GNOME= gtk12
USE_X_PREFIX= yes
USE_LIBTOOL_VER=15
USE_GMAKE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_FILES= lib/xmms/General/libxmms_scrobbler.so
+
+.if defined(WITH_APE)
+CONFIGURE_ARGS+= --enable-prefer-ape
+.endif
.include <bsd.port.mk>
diff -ru xmms-scrobbler.orig/pkg-descr xmms-scrobbler/pkg-descr
--- xmms-scrobbler.orig/pkg-descr Mon Jan 10 19:02:05 2005
+++ xmms-scrobbler/pkg-descr Fri Jan 14 21:04:02 2005
@@ -1,4 +1,4 @@
-This is an XMMS and BMP Plugin which sends the Playlist data to
+This is an XMMS Plugin which sends the Playlist data to
audioscrobbler.com
WWW: http://www.audioscrobbler.com
Only in xmms-scrobbler.orig/: pkg-plist
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list