summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-06-01 20:05:44 +1000
committerDanny Rawlins <contact@romster.me>2021-06-01 20:05:44 +1000
commit39c727c70f7d80fc6d81caed7f804a688107d791 (patch)
treeef58c106cb9b533714e47b924bef1cbdbb789f45
parent994ad56fb05cb874728e8dd6ae407d8ea14e1495 (diff)
downloadcompat-32-39c727c70f7d80fc6d81caed7f804a688107d791.tar.gz
compat-32-39c727c70f7d80fc6d81caed7f804a688107d791.tar.xz
libwebp-32: initial import
-rw-r--r--libwebp-32/.32bit0
-rw-r--r--libwebp-32/.footprint19
-rw-r--r--libwebp-32/.signature5
-rw-r--r--libwebp-32/Pkgfile37
4 files changed, 61 insertions, 0 deletions
diff --git a/libwebp-32/.32bit b/libwebp-32/.32bit
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/libwebp-32/.32bit
diff --git a/libwebp-32/.footprint b/libwebp-32/.footprint
new file mode 100644
index 00000000..ec0a0a22
--- /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 00000000..6af11214
--- /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 00000000..0ac635f5
--- /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}
+}

Generated by cgit