freebsd-ports/multimedia/gstreamer1-vaapi/Makefile
Dmitry Marakasov 30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00

34 lines
883 B
Makefile

# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD$
PORTNAME= gstreamer1-vaapi
PORTVERSION= 1.8.0
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-vaapi/
DISTNAME= gstreamer-vaapi-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer hardware video decoding via VA-API plug-in
LICENSE= LGPL21
LIB_DEPENDS= libva.so:multimedia/libva
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-wayland
INSTALL_TARGET= install-strip
USES= compiler:c11 gmake libtool pkgconfig tar:xz
USE_LDCONFIG= yes
USE_GSTREAMER1= bad gl
USE_GL= gl
USE_XORG= x11 xrandr xrender xproto:build
# drm backend needs libudev so disable it for now.
CONFIGURE_ARGS+=--disable-drm
# manual since pathfix doesn't work.
post-patch:
@${REINPLACE_CMD} -e 's|[{]libdir[}]/pkgconfig|{prefix}/libdata/pkgconfig|g' \
${WRKSRC}/configure
.include <bsd.port.mk>