fix libde265 on arm
This commit is contained in:
parent
902016b3b6
commit
65037354e3
@ -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
|
||||
|
||||
|
@ -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'"
|
||||
|
13
packages/libde265/arm.h.patch
Normal file
13
packages/libde265/arm.h.patch
Normal 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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user