mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
libimagequant: update to 2.11.1.
This commit is contained in:
parent
f6e8e3364b
commit
20954c4cfa
2 changed files with 2 additions and 14 deletions
|
@ -1,12 +0,0 @@
|
||||||
--- libimagequant.c
|
|
||||||
+++ libimagequant.c
|
|
||||||
@@ -1256,7 +1256,7 @@ LIQ_NONNULL static float remap_to_palette(liq_image *const input_image, unsigned
|
|
||||||
kmeans_init(map, max_threads, average_color);
|
|
||||||
|
|
||||||
#pragma omp parallel for if (rows*cols > 3000) \
|
|
||||||
- schedule(static) default(none) shared(average_color) reduction(+:remapping_error)
|
|
||||||
+ schedule(static) default(none) shared(acolormap) shared(average_color) reduction(+:remapping_error)
|
|
||||||
for(int row = 0; row < rows; ++row) {
|
|
||||||
const f_pixel *const row_pixels = liq_image_get_row_f(input_image, row);
|
|
||||||
const f_pixel *const bg_pixels = input_image->background && acolormap[transparent_index].acolor.a < 1.f/256.f ? liq_image_get_row_f(input_image->background, row) : NULL;
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libimagequant'
|
# Template file for 'libimagequant'
|
||||||
pkgname=libimagequant
|
pkgname=libimagequant
|
||||||
version=2.11.0
|
version=2.11.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--with-openmp"
|
configure_args="--with-openmp"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
homepage="https://pngquant.org/lib/"
|
homepage="https://pngquant.org/lib/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="https://github.com/ImageOptim/libimagequant/archive/${version}.tar.gz"
|
distfiles="https://github.com/ImageOptim/libimagequant/archive/${version}.tar.gz"
|
||||||
checksum=ab0b5331a04a304c2c83a372bc82eb221110a08542a345a67662e9153468e58f
|
checksum=b034b968ee247f7e72133ea7133ac42749d3d108a818f09692aabeedd50c3ae7
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*) configure_args+=" --enable-sse";;
|
x86_64*) configure_args+=" --enable-sse";;
|
||||||
|
|
Loading…
Add table
Reference in a new issue