Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Mar 2012 16:14:10 -0800 (PST)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165760: [PATCH] audio/juk: Remove audio/libmusicbrainz dependency
Message-ID:  <4f5556d2.731c340a.1d71.ffffa302@mx.google.com>
Resent-Message-ID: <201203060020.q260KBCb018204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165760
>Category:       ports
>Synopsis:       [PATCH] audio/juk: Remove audio/libmusicbrainz dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 00:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 9.0-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386


	
>Description:
- Remove libmusicbrainz/libtunepimp support from audio/kid3  
- audio/libmusicbrainz is deprecated as the MusicBrainz RDF webservice is no
  longer functional
	
>How-To-Repeat:
- Use attached diff
	
>Fix:

	

--- 2012-03-05-juk.diff begins here ---
diff -ruN juk.orig/Makefile juk/Makefile
--- juk.orig/Makefile	2012-03-05 16:51:09.000000000 -0500
+++ juk/Makefile	2012-03-05 18:04:20.000000000 -0500
@@ -7,7 +7,7 @@
 
 PORTNAME=	juk
 PORTVERSION=	${KDE_VERSION}
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	audio kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
@@ -19,9 +19,7 @@
 COMMENT=	KDE audio player
 
 LIB_DEPENDS=	akode:${PORTSDIR}/audio/akode \
-		musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
-		tag:${PORTSDIR}/audio/taglib \
-		tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old
+		tag:${PORTSDIR}/audio/taglib
 
 CONFLICTS=	kdemultimedia-3.3*
 
@@ -35,8 +33,7 @@
 USE_GMAKE=	yes
 WRKSRC=		${WRKDIR}/kdemultimedia-${PORTVERSION}
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \
-		LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4
+CONFIGURE_ARGS=	--without-musicbrainz
 
 WANT_GSTREAMER=	yes
 
@@ -58,13 +55,6 @@
 	@${ECHO_MSG}
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|LIBS="-ltunepimp  $$LIBS"|LIBS="-ltunepimp -liconv $$LIBS"|g' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|-ltunepimp|-ltunepimp-0.4|g' \
-			-e 's|<tunepimp/tp_c.h>|<tunepimp-0.4/tunepimp/tp_c.h>|g' \
-		${WRKSRC}/configure ${WRKSRC}/juk/ktrm.cpp ${WRKSRC}/juk/Makefile.in
-
 do-build:
 	cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}
 	cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE}
--- 2012-03-05-juk.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f5556d2.731c340a.1d71.ffffa302>