a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libvdpau-va-gl
|
|
PORTVERSION= 0.4.2
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES= 58a98e8a735f.patch:-p1
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= VDPAU driver with OpenGL/VAAPI backend
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_armv6= fails to configure: CMake Error: Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- broken
|
|
|
|
LIB_DEPENDS= libva-x11.so:multimedia/libva
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= i-rinat
|
|
|
|
USES= cmake compiler:c++11-lang pkgconfig
|
|
USE_XORG= x11
|
|
USE_GL= gl
|
|
LDFLAGS+= -Wl,--as-needed # Xext, ICE, SM
|
|
TEST_TARGET= check
|
|
|
|
PLIST_FILES= lib/vdpau/libvdpau_va_gl.so lib/vdpau/libvdpau_va_gl.so.1
|
|
# bug 217825: Convenience symlinks. On AMD prefer VDPAU from Mesa.
|
|
PLIST_FILES+= lib/vdpau/libvdpau_i915.so.1 lib/vdpau/libvdpau_i965.so.1
|
|
|
|
post-install:
|
|
.for f in ${PLIST_FILES:N*va_gl*:M*.so.1}
|
|
${LN} -sf libvdpau_va_gl.so.1 ${STAGEDIR}${PREFIX}/$f
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|