mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
33 lines
821 B
Text
33 lines
821 B
Text
# Maintainer: nadvagauser <nadvagauser+alpine@proton.me>
|
|
pkgname=webp-pixbuf-loader
|
|
pkgver=0.2.7
|
|
pkgrel=0
|
|
pkgdesc="WebP Image format GdkPixbuf loader"
|
|
url="https://github.com/aruiz/webp-pixbuf-loader"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="
|
|
gdk-pixbuf-dev
|
|
libwebp-dev
|
|
meson
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/aruiz/webp-pixbuf-loader/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
install_if="gdk-pixbuf-loaders libwebp"
|
|
|
|
build() {
|
|
abuild-meson -Db_lto=true . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
d7abc791b6cdb93b47929e82fbf8b51e5da2848fa43ae65b68fb0505b4da765f938dd290a82d25598d1e5cf9e8f68d6c91a4da814b1194427b4917d03c935910 webp-pixbuf-loader-0.2.7.tar.gz
|
|
"
|