Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 23:18:25 GMT
From:      Nicholas Ochoa <kagaku@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155545: Updating port multimedia/mediainfo to 0.7.42
Message-ID:  <201103132318.p2DNIPtt076500@red.freebsd.org>
Resent-Message-ID: <201103132320.p2DNK7H8020617@freefall.freebsd.org>

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

>Number:         155545
>Category:       ports
>Synopsis:       Updating port multimedia/mediainfo to 0.7.42
>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:   Sun Mar 13 23:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nicholas Ochoa
>Release:        8.1
>Organization:
>Environment:
FreeBSD sledge-hammer.industrial.lan 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Updated the port to reflect latest version (as my March 13th) of Mediainfo. Makefile and distinfo attached. Unfortunately it will not compile with dxw enabled, disabled it in the port and it will compile.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

#
# Makefile
#

# New ports collection makefile for:    mediainfo
# Date created:         24 April 2008
# Whom:                 freebsd-ports@evilcode.net
#
# $FreeBSD: ports/multimedia/mediainfo/Makefile,v 1.12 2010/12/04 07:32:47 ade Exp $
#

PORTNAME=               mediainfo
PORTVERSION=            0.7.42
DISTVERSIONSUFFIX=      _AllInclusive
CATEGORIES=             multimedia
MASTER_SITES=           SF/${PORTNAME}/source/${PORTNAME}/${PORTVERSION}
DISTNAME=               mediainfo_${PORTVERSION}${DISTVERSIONSUFFIX}
EXTRACT_SUFX=           .7z

MAINTAINER=     freebsd-ports@evilcode.net
COMMENT=        Supplies technical and tag information about a video or audio file

EXTRACT_DEPENDS=        p7zip>=0:${PORTSDIR}/archivers/p7zip

PLIST_FILES=    bin/mediainfo

EXTRACT_CMD=    7z
EXTRACT_BEFORE_ARGS=    x -o${WRKSRC}
EXTRACT_AFTER_ARGS=     >/dev/null
USE_AUTOTOOLS=  aclocal:env automake:env autoconf:env libtool:env

WRKSRC=         ${WRKDIR}/MediaInfo${DISTVERSIONSUFFIX}

pre-build:
        @(cd ${WRKSRC} && ${CP} ./MediaInfo/Project/GNU/CLI/AddThisToRoot_CLI_compile.sh ./CLI_Compile.sh)

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 --disable-dxw --prefix=${PREFIX}) ## disabling dxw, it fails to compile with this enabled

do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/MediaInfo/Project/GNU/CLI/mediainfo ${PREFIX}/bin

.include <bsd.port.mk>

#
# distinfo
#

MD5 (mediainfo_0.7.42_AllInclusive.7z) = b891c8da18bcb224c4cb8876ca187b11
SHA256 (mediainfo_0.7.42_AllInclusive.7z) = 4250af520642b06e3f2c946f0845d10e6b12247145394379913984760e00d235
SIZE (mediainfo_0.7.42_AllInclusive.7z) = 10301031



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103132318.p2DNIPtt076500>