ports/compat-32 (3.6): libwebp-32: initial import
commit 39c727c70f7d80fc6d81caed7f804a688107d791 Author: Danny Rawlins <contact@romster.me> Date: Tue Jun 1 20:05:44 2021 +1000 libwebp-32: initial import diff --git a/libwebp-32/.32bit b/libwebp-32/.32bit new file mode 100644 index 0000000..e69de29 diff --git a/libwebp-32/.footprint b/libwebp-32/.footprint new file mode 100644 index 0000000..ec0a0a2 --- /dev/null +++ b/libwebp-32/.footprint @@ -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 diff --git a/libwebp-32/.signature b/libwebp-32/.signature new file mode 100644 index 0000000..6af1121 --- /dev/null +++ b/libwebp-32/.signature @@ -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 diff --git a/libwebp-32/Pkgfile b/libwebp-32/Pkgfile new file mode 100644 index 0000000..0ac635f --- /dev/null +++ b/libwebp-32/Pkgfile @@ -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} +}
participants (1)
-
crux@crux.nu