Bug 234925

Summary: multimedia/libva: allow disabling X11 support
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Guido Falsi <madpilot>
Status: Closed FIXED    
Severity: Affects Only Me CC: madpilot
Priority: --- Keywords: patch
Version: LatestFlags: madpilot: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
v0 jbeich: maintainer-approval? (madpilot)

Description Jan Beich freebsd_committer freebsd_triage 2019-01-13 18:38:50 UTC
Created attachment 201103 [details]
v0

libva-intel-media-driver works fine without both X11 and Wayland e.g., mpv --gpu-context=drm. Making X11 into also facilitates subpackaging (after review D16457) and consolidating mesa-* ports into one[1] without dependency loop e.g., mesa (radeon_drv_video.so) -> libva (libglx.so) -> mesa (libGL.so).

Also, USE_XORG=pciaccess appears to be unused.
https://github.com/intel/libva/commit/9d7edddac3f1

[1] https://github.com/myfreeweb/freebsd-ports-dank/commit/8d0f17ef3083
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-16 18:04:47 UTC
A commit references this bug:

Author: madpilot
Date: Wed Jan 16 18:04:06 UTC 2019
New revision: 490498
URL: https://svnweb.freebsd.org/changeset/ports/490498

Log:
  - Unbreak Wayland support in libva-intel-driver with Mesa 18.3 [1]
  - Allow disabling X11 support in libva [2]
  - Update minimum version requirement in libva-intel-media-driver
    BUILD_DEPENDS (required by submitter/maintainer) [1]
  - While here, silence some portling warnings
  - Pass maintainership to jbeich (submitter) [1]

  PR:		234891 [1], 234925 [2]
  Submitted by:	jbeich

Changes:
  head/multimedia/libva/Makefile
  head/multimedia/libva/distinfo
  head/multimedia/libva/pkg-plist
  head/multimedia/libva-intel-driver/Makefile
  head/multimedia/libva-intel-driver/distinfo
  head/multimedia/libva-intel-media-driver/Makefile
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2019-01-16 18:06:03 UTC
Committed. Thanks!