Commit Graph

356 Commits

Author SHA1 Message Date
Damiano Galassi 45d86b1edd
contrib: update SVT-AV1 to version 3.1.0 (#7075)
Removed cpuinfo, is no longer needed.
2025-07-28 17:46:00 +02:00
robxnano cca03252fb configure: Don't store --build flag in CONF.args
This causes `make reconfigure` to fail when a custom build dir
is set, as the configure command is run inside the build dir
but the flag makes it create another build dir inside that one.
The same problem occurs when `make ub` on macOS is used.
2025-07-27 08:10:00 +02:00
Damiano Galassi 2012ab9e67 contrib: add cpuinfo
Required by SVT-AV1.
2025-02-23 08:20:24 +01:00
dashsantosh-mcw b3923e03e0
build: generate pdb for llvm-mingw aarch64 builds (#6488) 2025-01-19 20:31:11 +00:00
Nomis101 a9f1ad7749 Update config.guess to version 2024-07-27 2024-10-25 07:14:30 +02:00
Joshua Stephenson 843040fdf8 Global replacement of passthrough with passthru 2024-10-19 11:43:21 +02:00
Marcos Mello e6fc4d25eb contrib: remove more mingw specific linker options
These options are irrelevant for static libraries. Follow-up for

a4136a42ec
2024-04-22 18:35:40 +02:00
John Stebbins 943939676b
cli: use pkg-config to compose library deps (#5956)
* cli: use pkg-config to compose library deps

Fixes https://github.com/HandBrake/HandBrake/issues/5954
2024-04-17 10:37:02 -06:00
Damiano Galassi e4496d2478 contrib: remove libxml2. 2024-03-30 21:44:28 +01:00
robxnano 4d52ef55a8 LinGUI: Updates to meson.build
- Fixes for building with Nix
- Remove unneeded resources list
2024-03-28 14:30:34 +01: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
Nomis101 60405a113d
build: make: Update to config.guess 2023-08-22. 2023-10-08 23:02:31 -04: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
Damiano galassi 913321013b libhb: add Metal accelerated pad yadif bwdif unsharp lapsharp chroma smooth grayscale filters. 2023-09-27 12:28:07 +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 9fce5fbffa Simplify modules in main.defs 2023-07-20 11:21:29 +02:00
robxnano fa671ea631 configure.py: Simplify BSD versions 2023-07-20 11:21:29 +02:00
robxnano 1ba1f05230 NetBSD: Build fixes
- Update python versions
- Add libjpeg-turbo to modules to avoid conflict
- Fix failure to make metainfo file
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
FeRD (Frank Dana) 48f221cfe6
make: Fix df-* usage, remove Python3 note 2022-12-17 15:19:24 -05: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
Bradley Sepos 6f209f1665
build: Allow CFLAGS to override hardcoded SSE2 for x86. 2022-11-30 19:54:15 -05:00
Brad Smith 536045d749 build: Add OpenBSD support. 2022-10-01 02:58:46 -04:00
Damiano galassi 7837d86d94 contrib: add sse2neon. 2022-09-27 06:56:05 +02: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
Damiano Galassi 2763cb83ef contrib: libhb: ui: add svt-av1. 2022-06-01 07:49:53 +02:00
John Stebbins 1f8684d0ef flatpak: Use HandBrake's make rules for building libass
I took a shortcut when adding libass for flatpaks by putting the build
instructions in the flatpak manifest. It's been a maintenance problem
ever since keeping them in sync. This puts everything back into the
hands of HandBrake's build system.
2022-05-20 08:42:41 -07: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
galinart e7f43552ff qsv: enable onevpl instead of libmfx
Intel oneVPL is a successor to MediaSDK, but removed some obsolete
features of MediaSDK[1] including OPAQUE memory, multi-frame encode, user plugins and LA_EXT rate control mode
etc.

No regressions are expected and observed for existing HandBrake codebase, since oneVPL dispatcher expected to replace mfx_dispatcher smoothly
and have backward compatibility support[3].

All future Intel QSV features will utilize oneVPL interfaces[2].

More details:
[1] https://spec.oneapi.com/versions/latest/elements/oneVPL/source/appendix/VPL_intel_media_sdk.html
[2] https://github.com/oneapi-src/oneVPL
[3] https://software.intel.com/content/www/us/en/develop/articles/upgrading-from-msdk-to-onevpl.html
2021-10-02 20:35:23 +01:00
freddii 1fbc0da51f fixed typos 2021-02-25 18:46:31 +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