From owner-svn-ports-all@freebsd.org Tue Oct 16 00:00:21 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 75D3810CCD32; Tue, 16 Oct 2018 00:00:21 +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 2C1058AE73; Tue, 16 Oct 2018 00:00:21 +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 25B9D143AF; Tue, 16 Oct 2018 00:00:21 +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 w9G00L2R086617; Tue, 16 Oct 2018 00:00:21 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9G00L1T086616; Tue, 16 Oct 2018 00:00:21 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201810160000.w9G00L1T086616@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 16 Oct 2018 00:00:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482192 - head/graphics/mesa-dri X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/graphics/mesa-dri X-SVN-Commit-Revision: 482192 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.27 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, 16 Oct 2018 00:00:21 -0000 Author: jbeich Date: Tue Oct 16 00:00:20 2018 New Revision: 482192 URL: https://svnweb.freebsd.org/changeset/ports/482192 Log: graphics/mesa-dri: add WAYLAND option for Vulkan drivers PR: 221540 Submitted by: Greg V Approved by: maintainer timeout (9 months timeout), zeising (earlier version) Modified: head/graphics/mesa-dri/Makefile (contents, props changed) Modified: head/graphics/mesa-dri/Makefile ============================================================================== --- head/graphics/mesa-dri/Makefile Tue Oct 16 00:00:08 2018 (r482191) +++ head/graphics/mesa-dri/Makefile Tue Oct 16 00:00:20 2018 (r482192) @@ -3,13 +3,14 @@ PORTNAME= mesa-dri PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ USE_XORG= xorgproto x11 xdamage xext xfixes xshmfence xv xvmc -OPTIONS_DEFINE= TEXTURE VAAPI VDPAU +OPTIONS_DEFINE= TEXTURE VAAPI VDPAU WAYLAND OPTIONS_DEFAULT=TEXTURE OPTIONS_SUB= yes @@ -23,6 +24,10 @@ VAAPI_USE= XORG=xcb VDPAU_CONFIGURE_ENABLE= vdpau VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau +WAYLAND_DESC= Enable support for the Wayland platform in Vulkan drivers +WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols +WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland + .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" @@ -71,6 +76,14 @@ LDFLAGS_i386= -Wl,-znotext # --build-id isn't supported by old GNU ld.bfd in base USE_BINUTILS= yes LDFLAGS+= -B${LOCALBASE}/bin +. endif +.endif + +# enables VK_KHR_wayland_surface in Vulkan drivers +.if ${PORT_OPTIONS:MWAYLAND} +CONFIGURE_ARGS+= --with-platforms=x11,surfaceless,drm,wayland +. if empty(VULKAN_DRIVERS) +IGNORE= option WAYLAND is only valid on platforms with Vulkan . endif .endif