25 lines
630 B
Plaintext
25 lines
630 B
Plaintext
# 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
|
|
|
|
name=libwebp
|
|
version=1.2.0
|
|
release=1
|
|
source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-swap-16bit-csp \
|
|
--enable-experimental \
|
|
--enable-libwebp{mux,demux,decoder,extras}
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|