Kaynağa Gözat

libx265: update to 4.1

Waldemar Brodkorb 2 hafta önce
ebeveyn
işleme
8a4d70c531

+ 2 - 2
package/libx265/Makefile

@@ -4,8 +4,8 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		libx265
-PKG_VERSION:=		3.2
-PKG_HASH:=		364d79bcd56116a9e070fdeb1d9d2aaef1a786b4970163fb56ff0991a183133b
+PKG_VERSION:=		4.1
+PKG_HASH:=		a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29
 PKG_RELEASE:=		1
 PKG_DESCR:=		h265 encoding library
 PKG_SECTION:=		libs/video

+ 18 - 0
package/libx265/patches/patch-source_CMakeLists_txt

@@ -0,0 +1,18 @@
+--- x265_4.1.orig/source/CMakeLists.txt	2024-11-22 13:07:34.000000000 +0100
++++ x265_4.1/source/CMakeLists.txt	2025-10-05 03:09:19.216070894 +0200
+@@ -6,15 +6,9 @@ if(NOT CMAKE_BUILD_TYPE)
+         FORCE)
+ endif()
+ message(STATUS "cmake version ${CMAKE_VERSION}")
+-if(POLICY CMP0025)
+-    cmake_policy(SET CMP0025 OLD) # report Apple's Clang as just Clang
+-endif()
+ if(POLICY CMP0042)
+     cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH
+ endif()
+-if(POLICY CMP0054)
+-    cmake_policy(SET CMP0054 OLD) # Only interpret if() arguments as variables or keywords when unquoted
+-endif()
+ 
+ project (x265)
+ cmake_minimum_required (VERSION 2.8.8) # OBJECT libraries require 2.8.8