Package Details: libwebp2-git r364.g7b5fea6-1

Git Clone URL: https://aur.archlinux.org/libwebp2-git.git (read-only, click to copy)
Package Base: libwebp2-git
Description: Successor of the WebP image format
Upstream URL: https://chromium.googlesource.com/codecs/libwebp2/
Licenses: Apache
Conflicts: libwebp2
Provides: libwebp2, libwebp2.so
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-16 03:28 (UTC)
Last Updated: 2023-04-10 14:54 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

Krtko commented on 2023-04-17 16:15 (UTC)

Package is unable to build due GoogleTest not supporting C++11 any more. Workaround is to turn tests off by adding this argument.

-DWP2_BUILD_TESTS=OFF

jose1711 commented on 2021-09-17 12:49 (UTC)

thanks @porcelain1. @Chocobo1 could you please integrate it into PKGBUILD?

--- PKGBUILD.orig   2021-09-17 14:16:06.642298782 +0200
+++ PKGBUILD    2021-09-17 14:16:32.865631969 +0200
@@ -26,6 +26,8 @@
 build() {
   cd "libwebp2"

+  sed -i 's/-Werror//' cmake/compiler.cmake
+
   cmake \
     -B "_build" \

porcelain1 commented on 2021-08-22 04:01 (UTC)

jose1711: I also experienced compilation errors. It is experimental stuff anyway and there are no stable releases so I guess this will be frequent. You can add before the cmake line sed -i 's/-Werror//' cmake/compiler.cmake in the build() function of the PKGBUILD to continue compiling. Didn't test to attest crashes or stability.

jose1711 commented on 2021-06-18 22:47 (UTC)

not compiling

/yay/libwebp2-git/src/libwebp2/src/dec/anim_dec.cc:136:21:
/home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/dec/anim_dec.cc:129:21: error: ‘this’ pointer is null [-Werror=nonnull]
  129 |     yuv_output->Fill(rgt, color);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/common/lossy/predictor.h:31,
                 from /home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/common/global_params.h:25,
                 from /home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/dec/wp2_dec_i.h:23,
                 from /home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/dec/anim_dec.cc:24:
/home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/utils/plane.h: In function ‘WP2Status WP2::FillBorders(const WP2::BitstreamFeatures&, const WP2::AnimationFrame&, WP2::ArgbBuffer*)’:
/home/jose/.cache/yay/libwebp2-git/src/libwebp2/src/utils/plane.h:493:8: note: in a call to non-static member function ‘void WP2::YUVPlane::Fill(const WP2::Rectangle&, const WP2::Ayuv38b&)’
  493 |   void Fill(const Rectangle& rect, const Ayuv38b& color);
      |        ^~~~
cc1plus: all warnings being treated as errors

arun321 commented on 2021-02-16 12:14 (UTC)

cwp2: error while loading shared libraries: libimageio.so: cannot open shared object file: No such file or directory

lastrosade commented on 2020-11-16 08:22 (UTC)

It depends on gmock https://www.archlinux.org/packages/community/x86_64/gmock/