aports/community/geary/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
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
2025-05-09 20:48:14 +00:00

83 lines
1.7 KiB
Text

# Contributor: Daniel Fancsali <fancsali@gmail.com>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geary
pkgver=46.0
pkgrel=2
pkgdesc="Geary is an email application built around conversations"
url="https://wiki.gnome.org/Apps/Geary"
arch="all"
license="LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause"
depends="
dbus:org.freedesktop.Secrets
dbus:org.freedesktop.Telepathy.AccountManager
iso-codes
"
makedepends="
appstream-glib-dev
desktop-file-utils
enchant2-dev
folks-dev
gcr-dev
glib-dev
gmime-dev
gnome-online-accounts-dev
gsound-dev
gspell-dev
gtk+3.0-dev
iso-codes-dev
itstool
json-glib-dev
libcanberra-dev
libgee-dev
libhandy1-dev
libnotify-dev
libpeas-dev
libsecret-dev
libstemmer-dev
libxml2-dev
meson
sqlite-dev
vala
webkit2gtk-4.1-dev
ytnef-dev
"
checkdepends="
dbus
gnutls-utils
ibus
xvfb-run
xz
"
options="!check" # https://gitlab.gnome.org/GNOME/geary/-/issues/776
subpackages="$pkgname-dbg $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/geary/${pkgver%.*}/geary-$pkgver.tar.xz"
# secfixes:
# 3.37.91-r0:
# - CVE-2020-24661
build() {
abuild-meson \
-Db_lto=true \
-Dlibunwind=disabled \
-Dprofile=release \
. output
meson compile -C output
}
check() {
LANG="en_US.UTF-8" \
XDG_RUNTIME_DIR="$(mktemp -d -p "$builddir")" \
xvfb-run -a \
dbus-run-session -- \
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
1a9758763c918bd6cb527cb1bbf77ff22c41bd076ae9d1bb0118d328b2b443c0e1106f9a17d517d73102ce7d6b5a42cfa5d51a4cace5c0d0b43262056876845d geary-46.0.tar.xz
"