libx265: Update from 2.8 to 2.9

This commit is contained in:
Fredrik Fornwall 2018-10-20 22:21:56 +02:00
parent 3d44e4b2f9
commit da878492cb
5 changed files with 33 additions and 16 deletions

View File

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://ffmpeg.org
TERMUX_PKG_DESCRIPTION="Tools and libraries to manipulate a wide range of multimedia formats and protocols"
# NOTE: mpv has to be rebuilt and version bumped after updating ffmpeg.
TERMUX_PKG_VERSION=4.0.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97
TERMUX_PKG_SRCURL=https://www.ffmpeg.org/releases/ffmpeg-${TERMUX_PKG_VERSION}.tar.xz
# libbz2 is used by matroska decoder:

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/
TERMUX_PKG_DESCRIPTION="GStreamer Bad Plug-ins"
TERMUX_PKG_VERSION=1.14.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=910b4e0e2e897e8b6d06767af1779d70057c309f67292f485ff988d087aa0de5
TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_BUILD_IN_SRC=yes

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://x265.org/
TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream encoder library"
TERMUX_PKG_VERSION=2.8
TERMUX_PKG_SHA256=6e59f9afc0c2b87a46f98e33b5159d56ffb3558a49d8e3d79cb7fdc6b7aaa863
TERMUX_PKG_VERSION=2.9
TERMUX_PKG_SHA256=ebae687c84a39f54b995417c52a2fdde65a4e2e7ebac5730d251471304b91024
TERMUX_PKG_SRCURL=http://ftp.videolan.org/pub/videolan/x265/x265_${TERMUX_PKG_VERSION}.tar.gz
termux_step_pre_configure () {

View File

@ -0,0 +1,29 @@
https://bitbucket.org/multicoreware/x265/issues/442/detect512-is-needed-on-all-architectures
This function is used on all architectures, not just X86.
--- x265-2.9/source/common/cpu.cpp
+++ x265-2.9/source/common/cpu.cpp
@@ -110,6 +110,11 @@
{ "", 0 },
};
+bool detect512()
+{
+ return(enable512);
+}
+
#if X265_ARCH_X86
extern "C" {
@@ -123,10 +128,6 @@
#pragma warning(disable: 4309) // truncation of constant value
#endif
-bool detect512()
-{
- return(enable512);
-}
uint32_t cpu_detect(bool benableavx512 )
{

View File

@ -1,14 +0,0 @@
https://bitbucket.org/multicoreware/x265/commits/4504219210793536d921ee4e0b3058698c630bf4
diff -u -r ../x265_2.8/source/common/param.cpp ./source/common/param.cpp
--- ../x265_2.8/source/common/param.cpp 2018-05-21 08:33:10.000000000 +0000
+++ ./source/common/param.cpp 2018-06-26 03:48:16.649067505 +0000
@@ -633,7 +633,7 @@
if (bValueWasNull)
p->cpuid = atobool(value);
else
- p->cpuid = parseCpuName(value, bError);
+ p->cpuid = parseCpuName(value, bError, false);
#endif
}
OPT("fps")