[kde-freebsd] [PATCH] sysutils/k3b-kde4: Remove musicbrainz option

Jason E. Hale bsdkaffee at gmail.com
Mon Mar 5 20:34:56 UTC 2012


>Submitter-Id:	current-users
>Originator:	Jason E. Hale
>Organization:	none 
>Confidential:	no 
>Synopsis:	[PATCH] sysutils/k3b-kde4: Remove musicbrainz option 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		update 
>Release:	FreeBSD 9.0-RELEASE i386
>Environment:
System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386


	
>Description:
- Remove the audio/libmusicbrainz option from sysutils/k3b-kde4
- audio/libmusicbrainz is deprecated as the MusicBrainz RDF webservice is no
  longer functional
	
>How-To-Repeat:
- Use attached diff
	
>Fix:

	

--- 2012-03-05-k3b-kde4.diff begins here ---
diff -ruN k3b-kde4.orig/Makefile k3b-kde4/Makefile
--- k3b-kde4.orig/Makefile	2012-03-05 14:54:21.000000000 -0500
+++ k3b-kde4/Makefile	2012-03-05 15:13:50.000000000 -0500
@@ -7,7 +7,7 @@
 
 PORTNAME=	k3b
 PORTVERSION=	2.0.2
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	sysutils multimedia kde
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -22,7 +22,8 @@
 
 USE_BZIP2=	yes
 USE_CMAKE=	yes
-CMAKE_ARGS=	-DK3B_BUILD_K3BSETUP:BOOL=OFF
+CMAKE_ARGS=	-DK3B_BUILD_K3BSETUP:BOOL=OFF \
+		-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
 USE_KDE4=	automoc4 kdeprefix kdelibs
 USE_CDRTOOLS=	yes
 USE_QT_VER=	4
@@ -45,7 +46,6 @@
 		SOX "Encoder: various (audio/sox)" OFF \
 		VORBIS_ENC "Encoder: ogg/vorbis" ON \
 		LIBDVDREAD "Misc: libdvdread (video dvd ripping)" ON \
-		MUSICBRAINZ "Misc: Musicbrainz (audio metadata lookup)" ON \
 		NORMALIZE "Misc: Normalize (adjust audio to a std. level)" OFF \
 		TAGLIB "Misc: taglib (reading/writing audio metadata)" ON \
 		TRANSCODE "Misc: Transcode (for DVD ripping)" OFF
@@ -149,14 +149,6 @@
 PLIST_SUB+=	LIBDVDREAD="@comment "
 .endif
 
-.if defined(WITH_MUSICBRAINZ)
-LIB_DEPENDS+=	musicbrainz:${PORTSDIR}/audio/libmusicbrainz
-PLIST_SUB+=	MUSICBRAINZ=""
-.else
-CMAKE_ARGS+=	-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
-PLIST_SUB+=	MUSICBRAINZ="@comment "
-.endif
-
 .if defined(WITH_NORMALIZE)
 RUN_DEPENDS+=	normalize:${PORTSDIR}/audio/normalize
 .endif
--- 2012-03-05-k3b-kde4.diff ends here ---




More information about the kde-freebsd mailing list