forked from ports/compat-32
libwebp-32: initial import
This commit is contained in:
parent
994ad56fb0
commit
39c727c70f
0
libwebp-32/.32bit
Normal file
0
libwebp-32/.32bit
Normal file
19
libwebp-32/.footprint
Normal file
19
libwebp-32/.footprint
Normal file
@ -0,0 +1,19 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
lrwxrwxrwx root/root usr/lib32/libwebp.so -> libwebp.so.8.1.1
|
||||
-rwxr-xr-x root/root usr/lib32/libwebp.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebp.so.8.1.1 -> libwebp.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpdecoder.so -> libwebpdecoder.so.4.1.1
|
||||
-rwxr-xr-x root/root usr/lib32/libwebpdecoder.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpdecoder.so.4.1.1 -> libwebpdecoder.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpdemux.so -> libwebpdemux.so.2.7.0
|
||||
-rwxr-xr-x root/root usr/lib32/libwebpdemux.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpdemux.so.2.7.0 -> libwebpdemux.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpmux.so -> libwebpmux.so.3.6.0
|
||||
-rwxr-xr-x root/root usr/lib32/libwebpmux.so.1.2.0
|
||||
lrwxrwxrwx root/root usr/lib32/libwebpmux.so.3.6.0 -> libwebpmux.so.1.2.0
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/libwebp.pc
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/libwebpdecoder.pc
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/libwebpdemux.pc
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/libwebpmux.pc
|
5
libwebp-32/.signature
Normal file
5
libwebp-32/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXbDmtg/fc8oZM1pm9vWD3PbHmlmrGQIIoRvBGdjyXQeDYMT0J/BGzOEtNTbJ1OUcHbf4PvVWlPlD941d7uttDg4=
|
||||
SHA256 (Pkgfile) = a812afe6fdda0f9dac70bf3fa0582af786892a59ea9977979aca358f5b1b6934
|
||||
SHA256 (.footprint) = f5fcc0ceaa6227daff68b2edb4063faef10a33370d1671032fb9584dd2ecdaaf
|
||||
SHA256 (libwebp-1.2.0.tar.gz) = 2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c
|
37
libwebp-32/Pkgfile
Normal file
37
libwebp-32/Pkgfile
Normal file
@ -0,0 +1,37 @@
|
||||
# Description: A library for a new image format comparable to JPEG.
|
||||
# URL: https://developers.google.com/speed/webp/
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
# Depends on: giflib-32 libpng-32 libtiff-32 zstd-32 libwebp
|
||||
# Optional: freeglut-32 libsdl-32 ninja
|
||||
|
||||
name=libwebp-32
|
||||
version=1.2.0
|
||||
release=1
|
||||
source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/${name%-*}-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst ninja && PKGMK_LIBWEBP_32+=' -G Ninja'
|
||||
|
||||
prt-get isinst freeglut && ! prt-get isinst freeglut-32 && printf "\e[031mfreeglut is detected on your system, please run:
|
||||
prt-get depinst freeglut-32
|
||||
before continuing with libwebp-32.\033[0m\n" &&
|
||||
exit 1
|
||||
|
||||
prt-get isinst libsdl && ! prt-get isinst libsdl-32 && printf "\e[031mlibsdl is detected on your system, please run:
|
||||
prt-get depinst libsdl-32
|
||||
before continuing with libwebp-32.\033[0m\n" &&
|
||||
exit 1
|
||||
|
||||
cmake -S ${name%-*}-$version -B build $PKGMK_LIBWEBP_32 \
|
||||
-D CMAKE_INSTALL_PREFIX="/usr" \
|
||||
-D CMAKE_INSTALL_LIBDIR="/usr/lib32" \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}"
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
|
||||
rm -r $PKG/usr/{bin,share,include}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user