* update libwebp to 1.4.0-2
This commit is contained in:
parent
5e6c0bcd47
commit
65b2fe14c8
31
libwebp/.SRCINFO
Normal file
31
libwebp/.SRCINFO
Normal file
@ -0,0 +1,31 @@
|
||||
pkgbase = libwebp
|
||||
pkgdesc = WebP library and conversion tools
|
||||
pkgver = 1.4.0
|
||||
pkgrel = 2
|
||||
url = https://developers.google.com/speed/webp/
|
||||
arch = x86_64
|
||||
license = BSD-3-Clause
|
||||
makedepends = cmake
|
||||
makedepends = ninja
|
||||
depends = giflib
|
||||
depends = glibc
|
||||
depends = libjpeg
|
||||
depends = libpng
|
||||
depends = libtiff
|
||||
provides = libsharpyuv.so
|
||||
provides = libwebp.so
|
||||
provides = libwebpdecoder.so
|
||||
provides = libwebpdemux.so
|
||||
provides = libwebpmux.so
|
||||
source = https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.4.0.tar.gz
|
||||
source = https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.4.0.tar.gz.asc
|
||||
source = 0001-cmake-Install-anim-utils.patch
|
||||
validpgpkeys = 6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D
|
||||
sha256sums = 61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5
|
||||
sha256sums = SKIP
|
||||
sha256sums = 17207a1c72b4291aed14ce51daf529f61a0cbfa25ca28a22ec2feed2832a281f
|
||||
b2sums = 022cef190284b69af781718a82b28ee9806d7e6b1e642ee0833e608f64f691ef918a83e99db02335fb9f60d24d6f0cfc58e7e05e99a3f13d2118719d40a71722
|
||||
b2sums = SKIP
|
||||
b2sums = 4382bd0e00adfa7fb0daf70b77a1db3cd60530790680383b4f3d7b7a14c494c7306f9de908c3b7fe11e3f52fd866f55671b7da0ae44f96008e89b54839cab451
|
||||
|
||||
pkgname = libwebp
|
39
libwebp/0001-cmake-Install-anim-utils.patch
Normal file
39
libwebp/0001-cmake-Install-anim-utils.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Sun, 25 Aug 2024 21:42:26 +0200
|
||||
Subject: [PATCH] cmake: Install anim utils
|
||||
|
||||
See: https://gitlab.archlinux.org/archlinux/packaging/packages/libwebp/-/merge_requests/1
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b785a8e60d9d..f301e9072f8c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -753,22 +753,24 @@ if(WEBP_BUILD_ANIM_UTILS)
|
||||
webpdemux
|
||||
${WEBP_DEP_GIF_LIBRARIES})
|
||||
target_include_directories(anim_diff PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
|
||||
+ install(TARGETS anim_diff RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
||||
# anim_dump
|
||||
include_directories(${WEBP_DEP_IMG_INCLUDE_DIRS} ${WEBP_DEP_GIF_INCLUDE_DIRS})
|
||||
parse_makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/examples "ANIM_DUMP_SRCS"
|
||||
"anim_dump")
|
||||
add_executable(anim_dump ${ANIM_DUMP_SRCS})
|
||||
target_link_libraries(
|
||||
anim_dump
|
||||
exampleutil
|
||||
imagedec
|
||||
imageenc
|
||||
imageioutil
|
||||
webp
|
||||
webpdemux
|
||||
${WEBP_DEP_GIF_LIBRARIES})
|
||||
target_include_directories(anim_dump PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
|
||||
+ install(TARGETS anim_dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif()
|
||||
|
||||
# Install the different headers and libraries.
|
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=libwebp
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="WebP library and conversion tools"
|
||||
url="https://developers.google.com/speed/webp/"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
@ -27,17 +27,24 @@ provides=(
|
||||
)
|
||||
source=(
|
||||
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz{,.asc}
|
||||
0001-cmake-Install-anim-utils.patch
|
||||
)
|
||||
sha256sums=('61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'17207a1c72b4291aed14ce51daf529f61a0cbfa25ca28a22ec2feed2832a281f')
|
||||
b2sums=('022cef190284b69af781718a82b28ee9806d7e6b1e642ee0833e608f64f691ef918a83e99db02335fb9f60d24d6f0cfc58e7e05e99a3f13d2118719d40a71722'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'4382bd0e00adfa7fb0daf70b77a1db3cd60530790680383b4f3d7b7a14c494c7306f9de908c3b7fe11e3f52fd866f55671b7da0ae44f96008e89b54839cab451')
|
||||
validpgpkeys=(
|
||||
6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D # WebP release signing key
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd libwebp-$pkgver
|
||||
|
||||
# Install animation utilities
|
||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/libwebp/-/merge_requests/1
|
||||
patch -Np1 -i ../0001-cmake-Install-anim-utils.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user