Configure fails to disable make tasks when Doxygen is not installed and this
causes the build to fail. We don't install Doxygen docs anyway.
Also, move `ENV.fortran` to the top of the install block so that the build will
fail early if a fortran compiler is not installed.
Fixes#12406.
Add an explicit dependency on libxml2 for clarity. Previously it was
implicit in the gnome-doc-utils dep. Prepend its site-packages directory
to the PYTHONPATH.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GDAL can't compile against Poppler 0.20.0 so it is explicitly disabled for the
time being in order to prevent compilation errors. This commit can be reverted
once a fix goes in upstream.
The configure script tries to be clever with figuring out rpath flags for the
compilers. It fails epically.
Also, use `ENV.x11` which removes the need for a couple of configure arguments
and allows libpng to be found.
Starting with the 4.2 release, NetCDF has a new distribution model where the
core C library and command line utilities are shipped as one package and the
C++ and Fortran libraries are shipped as seperate packages.
For now, we're handling this by including the C++ and Fortran libraries as
sub-brews so there is no need for a bunch of `netcdf-cxx` and `netcdf-fortran`
packages. The C++ library is also built by default to mirror the behavior of
the pre-4.2 formula.
These changes preserve the status quo as much as possible.
We use a pipe to marshal exceptions from the build script back to the
main Homebrew process; the associated file descriptor is stored in an
environment variable so that the script can figure out which descriptor
to use after being exec'd.
However, any child processes of the build script inherit this
descriptor (i.e. anything spawned via "system" by the formula during
installation). Normally this is not an issue, but if a formula executes
a long-running process such as a daemon, the main Homebrew process will
never see EOF on the error pipe because the daemon still has an open
descriptor.
We can fix this while preserving current behavior by setting the
close-on-exec flag on the build script's error pipe descriptor.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This differs from the current std_cmake_parameters in that it returns an
array instead of a string. Doing so makes dealing with it in formulae
much more pleasant, and for new formula hackers, less surprising.
std_cmake_parameters is retained in compat to maintain compatibility
with external formulae.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This patch compiles ffmpeg against libvo-aacenc (if installed) to
provide AAC encoding support - preferred by the maintainers over
libfaac.
Closes#12231.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Library containing VisualOn implementation of Advanced Audio Coding
(AAC) encoder. May be used by ffmpeg, among other tools, to provide
AAC encoding capability.
Closes#12231.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Mark as fails_with :clang due to libpar2 dependency.
Closes#12319.
[jn: add cause to fails_with block]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>