From owner-svn-ports-all@freebsd.org Sun Apr 29 00:51:36 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CA16FBDB74; Sun, 29 Apr 2018 00:51:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E87C74A6D; Sun, 29 Apr 2018 00:51:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 097D51D26A; Sun, 29 Apr 2018 00:51:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3T0pZUD093189; Sun, 29 Apr 2018 00:51:35 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3T0pZId093188; Sun, 29 Apr 2018 00:51:35 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804290051.w3T0pZId093188@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 29 Apr 2018 00:51:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468598 - head/multimedia/gstreamer1-libav X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/gstreamer1-libav X-SVN-Commit-Revision: 468598 X-SVN-Commit-Repository: ports 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.25 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: Sun, 29 Apr 2018 00:51:36 -0000 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' \