USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
- Add LICENSE_COMB. This release changes the license of some non-MPlayer source files to LGPL 2.1 or later.
- Update MAINTAINER to my @FreeBSD.org address.
Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.16.0
PR: 207663
Approved by: junovitch (mentor)
youtube-dl is only used during runtime, so register dependency properly.
As the port doesn't enforce *where* to find the script rely on PATH.
PR: 202337
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
OPENGL, V4L, VAAPI, VDPAU, XINERAMA, ZSH are now enabled to make package
more useful. OPENGL, VAAPI, VDPAU also support hardware decoding but only
if multimedia/ffmpeg is built with VAAPI, VDPAU (currently off by default).
PR: 203534
Submitted by: tobias.kortkamp@gmail.com
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
mpv works fine in a minimalistic X11 environment without any GUI toolkit
installed. No need to pull unnecessary dependencies when there's no
USE_GNOME=gtk* in Makefile.
PR: 202806
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
Without freetype, mpv will crash outputting a bus error when it
tries to draw the menu text.
PR: 202765
Submitted by: Peyton@openmailbox.org
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
ensure zsh completions are actually installed (and prevent package
error) when the option is selected
PR: 202736
Submitted by: Joseph Mingrone <jrm@ftfl.ca>
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
multimedia/ffmpeg doesn't use non-default prefix for include
directories unlike multimedia/ffmpeg0 or multimedia/libav.
PR: 202401
Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer)
Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be
reused
Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf
WAF_CMD has been created to allow one to override the location of the waf script
relatively to WRKSRC
CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"
USES=waf is by default stagedir safe
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr