From owner-svn-ports-head@freebsd.org Sat Jan 14 12:48:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 932ADCAE59D; Sat, 14 Jan 2017 12:48:31 +0000 (UTC) (envelope-from riggs@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 mx1.freebsd.org (Postfix) with ESMTPS id 705AC152F; Sat, 14 Jan 2017 12:48:31 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0ECmUel058078; Sat, 14 Jan 2017 12:48:30 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0ECmUC1058076; Sat, 14 Jan 2017 12:48:30 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201701141248.v0ECmUC1058076@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 14 Jan 2017 12:48:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431464 - head/multimedia/mplayer X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2017 12:48:31 -0000 Author: riggs Date: Sat Jan 14 12:48:30 2017 New Revision: 431464 URL: https://svnweb.freebsd.org/changeset/ports/431464 Log: Convert remaining X-related OPTIONs to option helpers + deps via IMPLIES MFH: 2017Q1 Modified: head/multimedia/mplayer/Makefile head/multimedia/mplayer/Makefile.optvars Modified: head/multimedia/mplayer/Makefile ============================================================================== --- head/multimedia/mplayer/Makefile Sat Jan 14 10:37:09 2017 (r431463) +++ head/multimedia/mplayer/Makefile Sat Jan 14 12:48:30 2017 (r431464) @@ -49,7 +49,7 @@ USES+= iconv pkgconfig OPTIONS_SUB= yes .include "${.CURDIR}/../../multimedia/mplayer/Makefile.optvars" -.include +.include CONFIGURE_ARGS+= --disable-arts \ --disable-directfb \ @@ -65,42 +65,6 @@ CONFIGURE_ARGS+= --disable-arts \ --disable-musepack \ --disable-theora -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 xext xproto xscrnsaver -.if ${PORT_OPTIONS:MXVIDEO} -USE_XORG+= xv -.else -CONFIGURE_ARGS+=--disable-xv -.endif -.if ${PORT_OPTIONS:MX11DGA} -USE_XORG+= xxf86dga -.else -CONFIGURE_ARGS+=--disable-dga1 --disable-dga2 -.endif -.if ${PORT_OPTIONS:MOPENGL} -USE_GL+= gl -.else -CONFIGURE_ARGS+=--disable-gl -.endif -.if ${PORT_OPTIONS:MXINERAMA} -USE_XORG+= xinerama xineramaproto -.else -CONFIGURE_ARGS+=--disable-xinerama -.endif -.if ${PORT_OPTIONS:MX11VM} -USE_XORG+= xxf86vm -.else -CONFIGURE_ARGS+=--disable-vm -.endif -.if ${PORT_OPTIONS:MXVMC} -USE_XORG+= xvmc -CONFIGURE_ARGS+=--enable-xvmc --with-xvmclib=XvMCW -.endif -.else #X11 -CONFIGURE_ARGS+=--disable-x11 -.endif - -.include .include "${.CURDIR}/../../multimedia/mplayer/Makefile.options" BROKEN_armv6= Fails to compile: Error: garbage following instruction -- vmov s16,SCALE Modified: head/multimedia/mplayer/Makefile.optvars ============================================================================== --- head/multimedia/mplayer/Makefile.optvars Sat Jan 14 10:37:09 2017 (r431463) +++ head/multimedia/mplayer/Makefile.optvars Sat Jan 14 12:48:30 2017 (r431464) @@ -81,6 +81,10 @@ NAS_CONFIGURE_OFF= --disable-nas OPENAL_USES= openal:soft OPENAL_CONFIGURE_OFF= --disable-openal +OPENGL_USE= GL=gl +OPENGL_CONFIGURE_OFF= --disable-gl +OPENGL_IMPLIES= X11 + OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_OFF= --disable-libopenjpeg @@ -138,8 +142,31 @@ VDPAU_CONFIGURE_OFF= --disable-vdpau VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --disable-libvpx-lavc +X11_USE= XORG=x11,xext,xproto,xscrnsaver +X11_CONFIGURE_OFF= --disable-x11 + +X11DGA_USE= XORG=xxf86dga +X11DGA_CONFIGURE_OFF= --disable-dga1 --disable-dga2 +X11DGA_IMPLIES= X11 + +X11VM_USE= XORG=xxf86vm +X11VM_CONFIGURE_OFF= --disable-vm +X11VM_IMPLIES= X11 + X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_OFF= --disable-x264 +XINERAMA_USE= XORG=xinerama,xineramaproto +XINERAMA_CONFIGURE_OFF= --disable-xinerama +XINERAMA_IMPLIES= X11 + XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_OFF= --disable-xvid + +XVIDEO_USE= XORG=xv +XVIDEO_CONFIGURE_OFF= --disable-xv +XVIDEO_IMPLIES= X11 + +XVMC_USE= XORG=xvmc +XVMC_CONFIGURE_ON= --enable-xvmc --with-xvmclib=XvMCW +XVMC_IMPLIES= X11