Commit Graph

550 Commits

Author SHA1 Message Date
Martin Pulec
26ad719ac3 configure: print warnings also in the end
This prevents some to be missed by user.

- removed screen cap warning for a very old mac
- for conference print it to summary only if the module was requested
  explicitly
2022-03-11 10:48:49 +01:00
Martin Pulec
1733346ce4 Makefile: QT_CFLAGS->QT_CXXFLAGS
Qt toggles some C warnings not known to C++.
2022-03-09 16:09:36 +01:00
Martin Pulec
df7d47d418 configure: fixed Qt6 in Windows
The generated Makefile is only umbrella for Debug and Release makefiles.
2022-03-09 16:09:35 +01:00
Martin Pulec
bb63bed6a7 confiugre.ac: Qt - search also for qmake6
qmake6 is available in MSYS2 qt6.
2022-03-09 16:09:26 +01:00
Martin Pulec
91d5054677 configure, config_unix.h: removed some obsolete includes/checks 2022-03-02 11:24:02 +01:00
Martin Pulec
3e7ccbda6c configure.ac: enlarge fields (lavs summ. is wider) 2022-03-01 16:11:18 +01:00
Martin Pulec
daa33d5bb6 configure.ac: fixed wrong summary if EWS not present 2022-03-01 16:11:18 +01:00
Martin Pulec
c5c9fe8b2f autotools: do not override explicit -O with -Ofast
Do not set -Ofast for selected sources when CFLAGS contains some
optimization (-O) level option.
2022-02-25 14:32:29 +01:00
Martin Pulec
66140e1f3e zfec configure+CI: use /usr/local/src
- install only zfec subdirectory, not whole repo
- macOS blocks creating files directly in /usr(/src)
2022-02-03 15:41:10 +01:00
Martin Pulec
05f7642823 configure.ac: zfec help string - missing DIR 2022-02-03 15:41:09 +01:00
Martin Pulec
035d13ece6 configure.ac: check also CineForm SDK pkgconf
But give it a low priority - the pkg configuration seems to be wrong -
-lCFHDCodecStatic is in LIBS but libCFHDCodec.a is actually generated.
2022-02-03 15:41:09 +01:00
Martin Pulec
06dd9beca4 configure.ac: added alternative lookup path for zfec 2022-02-03 15:41:08 +01:00
Martin Pulec
64b494aecc Removed EWS from sources
Take it as a dependency
2022-01-31 16:29:17 +01:00
Martin Pulec
94239f9242 configure.ac: fixed wrong keyword + default val 2022-01-26 16:15:17 +01:00
Martin Pulec
6cb4c37627 configure.ac: remove all but core libs from OpenCV
Those were useless and caused some undefined references in Arch Linux:
https://bugs.archlinux.org/task/70286

+ check for opencv_imgproc that is usually also required
2022-01-26 10:36:14 +01:00
Martin Pulec
4db7915c0e configure.ac: simplified OpenCV checking 2022-01-26 09:13:07 +01:00
Martin Pulec
a1e055ae27 configure.ac: option to enable/disable cppunit 2022-01-26 08:22:42 +01:00
Martin Pulec
72ddb167be do not require sdl for testcard2
+ do not require testcard2 for audio/mixer for testcard (1)
2022-01-26 08:22:41 +01:00
Martin Pulec
bc40de7b3b configure.ac: remove -mwindows from all SDL pkgs 2022-01-20 14:04:44 +01:00
Martin Pulec
1da778ced6 configure.ac: allow selecting individual features within testcard-extras 2022-01-20 12:07:09 +01:00
Martin Pulec
666686c94d configure.ac improved testcard-extras
- print reqs
- really check if enabled whenever user enforces with --enable-testcard
  extras (+ optional "all")
2022-01-19 14:15:26 +01:00
Martin Pulec
9efcc6c2ab configure.ac: remove bashism + unused parameter
This partially reverts eb390d344.
2022-01-19 14:12:23 +01:00
Martin Pulec
c60cf5f760 configure.ac: change testcard-extras activation to auto 2022-01-19 11:59:52 +01:00
Martin Pulec
ba80367bb4 configure.ac: remove unused HAVE_LAVC_AUDIO
useless - there is nothing like separate libavcodec audio part
2022-01-18 12:15:46 +01:00
Martin Pulec
ff0d3a175f NDI: open dynamically on runtime
To avoid adding NDI library yet allowing user to install it separately and use it with UG.
2022-01-12 13:47:59 +01:00
Martin Pulec
aeb2c51212 configure.ac: improved indention
- lavc in summary not yet in right row but better
2022-01-12 13:47:58 +01:00
Martin Piatka
63325461b0 holepunch: initial implementation 2022-01-07 12:17:10 +01:00
Martin Pulec
19931e25d4 configure.ac: cineform - fixed libcineform pkgconf
If using libcineform with pkg-config, set proper CINEFORM_LIB and do not
override CINEFORM_INC.
2022-01-06 13:56:41 +01:00
Martin Pulec
116192fa02 configure.ac: cineform - support also libcineform
Support also libcineform fork (as used eg. by libcineform AUR pkg).
2022-01-03 16:36:30 +01:00
Martin Pulec
0750525758 configure: fixed --enable-sdl comma 2022-01-03 16:36:28 +01:00
Martin Piatka
f391046629 configure.ac: rpi4 hw. accel config 2021-12-20 16:14:26 +01:00
Martin Pulec
61ac0d97ce configure: reenable --enable-sdl
User may require SDL without requesting specific SDL version.
2021-11-26 16:17:26 +01:00
Martin Pulec
1f4fe64760 configure: fixed OpenGL build when lavc not present
Do not add dependency/build hwaccel_libav_common.o if libavcodec is not
present as a dependency for OpenGL display.
2021-11-12 11:24:17 +01:00
Martin Pulec
3af2d021bc UltraGrid 1.7 2021-11-09 10:43:09 +01:00
Martin Pulec
edcb3e9096 Configure: Qt6 fixes
- fixed [,] special meaning in M4
- qmake version >6 -> >=6
- typo: QMAKE_VER instead of QMAKE_VERSION
2021-11-03 13:40:14 +01:00
Martin Pulec
be58fa51e1 configure: use --cflags-only-I for SDL(2)
SDL cflags define '-Dmain=SDL_main' otherwise leading to wrong main func
signature (perhaps SDL.h has some magic that corrects that but it isn't
included by our main.cpp).
2021-09-17 10:02:20 +02:00
Lukas Rucka
8f7bbd60ac FIX: SDL/SDL2 includes were missing in module CXXFLAGS, causing incompatibility on Ubuntu 20.04 with clang-10 2021-09-16 12:57:06 +02:00
Martin Pulec
e579cd955b configure: require CUDA for gpustitch 2021-09-10 13:38:49 +02:00
Martin Piatka
b48aaf3900 configure.ac: gpustitch: don't enable if header not usable 2021-09-09 12:40:00 +02:00
Martin Pulec
3cc5281a40 Compile usleep only if not found
Do not use always our usleep implementation on MSW - MSYS2/CLANG64 has
its own implementation.
2021-09-06 13:32:06 +02:00
Martin Piatka
a4b9db6a27 hwaccel: expose hw_accel_state even if no hwaccel available 2021-08-12 14:57:28 +02:00
Martin Piatka
7d2c836d9a Lavd: Add videotoolbox decoding 2021-08-12 14:57:27 +02:00
Martin Pulec
1322de1659 Makefile: do not use .cu.o for CUDA objects
The suffix doesn't work well with dependencies - the stem is then
without .cu.o extension but the generated .d file is suffixed .cu.d.
2021-08-11 13:14:46 +02:00
Martin Pulec
2e3a78ff0f Configure/make: use realpath with python if cmd not avail 2021-07-20 09:43:57 +02:00
Martin Pulec
de36119322 Make: get VideoMasterHD directly from SDK
Removed data/redists/VideoMaster*.

Now it copies directly from SDK, paths need to be fixed as done with
.github/scripts/macOS/prepare_nonfree_sdks.sh.
2021-07-19 14:08:21 +02:00
Martin Piatka
532af88f91 Move Sdl_window to its own file
Although Sdl_window has some OpenGL code in it, it's not strictly
related to OpenGL. Because of that it doesn't make much sense to group
it with the other classes in opengl_utils.hpp
2021-07-02 16:36:17 +02:00
Martin Pulec
d47c708e9e Configure: detect also system zfec
Detect and use zfec provided by python-zfec3 in Ubuntu.

+ added option --with-zfec for custom path
2021-06-29 08:59:25 +02:00
Martin Pulec
ee801e6c38 Out-of-tree build fixes
- fixed when the build dir is not even in the tree (git)
- the path to QT worked only if $(srcdir) is relative (configure was
invoked with relative path)
2021-06-28 14:42:27 +02:00
Martin Pulec
6ac6715da5 Small cross-compile fixes
- $GENICAM_GENTL64_PATH may be defined in Linux but the path inside the
dir is then invalid when cross-compiling for Windows
- rang.hpp included transitively from video_frame_pool.cpp needs _WIN32_WINNT
at least to _WIN32_WINNT_VISTA prior including other headers - it is
defined in config_win32.h
2021-06-24 16:42:58 +02:00
Martin Pulec
0265ede451 configure.ac: prevent using AC_CHECK_FILE when cross_compiling 2021-06-24 16:42:58 +02:00