Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 17:52:13 +0200
From:      "Pietro Cerutti" <gahr@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/124035: [patch] audio/picard integreate libdiscid
Message-ID:  <1211903533.18506@gahrtop.localhost>
Resent-Message-ID: <200805271700.m4RH09RR033240@freefall.freebsd.org>

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

>Number:         124035
>Category:       ports
>Synopsis:       [patch] audio/picard integreate libdiscid
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 17:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
The FreeBSD Project 
>Environment:


System: FreeBSD 8.0-CURRENT #34: Sat May 24 14:25:34 CEST 2008
    root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:





>How-To-Repeat:





>Fix:


--- picard.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/picard/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	7 Feb 2008 21:17:49 -0000	1.12
+++ Makefile	27 May 2008 15:36:08 -0000
@@ -15,7 +15,8 @@
 COMMENT=	Next generation MusicBrainz Tagger
 
 LIB_DEPENDS=	ofa.0:${PORTSDIR}/audio/libofa \
-		avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+		avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
+		discid.2:${PORTSDIR}/audio/libdiscid
 RUN_DEPENDS=    py*-mutagen>=0:${PORTSDIR}/audio/py-mutagen \
 		py*-qt4-core>=0:${PORTSDIR}/devel/py-qt4-core \
 		py*-qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
@@ -29,5 +30,7 @@
 post-patch:
 	@${REINPLACE_CMD} '/with-libofa/s|False|True|;\
 		/with-avcodec/s|False|True|' ${WRKSRC}/setup.py
+	@${REINPLACE_CMD} -e 's|libdiscid.so.0|libdiscid.so.2|g' \
+		${WRKSRC}/picard/disc.py
 
 .include <bsd.port.mk>
--- picard.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?1211903533.18506>