Browse Source

package/libde265: new package

Optional dependency of the upcoming libheif package.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 2 years ago
parent
commit
ba451d691b
5 changed files with 30 additions and 0 deletions
  1. 1 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 12 0
      package/libde265/Config.in
  4. 3 0
      package/libde265/libde265.hash
  5. 13 0
      package/libde265/libde265.mk

+ 1 - 0
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/

+ 1 - 0
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"

+ 12 - 0
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

+ 3 - 0
package/libde265/libde265.hash

@@ -0,0 +1,3 @@
+# Locally computed
+sha256  62185ea2182e68cf68bba20cc6eb4c287407b509cf0a827d7ddb75614db77b5c  libde265-1.0.12.tar.gz
+sha256  02cc1585a20677992e0ba578fa692635dc193735f2691dc81de924b51c4e8020  COPYING

+ 13 - 0
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))