Skip site navigation (1)Skip section navigation (2)
Date:      4 Feb 2013 09:17:40 -0000
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Oliver Lehmann <oliver@FreeBSD.org>
Subject:   ports/175817: enhance port: multimedia/mediainfo
Message-ID:  <20130204091740.8004.qmail@avocado.salatschuessel.net>
Resent-Message-ID: <201302040920.r149K0NO006450@freefall.freebsd.org>

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

>Number:         175817
>Category:       ports
>Synopsis:       enhance port: multimedia/mediainfo
>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:   Mon Feb 04 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD avocado.salatschuessel.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Nov 15 15:25:24 CET 2012 olivleh1@avocado.salatschuessel.net:/usr/obj/usr/src/sys/AVOCADO amd64


>Description:
	install also the two mediainfo libraries as they are for example
	needed by PMS (Playstation Media Server)
>How-To-Repeat:
	
>Fix:

	

--- mediainfo.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310647)
+++ Makefile	(working copy)
@@ -22,15 +22,19 @@
 USE_BZIP2=	yes
 WRKSRC=		${WRKDIR}/MediaInfo_CLI_GNU_FromSource
 
-PLIST_FILES=	bin/mediainfo
+PLIST_FILES=	bin/mediainfo lib/libmediainfo.so.0 lib/libmediainfo.so lib/libzen.so.0 lib/libzen.so
 
 do-build:
 	@(cd ${WRKSRC}/ZenLib/Project/GNU/Library/ && ${SH} ./autogen)
 	@(cd ${WRKSRC}/MediaInfoLib/Project/GNU/Library/ && ${SH} ./autogen)
 	@(cd ${WRKSRC}/MediaInfo/Project/GNU/CLI/ && ${SH} ./autogen)
-	@(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX})
+	@(cd ${WRKSRC}/ && ${SH} ./CLI_Compile.sh --prefix=${PREFIX} --enable-shared)
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/.libs/mediainfo ${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.so ${PREFIX}/lib/
+	${INSTALL_DATA} ${WRKSRC}/ZenLib/Project/GNU/Library/.libs/libzen.so ${PREFIX}/lib/
+	${INSTALL_LIB} ${WRKSRC}/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.so.0 ${PREFIX}/lib/
+	${INSTALL_LIB} ${WRKSRC}/ZenLib/Project/GNU/Library/.libs/libzen.so.0 ${PREFIX}/lib/
 
 .include <bsd.port.mk>
--- mediainfo.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?20130204091740.8004.qmail>