mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 08:05:13 +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
39 lines
1 KiB
Text
39 lines
1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnome-sound-recorder
|
|
pkgver=42.0
|
|
pkgrel=1
|
|
pkgdesc="simple and modern sound recorder"
|
|
url="https://wiki.gnome.org/Apps/SoundRecorder"
|
|
arch="noarch !armhf" # limited by gjs
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
gjs-dev
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gst-plugins-bad-dev
|
|
gtk4.0-dev
|
|
libadwaita-dev
|
|
meson
|
|
"
|
|
depends="gjs gtk4.0 glib gst-plugins-good libadwaita"
|
|
checkdepends="appstream-glib desktop-file-utils"
|
|
subpackages="$pkgname-lang"
|
|
source="https://download.gnome.org/sources/gnome-sound-recorder/${pkgver%.*}/gnome-sound-recorder-$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="
|
|
53fe2fe0646c5055cedc1c62cf87176dca52bf3d9452d83bcc849d9946179afbef826f08ff65a97ede7a0d14ade4da0755b2ef3780460d5a80f8f9e6c85fcfbd gnome-sound-recorder-42.0.tar.xz
|
|
"
|