diff options
author | Danny Rawlins <contact@romster.me> | 2021-06-01 20:04:43 +1000 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2021-06-01 20:04:43 +1000 |
commit | 8109548c0b9e4a62636a8430adea857d4a3da085 (patch) | |
tree | 8d81232b843b9b334168e7da3b7f07da875137fe /libwebp | |
parent | 82ca944d8b2856affc481e6ad50787ee5fcd9df6 (diff) | |
download | opt-8109548c0b9e4a62636a8430adea857d4a3da085.tar.gz opt-8109548c0b9e4a62636a8430adea857d4a3da085.tar.xz |
[notify] libwebp: new dependency giflib, changed build system to cmake. Breaking soname ABI change, you will need to rebuild what's broken with revdep!
Diffstat (limited to 'libwebp')
-rw-r--r-- | libwebp/.footprint | 43 | ||||
-rw-r--r-- | libwebp/.signature | 6 | ||||
-rw-r--r-- | libwebp/Pkgfile | 24 |
3 files changed, 38 insertions, 35 deletions
diff --git a/libwebp/.footprint b/libwebp/.footprint index 41d2884c6..30a33515c 100644 --- a/libwebp/.footprint +++ b/libwebp/.footprint @@ -2,7 +2,10 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/cwebp -rwxr-xr-x root/root usr/bin/dwebp +-rwxr-xr-x root/root usr/bin/get_disto +-rwxr-xr-x root/root usr/bin/gif2webp -rwxr-xr-x root/root usr/bin/img2webp +-rwxr-xr-x root/root usr/bin/webp_quality -rwxr-xr-x root/root usr/bin/webpinfo -rwxr-xr-x root/root usr/bin/webpmux drwxr-xr-x root/root usr/include/ @@ -14,36 +17,36 @@ drwxr-xr-x root/root usr/include/webp/ -rw-r--r-- root/root usr/include/webp/mux_types.h -rw-r--r-- root/root usr/include/webp/types.h drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libwebp.a --rwxr-xr-x root/root usr/lib/libwebp.la -lrwxrwxrwx root/root usr/lib/libwebp.so -> libwebp.so.7.1.1 -lrwxrwxrwx root/root usr/lib/libwebp.so.7 -> libwebp.so.7.1.1 --rwxr-xr-x root/root usr/lib/libwebp.so.7.1.1 --rw-r--r-- root/root usr/lib/libwebpdecoder.a --rwxr-xr-x root/root usr/lib/libwebpdecoder.la -lrwxrwxrwx root/root usr/lib/libwebpdecoder.so -> libwebpdecoder.so.3.1.1 -lrwxrwxrwx root/root usr/lib/libwebpdecoder.so.3 -> libwebpdecoder.so.3.1.1 --rwxr-xr-x root/root usr/lib/libwebpdecoder.so.3.1.1 --rw-r--r-- root/root usr/lib/libwebpdemux.a --rwxr-xr-x root/root usr/lib/libwebpdemux.la -lrwxrwxrwx root/root usr/lib/libwebpdemux.so -> libwebpdemux.so.2.0.7 -lrwxrwxrwx root/root usr/lib/libwebpdemux.so.2 -> libwebpdemux.so.2.0.7 --rwxr-xr-x root/root usr/lib/libwebpdemux.so.2.0.7 --rw-r--r-- root/root usr/lib/libwebpmux.a --rwxr-xr-x root/root usr/lib/libwebpmux.la -lrwxrwxrwx root/root usr/lib/libwebpmux.so -> libwebpmux.so.3.0.6 -lrwxrwxrwx root/root usr/lib/libwebpmux.so.3 -> libwebpmux.so.3.0.6 --rwxr-xr-x root/root usr/lib/libwebpmux.so.3.0.6 +lrwxrwxrwx root/root usr/lib/libwebp.so -> libwebp.so.8.1.1 +-rwxr-xr-x root/root usr/lib/libwebp.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebp.so.8.1.1 -> libwebp.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpdecoder.so -> libwebpdecoder.so.4.1.1 +-rwxr-xr-x root/root usr/lib/libwebpdecoder.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpdecoder.so.4.1.1 -> libwebpdecoder.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpdemux.so -> libwebpdemux.so.2.7.0 +-rwxr-xr-x root/root usr/lib/libwebpdemux.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpdemux.so.2.7.0 -> libwebpdemux.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpmux.so -> libwebpmux.so.3.6.0 +-rwxr-xr-x root/root usr/lib/libwebpmux.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libwebpmux.so.3.6.0 -> libwebpmux.so.1.2.0 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libwebp.pc -rw-r--r-- root/root usr/lib/pkgconfig/libwebpdecoder.pc -rw-r--r-- root/root usr/lib/pkgconfig/libwebpdemux.pc -rw-r--r-- root/root usr/lib/pkgconfig/libwebpmux.pc drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/WebP/ +drwxr-xr-x root/root usr/share/WebP/cmake/ +-rw-r--r-- root/root usr/share/WebP/cmake/WebPConfig.cmake +-rw-r--r-- root/root usr/share/WebP/cmake/WebPConfigVersion.cmake +-rw-r--r-- root/root usr/share/WebP/cmake/WebPTargets-release.cmake +-rw-r--r-- root/root usr/share/WebP/cmake/WebPTargets.cmake drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/cwebp.1.gz -rw-r--r-- root/root usr/share/man/man1/dwebp.1.gz +-rw-r--r-- root/root usr/share/man/man1/gif2webp.1.gz -rw-r--r-- root/root usr/share/man/man1/img2webp.1.gz +-rw-r--r-- root/root usr/share/man/man1/vwebp.1.gz -rw-r--r-- root/root usr/share/man/man1/webpinfo.1.gz -rw-r--r-- root/root usr/share/man/man1/webpmux.1.gz diff --git a/libwebp/.signature b/libwebp/.signature index e0eabc6c9..40b720d68 100644 --- a/libwebp/.signature +++ b/libwebp/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/cML94aVrrXVKoq9U1KNG1J28tewMcn6JLtDaaYxpOaur+Nil8F2XuiZDkZ8LOzXfrJacFOX22AQfdqa3nKvuQM= -SHA256 (Pkgfile) = b7fff049e0e7b7c27c1dc346cb64e3447e126d245012434815914154fc9bdf1f -SHA256 (.footprint) = 25b6e6d290b917af00041f7a0d19370dbba6eb2e821fd8feb227fe6cf016c463 +RWSE3ohX2g5d/f+ibVC5MU35uQ6gyBLj6m3q9DchlUunMqXBTgDw2P4i/Zcb8hhEPFHsqZkQ8muiTn84yhEfnaPShXGZRk6/EQg= +SHA256 (Pkgfile) = 5ae3e4dd3cb8d18ff07bbce944cefa8daf3af2e9bc48bd8261e2e55a5b2208b5 +SHA256 (.footprint) = 3c85ef23ee290c76850f6950b46b8216cd6f51b12298fb1bce6d6504de9f8cf9 SHA256 (libwebp-1.2.0.tar.gz) = 2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c diff --git a/libwebp/Pkgfile b/libwebp/Pkgfile index a6d33e177..841b4eacb 100644 --- a/libwebp/Pkgfile +++ b/libwebp/Pkgfile @@ -1,24 +1,24 @@ # Description: A library for a new image format comparable to JPEG. # URL: https://developers.google.com/speed/webp/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: libpng libtiff -# Optional: freeglut giflib libsdl +# Depends on: giflib libpng libtiff +# Optional: freeglut libsdl ninja name=libwebp version=1.2.0 -release=1 +release=2 source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$name-$version.tar.gz) build() { - cd $name-$version + prt-get isinst ninja && PKGMK_LIBWEBP+=' -G Ninja' - ./configure \ - --prefix=/usr \ - --enable-swap-16bit-csp \ - --enable-experimental \ - --enable-libwebp{mux,demux,decoder,extras} + cmake -S ${name%-*}-$version -B build $PKGMK_LIBWEBP \ + -D CMAKE_INSTALL_PREFIX="/usr" \ + -D CMAKE_INSTALL_LIBDIR="/usr/lib" \ + -D BUILD_SHARED_LIBS=ON \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make - make DESTDIR=$PKG install + cmake --build build + DESTDIR=$PKG cmake --install build } |