Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 00:51:35 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468598 - head/multimedia/gstreamer1-libav
Message-ID:  <201804290051.w3T0pZId093188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Apr 29 00:51:35 2018
New Revision: 468598
URL: https://svnweb.freebsd.org/changeset/ports/468598

Log:
  multimedia/gstreamer1-libav: expose bundled libav
  
  For debugging or as a workaround during ffmpeg upgrades.

Modified:
  head/multimedia/gstreamer1-libav/Makefile   (contents, props changed)

Modified: head/multimedia/gstreamer1-libav/Makefile
==============================================================================
--- head/multimedia/gstreamer1-libav/Makefile	Sun Apr 29 00:49:58 2018	(r468597)
+++ head/multimedia/gstreamer1-libav/Makefile	Sun Apr 29 00:51:35 2018	(r468598)
@@ -15,8 +15,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	orc>=0.4.16:devel/orc
-LIB_DEPENDS=	liborc-0.4.so:devel/orc \
-		libavcodec.so:multimedia/ffmpeg
+LIB_DEPENDS=	liborc-0.4.so:devel/orc
 
 PORTSCOUT=	limitw:1,even
 
@@ -26,9 +25,19 @@ USE_LDCONFIG=	yes
 USE_GSTREAMER1=	yes
 USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-system-libav
-
 INSTALL_TARGET=	install-strip
+
+OPTIONS_DEFINE=	FFMPEG
+OPTIONS_DEFAULT=FFMPEG
+
+FFMPEG_DESC?=	Use system ffmpeg instead of internal libav
+FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
+FFMPEG_CONFIGURE_WITH=	system-libav
+FFMPEG_BUILD_DEPENDS_OFF=as:devel/binutils nasm:devel/nasm
+FFMPEG_CONFIGURE_ENV_OFF=${MACHINE:Marm*:C/.+/ASFLAGS=-no-integrated-as/}
+FFMPEG_MAKE_ENV_OFF=	V=1
+FFMPEG_VARS_OFF+=	NOPRECIOUSMAKEVARS=yes # ARCH
+FFMPEG_VARS_OFF+=	LLD_UNSAFE=yes # aarch64
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Werror||g' \



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