svn commit: r349197 - head/multimedia/gstreamer1-libav
Tijl Coosemans
tijl at FreeBSD.org
Tue Mar 25 21:50:41 UTC 2014
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 at 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 <bsd.port.pre.mk>
.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
More information about the svn-ports-head
mailing list