mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/tinifier: new package
This is a Go package that needs vendor modules to be downloaded at build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Christian Stewart <christian@paral.in>
This commit is contained in:
@@ -2787,6 +2787,7 @@ F: package/rtc-tools/
|
|||||||
F: package/sam-ba/
|
F: package/sam-ba/
|
||||||
F: package/scons/
|
F: package/scons/
|
||||||
F: package/squashfs/
|
F: package/squashfs/
|
||||||
|
F: package/tinifier/
|
||||||
F: package/wayland/
|
F: package/wayland/
|
||||||
F: package/weston/
|
F: package/weston/
|
||||||
F: support/testing/tests/boot/test_syslinux.py
|
F: support/testing/tests/boot/test_syslinux.py
|
||||||
|
|||||||
@@ -314,6 +314,7 @@ comment "Graphic applications"
|
|||||||
source "package/rrdtool/Config.in"
|
source "package/rrdtool/Config.in"
|
||||||
source "package/stellarium/Config.in"
|
source "package/stellarium/Config.in"
|
||||||
source "package/tesseract-ocr/Config.in"
|
source "package/tesseract-ocr/Config.in"
|
||||||
|
source "package/tinifier/Config.in"
|
||||||
|
|
||||||
comment "Graphic libraries"
|
comment "Graphic libraries"
|
||||||
source "package/cegui/Config.in"
|
source "package/cegui/Config.in"
|
||||||
|
|||||||
10
package/tinifier/Config.in
Normal file
10
package/tinifier/Config.in
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
config BR2_PACKAGE_TINIFIER
|
||||||
|
bool "tinifier"
|
||||||
|
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||||
|
help
|
||||||
|
CLI tool for images compressing
|
||||||
|
|
||||||
|
This tool uses tinypng.com API endpoint for compressing your
|
||||||
|
local jpg/png images (it supports parallel jobs).
|
||||||
|
|
||||||
|
https://github.com/tarampampam/tinifier
|
||||||
3
package/tinifier/tinifier.hash
Normal file
3
package/tinifier/tinifier.hash
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 927e966f9d23ea7cc1942967a8fc16ef4c55c51bd096d44f54b418844a51aa12 tinifier-3.4.0.tar.gz
|
||||||
|
sha256 791d8fd993ace44d4d83e2f4820a64d5ad3e37412f029afad46d17a9259de2b6 LICENSE
|
||||||
13
package/tinifier/tinifier.mk
Normal file
13
package/tinifier/tinifier.mk
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# tinifier
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
TINIFIER_VERSION = 3.4.0
|
||||||
|
TINIFIER_SITE = $(call github,tarampampam,tinifier,v$(TINIFIER_VERSION))
|
||||||
|
TINIFIER_LICENSE = MIT
|
||||||
|
TINIFIER_LICENSE_FILES = LICENSE
|
||||||
|
TINIFIER_GOMOD = ./cmd/tinifier
|
||||||
|
|
||||||
|
$(eval $(golang-package))
|
||||||
Reference in New Issue
Block a user