mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 18:45:05 +02: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
49 lines
1,012 B
Text
49 lines
1,012 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: fossdd <fossdd@pwned.life>
|
|
pkgname=eog
|
|
pkgver=47.0
|
|
pkgrel=0
|
|
pkgdesc="Image viewer for GNOME"
|
|
url="https://wiki.gnome.org/Apps/EyeOfGnome"
|
|
# s390x: blocked by exempi-dev
|
|
arch="all !s390x"
|
|
license="GPL-2.0-or-later"
|
|
depends="gsettings-desktop-schemas"
|
|
depends_dev="
|
|
exempi-dev
|
|
gnome-desktop-dev
|
|
jpeg-dev
|
|
lcms2-dev
|
|
libexif-dev
|
|
libpeas-dev
|
|
libportal-dev
|
|
librsvg-dev
|
|
libxml2-dev
|
|
"
|
|
makedepends="
|
|
$depends_dev
|
|
itstool
|
|
libhandy1-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gnome.org/sources/eog/${pkgver%.*}/eog-$pkgver.tar.xz"
|
|
|
|
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="
|
|
5a3907988031360c53d7a2c9ba8c5e1c03c714f41f55bb980414e35591d522f32d9ae1c9e6c0ac6ca58e559074cd060572225417e30f39281a8f93473ec42159 eog-47.0.tar.xz
|
|
"
|