From owner-svn-ports-all@FreeBSD.ORG Tue Mar 25 21:50:41 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C69FBE98; Tue, 25 Mar 2014 21:50:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B3C269C3; Tue, 25 Mar 2014 21:50:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2PLofoS011483; Tue, 25 Mar 2014 21:50:41 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2PLofAQ011480; Tue, 25 Mar 2014 21:50:41 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201403252150.s2PLofAQ011480@svn.freebsd.org> From: Tijl Coosemans Date: Tue, 25 Mar 2014 21:50:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349197 - head/multimedia/gstreamer1-libav X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 21:50:41 -0000 Author: tijl Date: Tue Mar 25 21:50:41 2014 New Revision: 349197 URL: http://svnweb.freebsd.org/changeset/ports/349197 QAT: https://qat.redports.org/buildarchive/r349197/ Log: - Update gstreamer1-libav to version 1.2.3. - USES=tar:xz. - Remove redundant configure args. - Only link with -Wl,-Bsymbolic where necessary. - Remove detection of SSE and MMX instruction set support. This enables support for various x86 extensions (SSE2, SSE3,...) in the i386 package. CPU support for these is detected at runtime except for MMX. So the i386 package requires at least a Pentium MMX now. (Does anybody play videos with gstreamer on a i486 or Pentium?) - Replace ARCH with LIBAV_ARCH everywhere so it doesn't conflict with our ARCH. [1] PR: ports/181964 [1] Modified: head/multimedia/gstreamer1-libav/Makefile head/multimedia/gstreamer1-libav/distinfo Modified: head/multimedia/gstreamer1-libav/Makefile ============================================================================== --- head/multimedia/gstreamer1-libav/Makefile Tue Mar 25 21:43:51 2014 (r349196) +++ head/multimedia/gstreamer1-libav/Makefile Tue Mar 25 21:50:41 2014 (r349197) @@ -3,13 +3,13 @@ # $MCom: ports/multimedia/gstreamer1-libav/Makefile,v 1.4 2013/01/15 21:43:45 kwm Exp $ PORTNAME= gstreamer1-libav -PORTVERSION= 1.2.2 +PORTVERSION= 1.2.3 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-libav/ DISTNAME= gst-libav-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org -COMMENT= GStreamer plug-in for manipulating MPEG video streams +COMMENT= GStreamer plug-in with many audio/video decoders/encoders LICENSE= GPLv2 @@ -17,38 +17,12 @@ BUILD_DEPENDS= yasm:${PORTSDIR}/devel/ya orc>=0.4.16:${PORTSDIR}/devel/orc LIB_DEPENDS= liborc-0.4.so:${PORTSDIR}/devel/orc -USE_XZ= yes +USES= compiler gmake pkgconfig tar:xz USE_LDCONFIG= yes USE_GSTREAMER1= yes GNU_CONFIGURE= yes -USES= compiler:features gmake pkgconfig -LIBAV_CONFIG= --cc=${CC} \ - --enable-runtime-cpudetect \ - --enable-pic -LDFLAGS+= -Wl,-Bsymbolic - PLIST_SUB= VERSION="1.0" -# sse hardware vector support -.if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64") -WITH_BUILTIN_VECTOR= yes -.else -LIBAV_CONFIG+= --disable-sse -.endif - -# mmx support -.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && ${MACHINE_CPU:Mamd64} == "" -LIBAV_CONFIG+= --disable-mmx -WITHOUT_BUILTIN_VECTOR= yes -.endif - -# builtin vector, requires mmx and sse -.if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) -CFLAGS+= -msse -.endif - -CONFIGURE_ARGS+= --with-libav-extra-configure="${LIBAV_CONFIG}" - .include .if ${OSVERSION} < 900033 @@ -56,14 +30,20 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PO MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin .endif -.if ${ARCH} == powerpc64 -FFMPEG_CONFIG+= --arch=ppc64 -.endif - .if ${COMPILER_TYPE} == "gcc" CFLAGS+= -fno-force-addr .endif +post-patch: + @${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/LIBAV_ARCH/' \ + ${WRKSRC}/gst-libs/ext/libav/Makefile \ + ${WRKSRC}/gst-libs/ext/libav/common.mak \ + ${WRKSRC}/gst-libs/ext/libav/configure \ + ${WRKSRC}/gst-libs/ext/libav/libavcodec/Makefile \ + ${WRKSRC}/gst-libs/ext/libav/library.mak + @${REINPLACE_CMD} '/libgstlibav_la_LDFLAGS =/s/$$/ -Wl,-Bsymbolic/' \ + ${WRKSRC}/ext/libav/Makefile.in + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0/libgstlibav.so Modified: head/multimedia/gstreamer1-libav/distinfo ============================================================================== --- head/multimedia/gstreamer1-libav/distinfo Tue Mar 25 21:43:51 2014 (r349196) +++ head/multimedia/gstreamer1-libav/distinfo Tue Mar 25 21:50:41 2014 (r349197) @@ -1,2 +1,2 @@ -SHA256 (gst-libav-1.2.2.tar.xz) = 585eb7971006100ad771a852e07bd2f3e23bcc6eb0b1253a40b5a0e40e4e7418 -SIZE (gst-libav-1.2.2.tar.xz) = 4577584 +SHA256 (gst-libav-1.2.3.tar.xz) = ebc7fbe10955f40df6ccc4bf689075e7e296205fc7ecd8ff383d43c5cdf5bcd6 +SIZE (gst-libav-1.2.3.tar.xz) = 4582312