Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging / Packages / libwebp
Commits: 20b6384a by Jan Alexander Steffens (heftig) at 2024-08-25T21:45:34+02:00 1.4.0-2: Install animation utilities See: https://gitlab.archlinux.org/archlinux/packaging/packages/libwebp/-/merge_requests/1 - - - - - 3 changed files: - .SRCINFO - + 0001-cmake-Install-anim-utils.patch - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = libwebp pkgdesc = WebP library and conversion tools pkgver = 1.4.0 - pkgrel = 1 + pkgrel = 2 url = https://developers.google.com/speed/webp/ arch = x86_64 license = BSD-3-Clause @@ -19,10 +19,13 @@ pkgbase = libwebp 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 ===================================== 0001-cmake-Install-anim-utils.patch ===================================== @@ -0,0 +1,39 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <[email protected]> +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. ===================================== PKGBUILD ===================================== @@ -4,7 +4,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) @@ -26,17 +26,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() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libwebp/-/commit/20b6384a5d0ef13c12b9b327fc38deb9e00dfcd9 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libwebp/-/commit/20b6384a5d0ef13c12b9b327fc38deb9e00dfcd9 You're receiving this email because of your account on gitlab.archlinux.org.
