diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2019-01-16 18:04:05 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2019-01-16 18:04:05 +0000 |
commit | b062a5caad8a19cf72bec1c11f3f1e1b08772da6 (patch) | |
tree | a975e6c63419d0eacaa98fd28878a68c1cd2f2ca /multimedia/libva/Makefile | |
parent | - Update to 2.150.2 (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=490498
Diffstat (limited to 'multimedia/libva/Makefile')
-rw-r--r-- | multimedia/libva/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index d65570470895..8d7f0ec38b6b 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -2,13 +2,14 @@ PORTNAME= libva PORTVERSION= 2.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cf11abe5e1b9.patch:-p1 # for media-driver 18.4+ +PATCHFILES+= 62bad1239d8e.patch:-p1 # for mesa-libs 18.3+ -MAINTAINER= madpilot@FreeBSD.org +MAINTAINER= jbeich@FreeBSD.org COMMENT= VAAPI wrapper and dummy driver LICENSE= MIT @@ -19,11 +20,10 @@ RUN_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libdrm.so:graphics/libdrm USES= autoreconf gmake libtool localbase pkgconfig tar:bzip2 -USE_XORG= xorgproto pciaccess x11 xext xfixes -USE_GL= gl +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=va -USE_LDCONFIG= yes INSTALL_TARGET= install-strip USE_GITHUB= yes @@ -33,9 +33,8 @@ LDFLAGS+= -lpthread # prevent types conflict: videodev2.h vs. drm.h CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES -OPTIONS_DEFINE= DEBUG WAYLAND -OPTIONS_DEFAULT=WAYLAND -WAYLAND_DESC= Support wayland protocol +OPTIONS_DEFINE= DEBUG WAYLAND X11 +OPTIONS_DEFAULT=WAYLAND X11 OPTIONS_SUB= yes DEBUG_CFLAGS= -D_DEBUG @@ -44,8 +43,13 @@ DEBUG_CFLAGS_OFF= -DNDEBUG WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland +X11_CONFIGURE_ENABLE= x11 glx +X11_USES= gl +X11_USE= GL=gl XORG=x11,xorgproto,xext,xfixes + post-patch: .SILENT ${REINPLACE_CMD} -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ + -e 's/"$$USE_X11:$$enable_glx" != "yes:no"/"$$USE_X11" != "no"/' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} '/^export VA_HEADER_/d' \ ${WRKSRC}/doc/Makefile.am |