mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/stb: new package
This is a header only library which is required by the latest version of zxing-cpp. Include paths and pc file are based off of debian libstb package. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
12c430f880
commit
5f94d91ed8
@@ -1418,6 +1418,7 @@ F: package/rtl8192eu/
|
|||||||
F: package/serd/
|
F: package/serd/
|
||||||
F: package/sord/
|
F: package/sord/
|
||||||
F: package/sratom/
|
F: package/sratom/
|
||||||
|
F: package/stb/
|
||||||
F: package/zchunk/
|
F: package/zchunk/
|
||||||
F: support/testing/tests/package/sample_python_rtoml.py
|
F: support/testing/tests/package/sample_python_rtoml.py
|
||||||
F: support/testing/tests/package/test_python_rtoml.py
|
F: support/testing/tests/package/test_python_rtoml.py
|
||||||
|
|||||||
@@ -1600,6 +1600,7 @@ menu "Graphics"
|
|||||||
source "package/pixman/Config.in"
|
source "package/pixman/Config.in"
|
||||||
source "package/poppler/Config.in"
|
source "package/poppler/Config.in"
|
||||||
source "package/powervr/Config.in"
|
source "package/powervr/Config.in"
|
||||||
|
source "package/stb/Config.in"
|
||||||
source "package/tiff/Config.in"
|
source "package/tiff/Config.in"
|
||||||
source "package/unclutter-xfixes/Config.in"
|
source "package/unclutter-xfixes/Config.in"
|
||||||
source "package/waffle/Config.in"
|
source "package/waffle/Config.in"
|
||||||
|
|||||||
6
package/stb/Config.in
Normal file
6
package/stb/Config.in
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_STB
|
||||||
|
bool "stb"
|
||||||
|
help
|
||||||
|
Single-file image and audio processing libraries for C/C++.
|
||||||
|
|
||||||
|
https://github.com/nothings/stb
|
||||||
3
package/stb/stb.hash
Normal file
3
package/stb/stb.hash
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 c47cf5abe21e1d620afccd159c23fe71dfa86eb270015a7646a4f79e9bfd5503 stb-8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55.tar.gz
|
||||||
|
sha256 bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63 LICENSE
|
||||||
21
package/stb/stb.mk
Normal file
21
package/stb/stb.mk
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# stb
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
STB_VERSION = 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55
|
||||||
|
STB_SITE = $(call github,nothings,stb,$(STB_VERSION))
|
||||||
|
STB_LICENSE = Public Domain or MIT
|
||||||
|
STB_LICENSE_FILES = LICENSE
|
||||||
|
STB_INSTALL_STAGING = YES
|
||||||
|
STB_INSTALL_TARGET = NO
|
||||||
|
|
||||||
|
define STB_INSTALL_STAGING_CMDS
|
||||||
|
mkdir -p $(STAGING_DIR)/usr/include/stb
|
||||||
|
$(INSTALL) -m 0644 $(@D)/*.h $(STAGING_DIR)/usr/include/stb
|
||||||
|
$(INSTALL) -D -m 0644 $(STB_PKGDIR)/stb.pc \
|
||||||
|
$(STAGING_DIR)/usr/lib/pkgconfig/stb.pc
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
||||||
8
package/stb/stb.pc
Normal file
8
package/stb/stb.pc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
prefix=/usr
|
||||||
|
libdir=${prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: stb
|
||||||
|
Description: single-file image and audio processing libraries for C/C++
|
||||||
|
Version: 0.0
|
||||||
|
Cflags: -I${includedir}/stb
|
||||||
Reference in New Issue
Block a user