Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Fix static build
|
||||
|
||||
fbgrab links against libpng, which depends on libm. For shared library
|
||||
builds, there is nothing special to do about this, but for static
|
||||
library builds, it is necessary to pass -lm when linking fbgrab.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -12,7 +12,7 @@
|
||||
all: fbgrab fbgrab.1.gz
|
||||
|
||||
fbgrab: fbgrab.c
|
||||
- $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) $< -lpng -lz -o $@
|
||||
+ $(CC) -g -Wall $(CFLAGS) $(LDFLAGS) $< -lpng -lz -lm -o $@
|
||||
|
||||
fbgrab.1.gz: fbgrab.1.man
|
||||
$(GZIP) $(GZIPFLAGS) $< > $@
|
||||
8
deprecated/firmware/buildroot/package/fbgrab/Config.in
Normal file
8
deprecated/firmware/buildroot/package/fbgrab/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_FBGRAB
|
||||
bool "fbgrab"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
FBGrab is a framebuffer screenshot program, capturing the linux
|
||||
frambuffer and converting it to a png-picture.
|
||||
|
||||
http://fbgrab.monells.se/
|
||||
2
deprecated/firmware/buildroot/package/fbgrab/fbgrab.hash
Normal file
2
deprecated/firmware/buildroot/package/fbgrab/fbgrab.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 5fab478cbf8731fbacefaa76236a8f8b38ccff920c53b3a8253bc35509fba8ed fbgrab-1.3.tar.gz
|
||||
21
deprecated/firmware/buildroot/package/fbgrab/fbgrab.mk
Normal file
21
deprecated/firmware/buildroot/package/fbgrab/fbgrab.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# fbgrab
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FBGRAB_VERSION = 1.3
|
||||
FBGRAB_SITE = http://fbgrab.monells.se
|
||||
FBGRAB_DEPENDENCIES = libpng
|
||||
FBGRAB_LICENSE = GPLv2
|
||||
FBGRAB_LICENSE_FILES = COPYING
|
||||
|
||||
define FBGRAB_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define FBGRAB_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/fbgrab $(TARGET_DIR)/usr/bin/fbgrab
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user