summaryrefslogtreecommitdiffstats
path: root/make/configure.py
Commit message (Collapse)AuthorAgeFilesLines
* Build: Make --enable-qsv MinGW and Linux only. #1060sr552018-01-231-1/+1
|
* build: Add FreeBSD support.Yuichiro NAITO2018-01-131-5/+15
| | | | Closes #1076.
* 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: 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: 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: 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
|
* 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
* 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.
* 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
|
* 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: fix configure error created by flatpak commitJohn Stebbins2016-08-311-2/+2
|
* LinGui: Add flatpak support (#231)John Stebbins2016-08-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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
|
* build: Add download jobs option and progress display.Bradley Sepos2016-05-251-0/+2
|
* Build: fix configure to escape $ for xcodeKonaBlend2016-05-251-1/+1
|
* Build: add target contrib.fetch.testKonaBlend2016-05-251-2/+0
| | | | - remove configure --df-exhaust-url
* Build: add configure --df-exhaust-urlKonaBlend2016-05-251-0/+2
| | | | | 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-251-20/+26
| | | | | | | - 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-251-0/+2
|
* Build: refactor fetch for contrib tarballsKonaBlend2016-05-251-16/+58
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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
|
* build: changes to version numbering and build processJohn Stebbins2015-09-231-18/+66
| | | | | | Use date/time for snapshot version numbers, YYYYMMDDHHMMSS-hash-branch. Add --snapshot configure option to force snapshot builds. repo-info.sh and tag-release.sh improvements.
* build: fix errors in last commitJohn Stebbins2015-08-251-1/+1
| | | | Thanks BradleyS
* build: use git version info instead of svnJohn Stebbins2015-08-251-74/+78
| | | | | | Migrate from svn to git. Since our build system automatically generates version info from the svn repo, this needs to change when we move the repo to git.
* Move strtok_r fallback to dedicated "compat" files.Rodeo2015-04-101-0/+15
| | | | | | | Also, check whether the toolchain already provides strtok_r instead of building it unconditionally. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7076 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: fix linux i686 buildjstebbins2015-01-301-2/+1
| | | | | | | Adds -msse2 to compiler flags which is needed by new nlmeans sse acceleration git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6837 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: fix mingw Jenkins buildsjstebbins2015-01-191-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6773 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Work around fedora mingw pthread library requirementjstebbins2015-01-181-1/+4
| | | | | | | | | | Fedora mingw seems to require it's own pthread library which causes build conflicts with our pthread lib. So this patch distinguishes whether libpthread or libpthreadGC2 is already installed on the system and uses the appropriate system lib when found. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Set Version to 0.10.0sr552014-11-211-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6531 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: Add libgnurx to provide POSIX regex on Windows.bradleys2014-10-151-0/+38
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6445 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: add cmake contrib for building x265 on osxjstebbins2014-08-201-0/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6328 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Using https for all appcast urlssr552014-08-191-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6315 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: remove mp4v2 and libmkv dependenciesjstebbins2014-08-181-16/+2
| | | | | | | ...and enable x265 by default git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove libfaacsr552014-03-021-5/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Add cpuid inline asm macrojstebbins2014-02-151-0/+5
| | | | | | | | This eliminates our reliance on the private (unexported) libavutil function ff_cpu_cpuid(). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Missing in last commit. Also by Zhang Zhiqiang. Thanks!Rodeo2014-02-101-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: use a local version of pkg-config when necessary (Darwin-only).Rodeo2014-02-071-0/+9
| | | | | | | | Automatically enabled when pkg-config detection fails, and can be forced with the --enable-local-pkgconfig configure option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6019 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: add parsing of version info from version.txt filejstebbins2014-01-271-0/+28
| | | | | | | | | | | This makes it possible to have proper version numbers in the build when the source tree does not come from svn (e.g. a tarball). Also, automatically adds version.txt to our source tar that is created with "make pkg.create". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6005 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove contrib mpeg2decjstebbins2014-01-131-3/+0
| | | | | | | | We no longer need mpeg2dec. libav now has all the features we need for mpeg2 decoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* OpenCL: use the new library loading architecture for all OpenCL code.Rodeo2013-11-081-3/+0
| | | | | | | | | | | An OpenCL SDK is no longer needed to build OpenCL support. Note: as a result, the --enable-opencl configure option is removed. Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Merging-in the OpenCL Scaling code from the OpenCL branch to trunk. sr552013-09-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc, OpenCL: This patch implements Bicubic Scaling in OpenCL. Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later. Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness. When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU. Hardware Decode via DXVA: We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU. This is only available on input sources that use the libav decode path. Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process. Requires OpenCL 1.1 or later supporting GPU. Front end changes and testing framework are not included in this patch. This will be resolved later. Patch will be revised further before the UI is implemented. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5792 b64f7644-9d1e-0410-96f1-a4d463321fa5