summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicola Murino2022-08-08 16:40:40 +0200
committerNicola Murino2022-08-08 16:40:40 +0200
commit1e8dfa728f23f27f5e3fde611b7ef4a24a74abb4 (patch)
treeb74633cbfc79af3ada6bd7b132aa940d5c9cd0a2
parentfc76439bb69924b78f9e9476607a5fab9087afd5 (diff)
downloadaur-1e8dfa728f23f27f5e3fde611b7ef4a24a74abb4.tar.gz
Update to 1.2.4
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33f1b6e83ecb..1099dc75cebf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mingw-w64-libwebp
pkgdesc = WebP library and conversion tools (mingw-w64)
- pkgver = 1.2.2
+ pkgver = 1.2.4
pkgrel = 1
url = https://developers.google.com/speed/webp/
arch = any
@@ -14,8 +14,10 @@ pkgbase = mingw-w64-libwebp
options = staticlibs
options = !strip
options = !buildflags
- source = git+https://chromium.googlesource.com/webm/libwebp#commit=b0a860891dcd4c0c2d7c6149e5cccb6eb881cc21
+ source = https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.4.tar.gz
+ source = https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.4.tar.gz.asc
validpgpkeys = 6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D
+ sha256sums = 7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df
sha256sums = SKIP
pkgname = mingw-w64-libwebp
diff --git a/PKGBUILD b/PKGBUILD
index f0ba7c252494..7dc04d2e8b78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: drakkan <nicola.murino at gmail dot com>
pkgname=mingw-w64-libwebp
-pkgver=1.2.2
+pkgver=1.2.4
pkgrel=1
pkgdesc="WebP library and conversion tools (mingw-w64)"
arch=(any)
@@ -9,25 +9,21 @@ license=("BSD")
makedepends=(mingw-w64-configure git)
depends=(mingw-w64-libjpeg-turbo mingw-w64-libpng mingw-w64-libtiff mingw-w64-giflib)
options=(staticlibs !strip !buildflags)
-_commit=b0a860891dcd4c0c2d7c6149e5cccb6eb881cc21 # tags/v1.2.2^0
-source=("git+https://chromium.googlesource.com/webm/libwebp#commit=$_commit")
-sha256sums=('SKIP')
+source=(https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz{,.asc})
+sha256sums=('7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df'
+ 'SKIP')
+
validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D') # WebP release signing key
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-pkgver() {
- cd "$srcdir/libwebp"
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
prepare() {
- cd "$srcdir/libwebp"
+ cd "$srcdir/libwebp-$pkgver"
NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd "$srcdir/libwebp"
+ cd "$srcdir/libwebp-$pkgver"
for _arch in ${_architectures}; do
unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
@@ -42,7 +38,7 @@ build() {
package() {
for _arch in ${_architectures}; do
- cd "$srcdir/libwebp/build-${_arch}"
+ cd "$srcdir/libwebp-$pkgver/build-${_arch}"
make DESTDIR="$pkgdir" install
find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;