From owner-svn-ports-all@freebsd.org Tue Mar 12 16:00:25 2019 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 2D9CE1534888; Tue, 12 Mar 2019 16:00:25 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDED46DAD5; Tue, 12 Mar 2019 16:00:24 +0000 (UTC) (envelope-from madpilot@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 9533B24F3B; Tue, 12 Mar 2019 16:00:24 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2CG0OX4022640; Tue, 12 Mar 2019 16:00:24 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2CG0O2u022637; Tue, 12 Mar 2019 16:00:24 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201903121600.x2CG0O2u022637@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Tue, 12 Mar 2019 16:00:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495465 - in head/multimedia/libva-utils: . files X-SVN-Group: ports-head X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: in head/multimedia/libva-utils: . files X-SVN-Commit-Revision: 495465 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BDED46DAD5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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, 12 Mar 2019 16:00:25 -0000 Author: madpilot Date: Tue Mar 12 16:00:23 2019 New Revision: 495465 URL: https://svnweb.freebsd.org/changeset/ports/495465 Log: Add option to disable X11 support. Requested by: driesm.michiels@gmail.com Added: head/multimedia/libva-utils/files/patch-Makefile.am (contents, props changed) Modified: head/multimedia/libva-utils/Makefile head/multimedia/libva-utils/pkg-plist Modified: head/multimedia/libva-utils/Makefile ============================================================================== --- head/multimedia/libva-utils/Makefile Tue Mar 12 15:56:32 2019 (r495464) +++ head/multimedia/libva-utils/Makefile Tue Mar 12 16:00:23 2019 (r495465) @@ -14,15 +14,15 @@ LIB_DEPENDS= libva.so:multimedia/libva \ libdrm.so:graphics/libdrm USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig tar:bzip2 -USE_XORG= x11 xext xfixes + GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= intel -OPTIONS_DEFINE= DEBUG WAYLAND -OPTIONS_DEFAULT=WAYLAND +OPTIONS_DEFINE= DEBUG WAYLAND X11 +OPTIONS_DEFAULT=WAYLAND X11 WAYLAND_DESC= Support wayland protocol OPTIONS_SUB= yes @@ -31,5 +31,8 @@ DEBUG_CFLAGS_OFF= -DNDEBUG WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland + +X11_CONFIGURE_ENABLE= x11 +X11_USE= XORG=x11,xext,xfixes .include Added: head/multimedia/libva-utils/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libva-utils/files/patch-Makefile.am Tue Mar 12 16:00:23 2019 (r495465) @@ -0,0 +1,15 @@ +--- Makefile.am.orig 2019-02-01 23:11:33 UTC ++++ Makefile.am +@@ -24,10 +24,10 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + + AUTOMAKE_OPTIONS = foreign + +-SUBDIRS = common decode encode vainfo videoprocess vendor/intel vendor/intel/sfcsample ++SUBDIRS = common decode encode vainfo videoprocess vendor/intel + + if USE_X11 +-SUBDIRS += putsurface ++SUBDIRS += putsurface vendor/intel/sfcsample + else + if USE_WAYLAND + SUBDIRS += putsurface Modified: head/multimedia/libva-utils/pkg-plist ============================================================================== --- head/multimedia/libva-utils/pkg-plist Tue Mar 12 15:56:32 2019 (r495464) +++ head/multimedia/libva-utils/pkg-plist Tue Mar 12 16:00:23 2019 (r495465) @@ -6,9 +6,9 @@ bin/jpegenc bin/loadjpeg bin/mpeg2vaenc bin/mpeg2vldemo -bin/putsurface +%%X11%%bin/putsurface %%WAYLAND%%bin/putsurface_wayland -bin/sfcsample +%%X11%%bin/sfcsample bin/vainfo bin/vavpp bin/vp8enc