mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +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
46 lines
960 B
Text
46 lines
960 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=libgnomekbd
|
|
pkgver=3.28.1
|
|
pkgrel=3
|
|
pkgdesc="GNOME keyboard library"
|
|
url="https://www.gnome.org/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="desktop-file-utils"
|
|
depends_dev="
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
libxau-dev
|
|
libxcb-dev
|
|
libxcomposite-dev
|
|
libxcursor-dev
|
|
libxdmcp-dev
|
|
libxext-dev
|
|
libxi-dev
|
|
libxklavier-dev
|
|
libxml2-dev
|
|
"
|
|
makedepends="$depends_dev meson"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$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="
|
|
ffcabfe19289057dd3d7489170093ff1614c3344103ba8ebc6c69f5668d01fea652b7be6c7d5c66291df3a319f975df5cf5167168cd0f60cede022b76bb57cb5 libgnomekbd-3.28.1.tar.xz
|
|
"
|