From a2fba34b0ff42eb514beb2e02fd9fe511f157517 Mon Sep 17 00:00:00 2001 From: Ing Date: Sun, 6 Aug 2023 21:12:12 +0800 Subject: [PATCH] add libsixel test --- external/Config.in | 1 + external/libsixel/Config.in | 8 ++++++++ external/libsixel/libsixel.hash | 1 + external/libsixel/libsixel.mk | 17 +++++++++++++++++ files/configs/arpl_defconfig | 1 + 5 files changed, 28 insertions(+) create mode 100644 external/libsixel/Config.in create mode 100644 external/libsixel/libsixel.hash create mode 100644 external/libsixel/libsixel.mk diff --git a/external/Config.in b/external/Config.in index b9939879..e10e5784 100644 --- a/external/Config.in +++ b/external/Config.in @@ -1,2 +1,3 @@ +source "$BR2_EXTERNAL_ARPL_PATH/libsixel/Config.in" source "$BR2_EXTERNAL_ARPL_PATH/r8125/Config.in" source "$BR2_EXTERNAL_ARPL_PATH/r8169/Config.in" \ No newline at end of file diff --git a/external/libsixel/Config.in b/external/libsixel/Config.in new file mode 100644 index 00000000..4b491c2d --- /dev/null +++ b/external/libsixel/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBSIXEL + bool "libsixel" + depends on BR2_USE_MMU + help + This package provides encoder/decoder implementation for + DEC SIXEL graphics, and some converter programs. + + https://github.com/saitoha/libsixel diff --git a/external/libsixel/libsixel.hash b/external/libsixel/libsixel.hash new file mode 100644 index 00000000..8a35a080 --- /dev/null +++ b/external/libsixel/libsixel.hash @@ -0,0 +1 @@ +sha256 f555dd6fbc4b6a79b29670472a8d0455699901342ef6eda9e178e067fc6e0b60 libsixel-6a5be8b72d84037b83a5ea838e17bcf372ab1d5f.tar.gz diff --git a/external/libsixel/libsixel.mk b/external/libsixel/libsixel.mk new file mode 100644 index 00000000..de643ed0 --- /dev/null +++ b/external/libsixel/libsixel.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libsixel +# +################################################################################ +# 6a5be8b72d84037b83a5ea838e17bcf372ab1d5f is v1.8.6 commit ID +LIBSIXEL_VERSION = 6a5be8b72d84037b83a5ea838e17bcf372ab1d5f +LIBSIXEL_SITE = $(call github,saitoha,libsixel,$(LIBSIXEL_VERSION)) +LIBSIXEL_LICENSE = MIT +LIBSIXEL_LICENSE_FILES = LICENSE + +LIBSIXEL_CPE_ID_VENDOR = libsixel_project +LIBSIXEL_INSTALL_STAGING = YES +LIBSIXEL_AUTORECONF = YES + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/files/configs/arpl_defconfig b/files/configs/arpl_defconfig index 3b24622c..4690af90 100644 --- a/files/configs/arpl_defconfig +++ b/files/configs/arpl_defconfig @@ -120,5 +120,6 @@ BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_E2FSPROGS=y # ARPL external packages (in /root/arpl-i18n/external) # +BR2_PACKAGE_LIBSIXEL=y BR2_PACKAGE_R8125=y BR2_PACKAGE_R8169=y \ No newline at end of file