mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 21:35:15 +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
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gnome-tweaks
|
|
pkgver=46.1
|
|
pkgrel=0
|
|
pkgdesc="GNOME3 tool to customize advanced options"
|
|
url="https://wiki.gnome.org/Apps/Tweaks"
|
|
# armhf blocked by mozjs91 -> gnome-shell-schemas
|
|
arch="noarch !armhf"
|
|
license="GPL-3.0-or-later AND CC0-1.0"
|
|
depends="
|
|
dconf
|
|
gnome-settings-daemon
|
|
gnome-shell-schemas
|
|
mutter-schemas
|
|
py3-gobject3
|
|
"
|
|
makedepends="
|
|
desktop-file-utils
|
|
libadwaita-dev
|
|
libgudev-dev
|
|
gettext-dev
|
|
gobject-introspection-dev
|
|
gsettings-desktop-schemas-dev>=46
|
|
meson
|
|
py3-gobject3-dev
|
|
"
|
|
subpackages="$pkgname-lang $pkgname-pyc"
|
|
source="https://download.gnome.org/sources/gnome-tweaks/${pkgver%.*}/gnome-tweaks-$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="
|
|
8e167a84cc2eb700fe098cf7221bb3f8a3cc039826e1267e5585b5362862e4626dea3c84dfb8ccc9d08b34d2894422ca8505623148415116423738d2c07956f3 gnome-tweaks-46.1.tar.xz
|
|
"
|