ports/109919: [PATCH] multimedia/bmpx: Add support for mp4/aac media-tags

Michael Johnson ahze at FreeBSD.org
Mon Mar 5 14:00:12 UTC 2007


>Number:         109919
>Category:       ports
>Synopsis:       [PATCH] multimedia/bmpx: Add support for mp4/aac media-tags
>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 Mar 05 14:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD buh.ahze.net 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007
>Description:
- Add support for mp4/aac media-tags via WITH_FAAD or WITH_MPEG4IP [1]

[1] The reason I used both WITH_FAAD and WITH_MPEG4IP is bmpx uses mpeg4ip 
    for reading the media-tag and faad for playing the mp4. Both aren't 
    required, but kinda pointless to only use one.

Port maintainer (novel at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- bmpx-0.36.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/bmpx/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile	24 Feb 2007 09:04:24 -0000	1.28
+++ Makefile	5 Mar 2007 13:47:39 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	bmpx
 PORTVERSION=	0.36.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://files.beep-media-player.org/releases/0.36/
 
@@ -78,6 +79,15 @@
 PLIST_SUB+=		SID="@comment "
 .endif
 
+.if defined(WITH_FAAD) || defined(WITH_MPEG4IP)
+CONFIGURE_ARGS+=--enable-mp4v2
+LIB_DEPENDS+=	mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
+USE_GSTREAMER+=	faad
+PLIST_SUB+=	MPEG4IP=""
+.else
+PLIST_SUB+=	MPEG4IP="@comment "
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 600000
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/multimedia/bmpx/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- pkg-plist	12 Feb 2007 01:39:57 -0000	1.11
+++ pkg-plist	5 Mar 2007 13:47:23 -0000
@@ -21,6 +21,9 @@
 lib/bmpx/plugins/taglib/libtaglib_plugin_mp3.la
 lib/bmpx/plugins/taglib/libtaglib_plugin_mp3.so
 lib/bmpx/plugins/taglib/libtaglib_plugin_mp3.so.0
+%%MPEG4IP%%lib/bmpx/plugins/taglib/libtaglib_plugin_mp4.la
+%%MPEG4IP%%lib/bmpx/plugins/taglib/libtaglib_plugin_mp4.so
+%%MPEG4IP%%lib/bmpx/plugins/taglib/libtaglib_plugin_mp4.so.0
 lib/bmpx/plugins/taglib/libtaglib_plugin_ogg.la
 lib/bmpx/plugins/taglib/libtaglib_plugin_ogg.so
 lib/bmpx/plugins/taglib/libtaglib_plugin_ogg.so.0
--- bmpx-0.36.1_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list