Browse Source

libx265: Update from 2.9 to 3.0

android-5
Fredrik Fornwall 6 years ago
parent
commit
8d54728cab
  1. 2
      packages/ffmpeg/build.sh
  2. 4
      packages/libx265/build.sh
  3. 29
      packages/libx265/enable512.patch

2
packages/ffmpeg/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tools and libraries to manipulate a wide range of multim
TERMUX_PKG_LICENSE="GPL-3.0"
# NOTE: mpv has to be rebuilt and version bumped after updating ffmpeg.
TERMUX_PKG_VERSION=4.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=a38ec4d026efb58506a99ad5cd23d5a9793b4bf415f2c4c2e9c1bb444acd1994
TERMUX_PKG_SRCURL=https://www.ffmpeg.org/releases/ffmpeg-${TERMUX_PKG_VERSION}.tar.xz
# libbz2 is used by matroska decoder:

4
packages/libx265/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=http://x265.org/
TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream encoder library"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.9
TERMUX_PKG_SHA256=ebae687c84a39f54b995417c52a2fdde65a4e2e7ebac5730d251471304b91024
TERMUX_PKG_VERSION=3.0
TERMUX_PKG_SHA256=c5b9fc260cabbc4a81561a448f4ce9cad7218272b4011feabc3a6b751b2f0662
TERMUX_PKG_SRCURL=http://ftp.videolan.org/pub/videolan/x265/x265_${TERMUX_PKG_VERSION}.tar.gz
termux_step_pre_configure () {

29
packages/libx265/enable512.patch

@ -1,29 +0,0 @@
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 )
{
Loading…
Cancel
Save