Skip to content

Commit

Permalink
libwebp: initial commit, v1.4.0 (moved here from pkgsrc-games)
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Oct 23, 2024
1 parent 6260b0a commit 5e882b7
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
60 changes: 60 additions & 0 deletions libwebp/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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/gif2webp
-rwxr-xr-x root/root usr/bin/img2webp
-rwxr-xr-x root/root usr/bin/webpinfo
-rwxr-xr-x root/root usr/bin/webpmux
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/webp/
-rw-r--r-- root/root usr/include/webp/decode.h
-rw-r--r-- root/root usr/include/webp/demux.h
-rw-r--r-- root/root usr/include/webp/encode.h
-rw-r--r-- root/root usr/include/webp/mux.h
-rw-r--r-- root/root usr/include/webp/mux_types.h
drwxr-xr-x root/root usr/include/webp/sharpyuv/
-rw-r--r-- root/root usr/include/webp/sharpyuv/sharpyuv.h
-rw-r--r-- root/root usr/include/webp/sharpyuv/sharpyuv_csp.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/libsharpyuv.a
-rwxr-xr-x root/root usr/lib/libsharpyuv.la
lrwxrwxrwx root/root usr/lib/libsharpyuv.so -> libsharpyuv.so.0.1.0
lrwxrwxrwx root/root usr/lib/libsharpyuv.so.0 -> libsharpyuv.so.0.1.0
-rwxr-xr-x root/root usr/lib/libsharpyuv.so.0.1.0
-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.9
lrwxrwxrwx root/root usr/lib/libwebp.so.7 -> libwebp.so.7.1.9
-rwxr-xr-x root/root usr/lib/libwebp.so.7.1.9
-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.9
lrwxrwxrwx root/root usr/lib/libwebpdecoder.so.3 -> libwebpdecoder.so.3.1.9
-rwxr-xr-x root/root usr/lib/libwebpdecoder.so.3.1.9
-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.15
lrwxrwxrwx root/root usr/lib/libwebpdemux.so.2 -> libwebpdemux.so.2.0.15
-rwxr-xr-x root/root usr/lib/libwebpdemux.so.2.0.15
-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.1.0
lrwxrwxrwx root/root usr/lib/libwebpmux.so.3 -> libwebpmux.so.3.1.0
-rwxr-xr-x root/root usr/lib/libwebpmux.so.3.1.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libsharpyuv.pc
-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/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/webpinfo.1.gz
-rw-r--r-- root/root usr/share/man/man1/webpmux.1.gz
1 change: 1 addition & 0 deletions libwebp/.md5sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
07daaa13bef03b7be07f11977b159cb8 libwebp-1.4.0.tar.gz
31 changes: 31 additions & 0 deletions libwebp/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Description: Library for a new image format comparable to JPEG
# URL: https://developers.google.com/speed/webp/
# Depends on: giflib libjpeg-turbo libpng
# Optional: libjpeg-turbo libtiff freeglut libsdl

name=libwebp
version=1.4.0
release=1
source=https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$name-$version.tar.gz

build_opt() { PKGMK_LIBWEBP="$PKGMK_LIBWEBP $1"; }

build() {
mkdir build; cd build

# --disable-gl: otherwise requires freeglut
# --disable-tiff: otherwise requires libtiff
# --disable-sdl: otherwise requires libsdl or libsdl2
../${name%-*}-$version/configure \
--prefix=/usr \
--disable-gl \
--disable-sdl \
--disable-tiff \
--enable-libwebpdecoder \
--enable-libwebpdemux \
--enable-libwebpmux \
--enable-static \

make V=1
make DESTDIR=$PKG install
}

0 comments on commit 5e882b7

Please sign in to comment.