fix libde265 on arm

This commit is contained in:
Lucy Phipps 2021-08-04 16:31:16 +01:00
parent 902016b3b6
commit 65037354e3
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
5 changed files with 15 additions and 2 deletions

View File

@ -12,6 +12,7 @@ TERMUX_PKG_CONFLICTS="libav"
TERMUX_PKG_BREAKS="ffmpeg-dev"
TERMUX_PKG_REPLACES="ffmpeg-dev"
termux_step_configure() {
cd $TERMUX_PKG_BUILDDIR

View File

@ -26,6 +26,7 @@ TERMUX_PKG_RM_AFTER_INSTALL="
share/ImageMagick-7/francais.xml
"
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
#Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'"

View File

@ -0,0 +1,13 @@
diff --git a/arm.h b/arm.h
index d64172ab9..6a9de311e 100644
--- a/arm.h
+++ b/arm.h
@@ -21,7 +21,7 @@
#ifndef LIBDE265_ARM_H
#define LIBDE265_ARM_H
-#include "acceleration.h"
+#include "../acceleration.h"
void init_acceleration_functions_arm(struct acceleration_functions* accel);

View File

@ -6,4 +6,3 @@ TERMUX_PKG_VERSION=1.0.8
TERMUX_PKG_SRCURL=https://github.com/strukturag/libde265/releases/download/v$TERMUX_PKG_VERSION/libde265-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sherlock265"

View File

@ -6,4 +6,3 @@ TERMUX_PKG_VERSION=1.12.0
TERMUX_PKG_SRCURL=https://github.com/strukturag/libheif/releases/download/v$TERMUX_PKG_VERSION/libheif-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718
TERMUX_PKG_DEPENDS="libde265, libx265, libdav1d, libaom"