218 Commits

Author SHA1 Message Date
Joshua Stephenson
843040fdf8 Global replacement of passthrough with passthru 2024-10-19 11:43:21 +02:00
robxnano
50d6a5db29 LinGUI: Use GtkMediaStream for video preview
This API was introduced in GTK4 and handles video playback via
gstreamer or ffmpeg. Removed the gstreamer build dependency as it
is no longer needed.
2024-03-02 17:36:24 +01:00
robxnano
a5f82aaf50 LinGUI: Preparation for GTK4 port
- Remove --enable-gtk4 option from build system
- Remove files which are no longer needed
2024-01-26 08:01:58 +01:00
robxnano
c80c488844 configure: Use Python f-strings to simplify script 2024-01-26 08:01:58 +01:00
robxnano
5b07fc57c0 configure: Use raw strings for all regexes
Python 3.12 adds a warning for invalid escape sequences (although
they were deprecated since 3.6). Using raw strings in all regexes
avoids it. Fixes #5454.
2023-10-18 08:20:50 +02:00
robxnano
28d0659021 configure: Don't try to use line buffering for stdout
Fixes the Python 'RuntimeWarning: line buffering (buffering=1) isn't
supported in binary mode, the default buffer size will be used'
error seen in the build output.
2023-10-18 08:20:50 +02:00
robxnano
6ccaed121a configure: Pass launcher exit code to script
The configure script will now return a non-zero exit code if it
is called with --launch and the underlying make process fails.
Previously it always returned 0.
2023-10-18 08:20:50 +02:00
robxnano
423adf1910 configure: Show correct message when build fails 2023-10-18 08:20:50 +02:00
robxnano
7e3d785874 LinGUI: Port to Meson build system
- Add update notes to metainfo.xml
- Clean up legacy build files
- Reorganize gtk source directory
- Add centralized set of cross files for all Meson projects
2023-10-07 07:52:51 +02:00
robxnano
bfc31f0438 configure: Allow GTK only on supported platforms
- Supported on Linux, FreeBSD, OpenBSD, NetBSD, and MinGW
- Simplified support checks in configure.py
2023-07-20 11:21:29 +02:00
robxnano
9914e6669f Enable GTK by default on Linux and BSD only
It can be enabled on other operating systems with --enable-gtk
2023-07-20 11:21:29 +02:00
robxnano
3901524b2f configure: Pass launcher return code to shell
Needed to detect failures in CI.
2023-07-20 11:21:29 +02:00
robxnano
e983795334 configure.py: Show passthrough arguments
- Don't turn arguments of the form --arg=value into exports
2023-07-20 11:21:29 +02:00
robxnano
e3c0c19fec configure.py: Use colors for terminal output
- The control characters for the colored text will only be used if
the output is being sent to a terminal
- Error messages have been consolidated into a single function
2023-07-20 11:21:29 +02:00
robxnano
c7946c4a62 configure.py: Simplify GTK flags 2023-07-20 11:21:29 +02:00
robxnano
fa671ea631 configure.py: Simplify BSD versions 2023-07-20 11:21:29 +02:00
robxnano
eb4b57f8df configure Add wildcard to mingw32 host triples
MinGW now has clang64 and ucrt64 as alternative repositories,
linked against the newer UCRT library. This allows the configure
options to be displayed when they're used.
2023-04-13 07:54:59 +02:00
robxnano
c1e48d5c70 LinGUI: Remove update checker
The update checker didn't work and could not be built on any recent
Linux distribution. Linux updates are handled by Flatpak or the
distribution.
configure.py will error out if the --disable-gtk-update-checks
flag is used. This is to avoid the flag being passed to make and
giving an error anyway.
2023-03-26 21:11:06 +01:00
Damiano galassi
ffad5aa2e8 contrib: add libdovi. 2023-02-06 16:33:19 +01:00
Bradley Sepos
a78277fe9a
build: contrib: Add configuration option to specify link time optimization.
None, off, on, thin supported.

Co-authored-by: Nomis101 <Nomis101@web.de>
2022-11-30 20:01:37 -05:00
Bradley Sepos
966eea4630
build: Add configuration option to specify CPU target for compilation.
None, native are supported.

Co-authored-by: Nomis101 <Nomis101@web.de>
2022-11-30 20:00:24 -05:00
Brad Smith
536045d749 build: Add OpenBSD support. 2022-10-01 02:58:46 -04:00
sr55
fc7925bbde
nvdec: Added configure options --enable-nvdec and --disable-nvdec. You must now explicltiy opt-in when compiling. Updated the Github CI builds to opt-in. Improved the Windows UI code to handle this.
Also added debug logging which can be turned on by -v3 to see what filter is causing software fallback. (this will be a bit log spamy due to it's repeated usage)
2022-09-26 18:35:11 +01:00
Bradley Sepos
ea0a4fbf2a build: Require autoconf 2.71.0 on macOS in configure.py.
See 8911871500.
2022-01-07 11:13:34 +01:00
Damiano Galassi
7f27b5ece8
configure: redirect stderr to dev/null in VersionProbe to avoid reading xcodebuild internal warnings on macOS. 2021-12-31 09:25:26 +01:00
galinart
ec900e209e qsv: add cmake 3.16.3 as minimum supported version requirement for oneVPL 2021-10-02 20:35:23 +01:00
Bradley Sepos
5e1473c632
make: Simplify feature check cosmetics in configure.py. 2021-02-20 16:22:34 -05:00
Bradley Sepos
336246294a
make: Make mingw stuffs arch-specific in configure.py. 2021-02-20 16:22:33 -05:00
Bradley Sepos
abd8ec5a07
Only allow enabling MediaFoundation encoder on aarch64-w64-mingw32.
Disabled by default for now; use `--enable-mf` to enable.
2021-02-20 16:22:33 -05:00
Bradley Sepos
b59b412cb9
Gate MediaFoundation encoder behind --enable-mf.
Windows (mingw-w64) only for now.
2021-02-20 16:22:33 -05:00
Bradley Sepos
ba1c94aae1
make: configure: Enable hardening and sandboxing by default.
Add configure options to disable each.
2020-11-08 15:58:49 -05:00
Damiano Galassi
e8d7f67f0b contrib: combine some checks and cosmetics. 2020-11-05 09:49:16 +01:00
Damiano Galassi
b7de6666eb make: Improve setting host system in configure.py where arch or xcode-config is set.
Assists building for arm64-apple-darwin (Apple Silicon) on x86_64-apple-darwin.
2020-11-05 09:49:16 +01:00
Bradley Sepos
ffe471d698 build: make: Use proper comparison operator in configure.py. 2020-08-05 12:32:23 +02:00
Bradley Sepos
36ed8f5592 build: make: Another configure.py update for Apple Silicon. 2020-08-05 12:32:23 +02:00
Bradley Sepos
9c75ba45cc
build: make: Do not fail configuring where Xcode is disabled and xcodebuild is not found.
Bug introduced in ead95407ccee69b39ef767aebca714bcfd07237c. Fixes #3048.
2020-08-01 21:55:01 -04:00
Bradley Sepos
bc36487254
build: make: Map aarch64-* to arm64-* for Apple Silicon in configure.py. 2020-08-01 02:30:05 -04:00
Bradley Sepos
9b008b0f36
build: make: Cosmetic in configure.py.
Doh.
2020-08-01 01:50:07 -04:00
Bradley Sepos
5aeafdf12a
build: make: Switch Apple Silicon tuple in configure.py to aarch64-*.
Seems what upstream config.guess is using in lieu of arm64-*.
2020-08-01 01:49:18 -04:00
Bradley Sepos
945daa267c
build: make: Add Apple Silicon tuple to configure.py. 2020-08-01 01:33:34 -04:00
Bradley Sepos
b85d8d46d9
make: Fix mingw pthread conditional in configure.py. 2020-07-22 18:43:37 -04:00
Bradley Sepos
0b6b684763
build: pkg: Fix git short hash to be dynamic.
Instead of using the short hash provided by git via our repo info script, we were truncating the full hash to a fixed length.
2020-05-03 12:33:42 -04:00
Bradley Sepos
eed5cbdd84
make: Relax automake and pkg-config version requirements.
Affects older systems like CentOS 7. These were stricter than needed.
2020-03-26 13:15:47 -04:00
Martin Storsjö
3bbe831a29 configure: Don't enable nvenc by default when targeting arm windows
ffmpeg's configure explicitly disables the ffnvcodec component
(needed for nvenc) on architectures other than x86 and ppc64 (see
line 6661 in ffmpeg's configure).
2020-03-14 21:14:57 +00:00
Bradley Sepos
fc861815e6
build: libhb: cli: Improve support for NetBSD. 2020-02-10 16:40:03 -05:00
Jan Beich
d4a1f1be6c
qsv: add support for FreeBSD 2020-01-23 02:55:00 -05:00
Nomis101
88b4faef0f
build: Add --optimize=size-aggressive (-Oz).
Compiles with -Oz. -Oz is like -Os but further reduces total size even at the expense of speed.
2020-01-16 21:31:45 -05:00
Bradley Sepos
b2654509d5
build: make: Reduce required pkg-config version to 0.29 in configure.py. 2019-11-29 11:25:58 -05:00
sr55
6d7f540faf Resolve Rebase 2019-11-15 22:14:47 +00:00
Bradley Sepos
0ba5561880
Revert "make: Print unsupported status of FFmpeg AAC on Darwin/macOS in configure.py."
Actually is supported; I was passing the wrong parameter to configure.

This reverts commit 19088348e2f397defd92ee554b283b8b681d2517.
2019-10-25 15:16:23 -04:00