blob: 3808dcd43f40140f6e4ec2a4cd684ff0a4309fbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer:
pkgname=libwebp
pkgver=1.3.2
pkgrel=0
pkgdesc="Libraries for working with WebP images"
url="https://developers.google.com/speed/webp/"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz"
# secfixes:
# 1.3.2-r0:
# - CVE-2023-1999
# - CVE-2023-4863
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
install -Dm644 PATENTS "$pkgdir"/usr/share/doc/$pkgname
}
tools() {
pkgdesc="The WebP command line tools"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
sha512sums="2b624d2ecfbff6b4db2719e38f146722638ae262acd96327073a04451dd05fb27ef70c5681187821d251df728a6be7e89209c861c561a13bfb786495a830bc20 libwebp-1.3.2.tar.gz"
|