mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +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
39 lines
948 B
Text
39 lines
948 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=devhelp
|
|
pkgver=43.0
|
|
pkgrel=2
|
|
pkgdesc="API documentation browser for GTK+ and GNOME"
|
|
url="https://wiki.gnome.org/Apps/Devhelp"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="gsettings-desktop-schemas"
|
|
makedepends="
|
|
amtk-dev
|
|
appstream-glib
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gsettings-desktop-schemas-dev
|
|
itstool
|
|
meson
|
|
webkit2gtk-4.1-dev
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gnome.org/sources/devhelp/${pkgver%.*}/devhelp-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
92f147659754480ac4aa02f21558572d4bb8a034251225d344a8cae16824d9c14071751dfca6439f98dc7f7884fb35ef2d9c708e42f11bb6b3dfd8648b784654 devhelp-43.0.tar.xz
|
|
"
|