ports/176735: [PATCH] audio/amarok-kde4: enable last.fm scrobbling

Rainer Hurling rhurlin at gwdg.de
Thu Mar 7 19:50:01 UTC 2013


>Number:         176735
>Category:       ports
>Synopsis:       [PATCH] audio/amarok-kde4: enable last.fm scrobbling
>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:   Thu Mar 07 19:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        10.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD xxx.xxx.xxx 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247167: Sat Feb 23 08:04:25 CET 2013     xxx at xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX  amd64
>Description:
Since the update of audio/amarok-kde4 to version 2.7.0 amarok is not able to use the scrobbler of last.fm any more. If audio/liblastfm is found, than amarok uses its services for scrobbling.

>How-To-Repeat:
Try to find and activate scrobbling in amarok is not possible without the patch.
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-02-04 18:26:56.000000000 +0100
+++ Makefile	2013-03-07 20:21:03.000000000 +0100
@@ -36,11 +36,12 @@
 MAKE_JOBS_SAFE=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	AMAZON IPOD MP3TUNES MTP
-OPTIONS_DEFAULT=IPOD MP3TUNES MTP
+OPTIONS_DEFINE=	AMAZON IPOD LASTFM MP3TUNES MTP
+OPTIONS_DEFAULT=IPOD LASTFM MP3TUNES MTP
 
 AMAZON_DESC=	Amazon MP3 store support via clamz
 IPOD_DESC=	Apple iPod support
+LASTFM_DESC=	Last.fm audioscrobbler support
 MP3TUNES_DESC=	MP3tunes support
 
 .include <bsd.port.options.mk>
@@ -62,6 +63,10 @@
 PLIST_SUB+=	IPOD="@comment "
 .endif
 
+.if ${PORT_OPTIONS:MLASTFM}
+RUN_DEPENDS+=	liblastfm.so.1:${PORTSDIR}/audio/liblastfm
+.endif
+
 .if ${PORT_OPTIONS:MMP3TUNES}
 LIB_DEPENDS+=	loudmouth-1:${PORTSDIR}/net-im/loudmouth \
 		curl:${PORTSDIR}/ftp/curl


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


More information about the freebsd-ports-bugs mailing list