aports/community/epiphany/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

75 lines
1.5 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=epiphany
pkgver=48.3
pkgrel=0
pkgdesc="Simple, clean, beautiful view of the web"
url="https://apps.gnome.org/Epiphany"
arch="all"
license="GPL-3.0-or-later"
depends="
dbus:org.freedesktop.Secrets
gsettings-desktop-schemas
gst-plugins-good
"
makedepends="
desktop-file-utils
gcr4-dev
gsettings-desktop-schemas-dev
gst-plugins-base-dev
gtk+3.0-dev
icu-dev
iso-codes-dev
itstool
json-glib-dev
libadwaita-dev
libarchive-dev
libdazzle-dev
libnotify-dev
libportal-dev
libsecret-dev
libxml2-dev
meson
nettle-dev
sqlite-dev
webkit2gtk-6.0-dev
"
checkdepends="appstream-glib xvfb-run ibus"
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
source="https://download.gnome.org/sources/epiphany/${pkgver%%.*}/epiphany-$pkgver.tar.xz"
options="!check" # broken
# secfixes:
# 42.2-r0:
# - CVE-2022-29536
# 41.3-r0:
# - CVE-2021-45085
# - CVE-2021-45086
# - CVE-2021-45087
# - CVE-2021-45088
prepare() {
default_prepare
git init -q
}
build() {
abuild-meson \
-Db_lto=true \
. output
meson compile -C output
}
check() {
# https://gitlab.gnome.org/GNOME/epiphany/issues/829
env PATH="$PATH:$builddir/output/src" xvfb-run meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
297df0d500477134c12877bc4255ea5f8e22b782a08fa5e06a1b012d4ff18f85f09850f7bf12ff61c35d0aba82cd87afd50dbdbecda62319cea86314c2947923 epiphany-48.3.tar.xz
"