diff options
author | Bradley Sepos <[email protected]> | 2017-07-14 03:33:55 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2017-08-06 14:29:53 -0400 |
commit | b17018b5a420710637d8c7f0ea44c3b2f1ce4f2b (patch) | |
tree | 351fd1a320dea5ea2fa11f941f3ef8c1cb92a149 /contrib | |
parent | 0986b30c8296cd6275e406c6883d88833d2e1bc1 (diff) |
contrib: Update to x265 2.5.
Adds patch to workaround define issue for mingw.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/x265/P00-mingw-lib.patch | 11 | ||||
-rw-r--r-- | contrib/x265/module.defs | 8 |
2 files changed, 15 insertions, 4 deletions
diff --git a/contrib/x265/P00-mingw-lib.patch b/contrib/x265/P00-mingw-lib.patch new file mode 100644 index 000000000..5c822be0a --- /dev/null +++ b/contrib/x265/P00-mingw-lib.patch @@ -0,0 +1,11 @@ +--- x265_2.5/source/x265-extras.h.orig 2017-07-13 07:20:07.000000000 -0400 ++++ x265_2.5/source/x265-extras.h 2017-07-31 13:20:23.000000000 -0400 +@@ -33,7 +33,7 @@ + extern "C" { + #endif + +-#if _WIN32 ++#ifdef X265_API_IMPORTS + #define LIBAPI __declspec(dllexport) + #else + #define LIBAPI diff --git a/contrib/x265/module.defs b/contrib/x265/module.defs index 8c0d176da..a2df551ab 100644 --- a/contrib/x265/module.defs +++ b/contrib/x265/module.defs @@ -2,10 +2,10 @@ __deps__ := YASM CMAKE $(eval $(call import.MODULE.defs,X265,x265,$(__deps__))) $(eval $(call import.CONTRIB.defs,X265)) -X265.FETCH.url = https://download.handbrake.fr/contrib/x265_2.4.tar.gz -X265.FETCH.url += https://bitbucket.org/multicoreware/x265/downloads/x265_2.4.tar.gz -X265.FETCH.url += https://download.videolan.org/pub/videolan/x265/x265_2.4.tar.gz -X265.FETCH.sha256 = 9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729 +X265.FETCH.url = https://download.handbrake.fr/contrib/x265_2.5.tar.gz +X265.FETCH.url += https://bitbucket.org/multicoreware/x265/downloads/x265_2.5.tar.gz +X265.FETCH.url += https://download.videolan.org/pub/videolan/x265/x265_2.5.tar.gz +X265.FETCH.sha256 = 2e53259b504a7edb9b21b9800163b1ff4c90e60c74e23e7001d423c69c5d3d17 X265.CONFIGURE.exe = cmake X265.CONFIGURE.args.prefix = -DCMAKE_INSTALL_PREFIX="$(X265.CONFIGURE.prefix)" |