Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From 3547055ba135dc1d8aacea68f16456aabb8c0a91 Mon Sep 17 00:00:00 2001
|
||||
From: Waldemar Brodkorb <wbx@openadk.org>
|
||||
Date: Fri, 23 Aug 2024 06:11:43 +0200
|
||||
Subject: [PATCH] use a function instead of a macro for jpeg detection
|
||||
|
||||
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
Upstream: https://github.com/amadvance/fbv/pull/1
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3fa4666..fc65903 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -28,8 +28,8 @@ AC_SEARCH_LIBS([png_create_read_struct], [png], [
|
||||
]
|
||||
)
|
||||
|
||||
-AC_SEARCH_LIBS([jpeg_create_decompress], [jpeg], [
|
||||
- LIBS="-ljpeg"
|
||||
+AC_SEARCH_LIBS([jpeg_start_decompress], [jpeg], [
|
||||
+ LIBS="$LIBS -ljpeg"
|
||||
CFLAGS="$CFLAGS -DFBV_SUPPORT_JPEG"
|
||||
], [
|
||||
]
|
||||
--
|
||||
2.39.2
|
||||
|
||||
26
package/fbv/Config.in
Normal file
26
package/fbv/Config.in
Normal file
@@ -0,0 +1,26 @@
|
||||
config BR2_PACKAGE_FBV
|
||||
bool "fbv"
|
||||
help
|
||||
fbv is a very simple graphic file viewer for the framebuffer
|
||||
console, capable of displaying JPEG, PNG and BMP files
|
||||
using libjpeg and libpng.
|
||||
|
||||
https://github.com/amadvance/fbv
|
||||
|
||||
if BR2_PACKAGE_FBV
|
||||
|
||||
config BR2_PACKAGE_FBV_PNG
|
||||
bool "PNG support"
|
||||
default y
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
Enable support for PNG using libpng.
|
||||
|
||||
config BR2_PACKAGE_FBV_JPEG
|
||||
bool "JPEG support"
|
||||
default y
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
Enable support for JPEG using IJG's libjpeg.
|
||||
|
||||
endif # BR2_PACKAGE_FBV
|
||||
3
package/fbv/fbv.hash
Normal file
3
package/fbv/fbv.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d18505f95546adb8175652e971d9ab3f2bece6ed21d72ff8e62881caa286a22b fbv-7c2000804226ca860ca80f3baa993582e29aa1a2.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
33
package/fbv/fbv.mk
Normal file
33
package/fbv/fbv.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# fbv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FBV_VERSION = 7c2000804226ca860ca80f3baa993582e29aa1a2
|
||||
FBV_SITE = $(call github,amadvance,fbv,$(FBV_VERSION))
|
||||
FBV_LICENSE = GPL-2.0
|
||||
FBV_LICENSE_FILES = COPYING
|
||||
FBV_AUTORECONF = YES
|
||||
|
||||
### image format dependencies and configure options
|
||||
FBV_DEPENDENCIES = # empty
|
||||
FBV_CONFIGURE_OPTS = # empty
|
||||
ifeq ($(BR2_PACKAGE_FBV_PNG),y)
|
||||
FBV_DEPENDENCIES += libpng
|
||||
|
||||
# libpng in turn depends on other libraries
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
FBV_CONFIGURE_OPTS += "--libs=`$(PKG_CONFIG_HOST_BINARY) --libs libpng`"
|
||||
endif
|
||||
|
||||
else
|
||||
FBV_CONFIGURE_OPTS += --without-libpng
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_FBV_JPEG),y)
|
||||
FBV_DEPENDENCIES += jpeg
|
||||
else
|
||||
FBV_CONFIGURE_OPTS += --without-libjpeg
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user