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:
Thomas Petazzoni 2020-12-19 16:35:19 +01:00
parent 049ca10248
commit 43c580ac9f
5 changed files with 28 additions and 0 deletions

View file

@ -2787,6 +2787,7 @@ F: package/rtc-tools/
F: package/sam-ba/
F: package/scons/
F: package/squashfs/
F: package/tinifier/
F: package/wayland/
F: package/weston/
F: support/testing/tests/boot/test_syslinux.py

View file

@ -314,6 +314,7 @@ comment "Graphic applications"
source "package/rrdtool/Config.in"
source "package/stellarium/Config.in"
source "package/tesseract-ocr/Config.in"
source "package/tinifier/Config.in"
comment "Graphic libraries"
source "package/cegui/Config.in"

View 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

View file

@ -0,0 +1,3 @@
# Locally calculated
sha256 927e966f9d23ea7cc1942967a8fc16ef4c55c51bd096d44f54b418844a51aa12 tinifier-3.4.0.tar.gz
sha256 791d8fd993ace44d4d83e2f4820a64d5ad3e37412f029afad46d17a9259de2b6 LICENSE

View 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))