[notify] libwebp: new dependency giflib, changed build system to cmake. Breaking soname ABI change, you will need to rebuild what's broken with revdep!

This commit is contained in:
Danny Rawlins 2021-06-01 20:04:43 +10:00
parent 82ca944d8b
commit 8109548c0b
3 changed files with 38 additions and 35 deletions

View File

@ -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

View File

@ -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

View File

@ -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
}