-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update pngquant to v3.0.3 and libimagequant to v4.3.1 - add cross/pngquant3 built with rust - keep pngquant v2 in cross/pngquant2 - add cross/libimagequant-source to be used by cross/pngquant3 - adjust build order in diyspk/image-optim * tvheadend dependencies - update tvheadend to build with openssl3 - add comments regarding the updated pngquant dependency * tvheadend: move cross/pngquant to the top of the dependencies * tvheadend: update libhdhomerun - update libhdhomerun from 20230323 to 20231214 - define CROSS_COMPILE to avoid patching libhdhomerun Makefile * tvheadend: update changelog
- Loading branch information
Showing
16 changed files
with
133 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
libhdhomerun_20230323.tgz SHA1 59ef7cc9862ffa69672f9e699aec5e4ad4e12baa | ||
libhdhomerun_20230323.tgz SHA256 4f599c4f774c7accfc78fe07a2d492f2352c7b5ed9aa03f39b74f39c937b96e6 | ||
libhdhomerun_20230323.tgz MD5 467ebf3f483a707a32bb41e54e0fc12a | ||
libhdhomerun_20231214.tgz SHA1 de614eb70864ccfbccd7e49b40cd24882614a29f | ||
libhdhomerun_20231214.tgz SHA256 552a102e8aa2abcc416090dec2f6f80da59f97f91f57968e9e9d7b3dc005dbaf | ||
libhdhomerun_20231214.tgz MD5 2e6e56eb97f97ca9d30041b9427c513c |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PKG_NAME = libimagequant | ||
PKG_VERS = 4.3.1 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/ImageOptim/libimagequant/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = | ||
|
||
HOMEPAGE = https://pngquant.org/lib/ | ||
COMMENT = Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images. | ||
LICENSE = GPLv3 | ||
|
||
INSTALL_TARGET = nop | ||
|
||
include ../../mk/spksrc.install-resources.mk | ||
|
||
.PHONY: libimagequant_install | ||
libimagequant_install: | ||
@$(MSG) "Extract the sources only" | ||
@mkdir -p "$(INSTALL_DIR)/$(INSTALL_PREFIX)/source/" | ||
@tar -cf - -C $(EXTRACT_PATH) . | tar -xf - -C "$(INSTALL_DIR)/$(INSTALL_PREFIX)/source/" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
libimagequant-4.3.1.tar.gz SHA1 f34d837a8872cc087ad59f448290e6db8e52de63 | ||
libimagequant-4.3.1.tar.gz SHA256 75020204491f14a8cdf4b857f6c5bab08b6b5f1736345412b296a253bc632bf6 | ||
libimagequant-4.3.1.tar.gz MD5 574538a72db9879dee9cbd7211c5d740 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
PKG_NAME = pngquant | ||
PKG_VERS = 2.18.0 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/kornelski/pngquant/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
PKG_NAME = pngquant-main | ||
|
||
DEPENDS = cross/libpng cross/libimagequant | ||
OPTIONAL_DEPENDS = cross/pngquant3 | ||
OPTIONAL_DEPENDS += cross/pngquant2 | ||
|
||
HOMEPAGE = https://pngquant.org/ | ||
COMMENT = pngquant is a command-line utility and a library for lossy compression of PNG images. | ||
LICENSE = GPLv3 | ||
include ../../mk/spksrc.main-depends.mk | ||
|
||
GNU_CONFIGURE = 1 | ||
ADDITIONAL_CFLAGS = -O3 | ||
CONFIGURE_ARGS = --with-libimagequant | ||
|
||
include ../../mk/spksrc.archs.mk | ||
|
||
ifeq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH)) | ||
CONFIGURE_ARGS += --enable-sse | ||
ifeq ($(findstring $(ARCH),$(OLD_PPC_ARCHS) $(ARMv5_ARCHS)),$(ARCH)) | ||
# std=c11 not fully supported | ||
DEPENDS = cross/pngquant2 | ||
else | ||
CONFIGURE_ARGS += --disable-sse | ||
DEPENDS = cross/pngquant3 | ||
endif | ||
|
||
include ../../mk/spksrc.cross-cc.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PKG_NAME = pngquant | ||
PKG_VERS = 2.18.0 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/kornelski/pngquant/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/libpng cross/libimagequant | ||
|
||
HOMEPAGE = https://pngquant.org/ | ||
COMMENT = pngquant is a command-line utility and a library for lossy compression of PNG images. | ||
LICENSE = GPLv3 | ||
|
||
GNU_CONFIGURE = 1 | ||
ADDITIONAL_CFLAGS = -O3 | ||
CONFIGURE_ARGS = --with-libimagequant | ||
|
||
include ../../mk/spksrc.archs.mk | ||
|
||
ifeq ($(findstring $(ARCH),$(x64_ARCHS)),$(ARCH)) | ||
CONFIGURE_ARGS += --enable-sse | ||
else | ||
CONFIGURE_ARGS += --disable-sse | ||
endif | ||
|
||
include ../../mk/spksrc.cross-cc.mk |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
PKG_NAME = pngquant | ||
PKG_VERS = 3.0.3 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/kornelski/pngquant/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
# seems to be the same bug as in former cross/bat (see #6052) | ||
DEPENDS = cross/zlib-ng | ||
# with zlib dependency, there is a linker error | ||
#DEPENDS += cross/libpng | ||
DEPENDS += cross/libimagequant-source | ||
|
||
HOMEPAGE = https://pngquant.org/ | ||
COMMENT = pngquant is a command-line utility and a library for lossy compression of PNG images. | ||
LICENSE = GPL | ||
|
||
GNU_CONFIGURE = 1 | ||
ADDITIONAL_CFLAGS = -O3 -std=c11 | ||
|
||
PRE_COMPILE_TARGET = pngquant_pre_compile | ||
|
||
include ../../mk/spksrc.cross-rust.mk | ||
|
||
# The archive of pngquant source does not contain libimagequant. | ||
# libimagequant is linked into pngquant source as git submodule. | ||
# Instead of creating a pngquant source package that includes the submodule, | ||
# we created a package cross/libimagequant-source that contains the source. | ||
# To build pngquant, we just have to link the source of libimagequant | ||
# into the pngquant source before building | ||
LIBIMAGEQUANT_SOURCE_FOLDER = $(dir $(wildcard $(WORK_DIR)/libimagequant-*/)) | ||
SUBMODULE_FOLDER = $(WORK_DIR)/$(PKG_DIR)/lib | ||
|
||
.PHONY: pngquant_pre_compile | ||
pngquant_pre_compile: | ||
@$(MSG) "Link libimagequant '$(LIBIMAGEQUANT_SOURCE_FOLDER)' into folder '$(SUBMODULE_FOLDER)'" | ||
@rm -rf $(SUBMODULE_FOLDER) | ||
@ln -sf $(LIBIMAGEQUANT_SOURCE_FOLDER) $(SUBMODULE_FOLDER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin:bin/pngquant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pngquant-3.0.3.tar.gz SHA1 4f814184067bbd51b7188129e33c555766ae6220 | ||
pngquant-3.0.3.tar.gz SHA256 ddd8889a9c269ba454d0c5e4f7167948d55d77c4570b23f671809fd3a68b6822 | ||
pngquant-3.0.3.tar.gz MD5 0c92f3f5c5ffb31ca490d7197aff94a0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters