libde265: update to 1.0.11

This commit is contained in:
Rudi Heitbaum 2023-01-28 02:44:21 +00:00
parent de8e724568
commit 51d38c5217
2 changed files with 2 additions and 28 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libde265"
PKG_VERSION="1.0.9"
PKG_SHA256="29bc6b64bf658d81a4446a3f98e0e4636fd4fd3d971b072d440cef987d5439de"
PKG_VERSION="1.0.11"
PKG_SHA256="2f8f12cabbdb15e53532b7c1eb964d4e15d444db1be802505e6ac97a25035bab"
PKG_LICENSE="LGPLv3"
PKG_SITE="http://www.libde265.org"
PKG_URL="https://github.com/strukturag/libde265/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"

View File

@ -1,26 +0,0 @@
commit 657a6ea9161d1afe780bb46c4df0e95473353e6b
Author: Rudi Heitbaum <rudi@heitbaum.com>
Date: Sun Sep 4 00:45:25 2022 +0000
Add CMake options ENABLE_DECODER and ENABLE_ENCODER
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff93c52..160dbb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,6 +68,13 @@ if(MSVC)
add_definitions(-DHAVE_STDBOOL_H)
endif()
+option(ENABLE_DECODER "Enable Decoder" ON)
+option(ENABLE_ENCODER "Enable Encoder" ON)
+
add_subdirectory (libde265)
-add_subdirectory (dec265)
-add_subdirectory (enc265)
+if (ENABLE_DECODER)
+ add_subdirectory (dec265)
+endif()
+if (ENABLE_ENCODER)
+ add_subdirectory (enc265)
+endif()