From ba451d691b1444bfe7cb897fbe68b691a7597736 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 8 Jul 2023 22:04:41 +0200 Subject: [PATCH] package/libde265: new package Optional dependency of the upcoming libheif package. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/libde265/Config.in | 12 ++++++++++++ package/libde265/libde265.hash | 3 +++ package/libde265/libde265.mk | 13 +++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/libde265/Config.in create mode 100644 package/libde265/libde265.hash create mode 100644 package/libde265/libde265.mk diff --git a/DEVELOPERS b/DEVELOPERS index 8dbe16b467..25d49b0fc3 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -365,6 +365,7 @@ F: package/libcec/ F: package/libdisplay-info/ F: package/libcodec2/ F: package/libcrossguid/ +F: package/libde265/ F: package/libdeflate/ F: package/libdrm/ F: package/libdvbcsa/ diff --git a/package/Config.in b/package/Config.in index 29a7daf6cc..d47c8e8f6b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1836,6 +1836,7 @@ menu "Multimedia" source "package/libbluray/Config.in" source "package/libcamera/Config.in" source "package/libcamera-apps/Config.in" + source "package/libde265/Config.in" source "package/libdvbcsa/Config.in" source "package/libdvbpsi/Config.in" source "package/libdvbsi/Config.in" diff --git a/package/libde265/Config.in b/package/libde265/Config.in new file mode 100644 index 0000000000..2436beff41 --- /dev/null +++ b/package/libde265/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBDE265 + bool "libde265" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + help + libde265 is an open source implementation of the h.265 video + codec. + + https://github.com/strukturag/libde265 + +comment "libde265 needs a toolchain w/ threads, C++" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/package/libde265/libde265.hash b/package/libde265/libde265.hash new file mode 100644 index 0000000000..168b5db395 --- /dev/null +++ b/package/libde265/libde265.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 62185ea2182e68cf68bba20cc6eb4c287407b509cf0a827d7ddb75614db77b5c libde265-1.0.12.tar.gz +sha256 02cc1585a20677992e0ba578fa692635dc193735f2691dc81de924b51c4e8020 COPYING diff --git a/package/libde265/libde265.mk b/package/libde265/libde265.mk new file mode 100644 index 0000000000..60424c0de6 --- /dev/null +++ b/package/libde265/libde265.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# libde265 +# +################################################################################ + +LIBDE265_VERSION = 1.0.12 +LIBDE265_SITE = https://github.com/strukturag/libde265/releases/download/v$(LIBDE265_VERSION) +LIBDE265_LICENSE = LGPL-3.0+ +LIBDE265_LICENSE_FILES = COPYING +LIBDE265_INSTALL_STAGING = YES + +$(eval $(cmake-package))