summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* build: More robust failure on missing or old nasm.Bradley Sepos2018-01-101-1/+8
| | | | Since Linux and similar use system x264, avoid failure on missing/old nasm, since it should not be needed.
* build: Unclobber PATH when shunting build through Xcode.Bradley Sepos2018-01-101-0/+5
| | | | Tools shipping with Xcode are still in PATH, only moved from first to last priority. Avoids accidentally using old tools where a newer version is installed. This ensures the tools identified by configure will be the exact tools used by make via Xcode.
* build: Update configure.py to check for nasm >= 2.13.Bradley Sepos2018-01-101-0/+1
| | | | Required for recent x264. Better to fail here than part-way through a build.
* build: Additional hashbang compatibility for BSD-like systems.Bradley Sepos2017-12-032-2/+3
| | | | Fixes #1040.
* build: Update to config.guess 2017-11-07.Bradley Sepos2017-12-021-52/+49
|
* build: Make hashbangs more compatible.Bradley Sepos2017-12-021-1/+1
|
* build: Add support for Xcode Archive feature.Bradley Sepos2017-11-271-1/+2
|
* x265: add support for 8/10/12 bit encoding in single static lib (#975)John Stebbins2017-11-063-15/+30
| | | | Builds x265 three times, once for each bit depth. Then merges the static libs into one library that HandBrake can statically link against.
* build: Fix configure to report success when REV=0 in version.txt.Bradley Sepos2017-11-041-1/+1
| | | | Instead make sure we have a possibly sane HASH value.
* build: Quote variables in xcodemake.Bradley Sepos2017-09-061-9/+9
| | | | Partially fixes building in Xcode via Product > Archive.
* build: Configure options cosmetics.Bradley Sepos2017-06-211-7/+10
|
* build: Always enable Libav AAC when building with mingw-w64.Bradley Sepos2017-06-211-1/+1
|
* build: Update to config.guess 2017-03-05.Bradley Sepos2017-04-071-287/+223
| | | | Closes #652.
* Remove Fontconfig on Windows (#610)Oleg Oshmyan2017-03-121-4/+0
| | | | | | | | | | | * Remove Fontconfig on Windows Let libass use its DirectWrite font provider backend instead of Fontconfig. This eliminates Fontconfig's font cache generation delay that occurred at the start of an encode after a system font was (un)installed or when HandBrake was installed and used to burn text subtitles for the first time. * Remove LibHB's dependency on Fontconfig when it's not used
* configure: Modernize Python in configure.py.cclauss2017-03-041-50/+35
| | | | | | | | | file is a Python built-in (https://docs.python.org/2/library/functions.html?highlight=file#file) so it should be avoided as a variable name. Use "with open" syntax to automate file close where possible. os.getenv() will return None if the key is not in os.environ. Use ternary if to simplify conditional assignment where it improves, not hinders, readability. Closes #500.
* Unbreak non-mingw cross.Wouter van Kesteren2017-03-041-1/+1
| | | | | | | | | | | | | Strings in python are immutable and it results in: Traceback (most recent call last): File "make/configure.py", line 1592, in <module> action.run() File "make/configure.py", line 287, in run self._action() File "make/configure.py", line 506, in _action self.systemf[0] = self.systemf[0].upper() TypeError: 'str' object does not support item assignment
* disable fontconfig on macOSDamiano Galassi2017-01-181-1/+4
|
* build: Gracefully exit configure where version info is not present.Bradley Sepos2016-12-271-5/+10
| | | | configure.py fails hard when .git or version.txt are not present, usually when downloading a source archive from GitHub or other git-archive use. This allows configure to fail gracefully, printing instructions to work from a git clone or download a proper source archive.
* doc: Remove legacy documentation.Bradley Sepos2016-12-221-1/+0
| | | | Superseded by https://handbrake.fr/docs
* build: Add install, install-strip, and uninstall targets for Darwin/Mac.Bradley Sepos2016-12-221-1/+13
| | | | | | | Also refactor test.* convenience targets for Darwin/Mac. Configure parameter --prefix now sets HandBrakeCLI install directory [/usr/local] like on other systems. New configure parameter --xcode-prefix sets HandBrake.app install directory [/Applications]. Not used on other systems.
* build: Really ensure tag suffix is not None in configure.py.Bradley Sepos2016-12-181-2/+1
|
* build: Ensure tag suffix is not None in configure.py.Bradley Sepos2016-12-181-1/+2
|
* contrib: Use SHA256 instead of MD5 for contrib archive checksums.Justin Scholz2016-12-153-20/+20
| | | | Closes #356.
* build: Use UTC datetime for build info.Chris Lamb2016-09-091-3/+5
| | | | | | Makes build reproducible per https://wiki.debian.org/ReproducibleBuilds Signed-off-by: Chris Lamb <[email protected]>
* build: Add PKGCONFIG.exe tool.Bradley Sepos2016-09-031-0/+1
|
* contrib: Add opus audio encoder.John Stebbins2016-09-021-0/+1
| | | | | | | | | | Remove: hb_audio_samplerate_get_best() Add: hb_audio_samplerate_is_supported() hb_audio_samplerate_find_closest() hb_audio_samplerate_get_sr_shift()
* build: fix configure error created by flatpak commitJohn Stebbins2016-08-311-2/+2
|
* LinGui: Add flatpak support (#231)John Stebbins2016-08-302-0/+15
| | | | | | | | | | | | | | | | | | | | | | | * LinGui: add --flatpak configure option For building a linux flatpak bundle * LinGui: add rules to build flatpak repo and bundles * LinGui: add flatpak compatible icon * LinGui: add flatpak compatible desktop file * LinGui: add flatpak appdata xml * pkg: disable building LinGui when creating cli flatpak * pkg: clean flatpak build cache when updating source package * pkg: fix source package build dependencies Fixes errors when the git ref being packaged changes and you have not manually deleted stage and pkg build directories.
* configure: check for strerror_r()Sean McGovern2016-07-101-0/+21
|
* contrib: Update to pthreads-win32 2.9.1.Bradley Sepos2016-06-211-0/+1
|
* build: Avoid sending ANSI to Windows terminals.Bradley Sepos2016-05-251-1/+1
|
* contrib: Update to libass 0.13.2 and add HarfBuzz 1.2.6.Bradley Sepos2016-05-251-0/+1
| | | | | | | | | | | | HarfBuzz is now enabled when building libass. Resolves #162. Additional libass notes: - Add yasm dependency for better performance. - Remove no longer valid configure params. - Disable new coretext and directwrite font selection backends pending additional testing (coretext did not build properly).
* build: Add basic termination signal handling to df-*.py.Bradley Sepos2016-05-252-0/+20
|
* build: Add download jobs option and progress display.Bradley Sepos2016-05-253-4/+42
|
* Build: fix configure to escape $ for xcodeKonaBlend2016-05-251-1/+1
|
* Build: more fetch tweaksKonaBlend2016-05-252-13/+10
| | | | | | - df-fetch --disable: exit with error to stop make. - df-fetch raise error when no URLs specified, or available due to ACLs. - df-verify report errors consistent with df-fetch.
* Build: fix duplicate pkgconfig includeKonaBlend2016-05-251-0/+2
| | | | | pkgconfig module is specified twice by the build system, causing much grief. Caused when both local-autotools and local-pkgconfig are enabled.
* Build: add target contrib.fetch.testKonaBlend2016-05-253-3/+7
| | | | - remove configure --df-exhaust-url
* Build: add configure --df-exhaust-urlKonaBlend2016-05-253-6/+11
| | | | | Specifying this option will cause fetching to run through all active URLs. Decent way to test all URLs.
* Build: split fetch into df-fetch and df-verifyKonaBlend2016-05-257-308/+450
| | | | | | | - moved common python code to lib/hb_distfile.py - beautified tmpfile creation - added stack-style resource management to df-fetch - fixed contrib assumptions about single URL
* Build: add configure --verbose-fetchKonaBlend2016-05-252-4/+7
|
* Build: add target: contrib.verifyKonaBlend2016-05-252-11/+68
| | | | | New target sits between extract and fetch. Thus every build ensures that exach tarball is not corrupt before extract.
* Build: refactor fetch for contrib tarballsKonaBlend2016-05-257-33/+321
| | | | | | | | | | | | | | | | | | | | | | | | Fetch is now python-based and runs on the same version as does configure. The source script is make/fetch.py. New features: MD5 hash tracking for tarballs. Data values for all contribs added. Upon download, the file will be verified, and only then will it be moved into place inside downloads/ . Files that exist before the build system does a fetch will not be md5-checked. Multiple URLs for tarballs. Each module may specify one or more URLs and by convention the official HandBrake should be first when possible. Each URL is tried in sequence, and if it fails for any reason, the next URL is tried. If no URL succeeds, a hard-error is reported. Network fetching may be disabled via configure options. --disable-fetch will hard-error if a fetch is attempted. --accept-fetch-url=SPEC and --deny-fetch-url=SPEC offer an ACL-style mechanism using regex to match against URLs. For example, --accept-fecth-url='.*/download.handbrake.fr/.*' would skip any non-matching URLs. Build dependencies have been lightened. wget and curl are no longer required. TODO: GTK packaging should also be able to remove those deps.
* Add ability to set C++ standard (#195)John Stebbins2016-05-242-7/+11
| | | | | | * build: add ability to set c++ standard * fdk-aac: Fix building with g++ 6, set c++98 standard
* build: Increase max logical CPU cores to 64.Bradley Sepos2016-05-241-2/+2
|
* build: Update regex in configure.py to fix buggy Python versions.Bradley Sepos2016-05-241-1/+1
|
* remove dxva hw decode (#189)John Stebbins2016-05-171-3/+0
| | | | | | | | | * remove dxva hw decode It provides practically no speed increase even on a slow CPU and results in a speed decrease on fast CPUs. And the code is exceptionally fugly. * cli: remove USE_HWD
* build: fix regex probeJohn Stebbins2016-03-131-1/+1
|
* build: do not enable fdk-aac by defaultJohn Stebbins2016-02-101-1/+1
| | | | | | There is a license incompatibility with gpl :( (cherry picked from commit 6da861c9dc023e5b7cad648d596f571ee1214bbf)
* configure: use gm4 as a synonym for GNU m4Sean McGovern2015-10-071-1/+1
|