Kevin Daudt ec25436283 testing/sysprof: disable on s390x
Tests are failing:

> ERROR:../tests/test-capture.c:68:test_reader_basic: assertion failed: (map != NULL)
> ERROR:../tests/test-capture-cursor.c:44:test_cursor_basic: assertion failed (count == 100): (1 == 100)
2019-06-08 19:08:39 +00:00

39 lines
1.2 KiB
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=sysprof
pkgver=3.32.0
pkgrel=0
pkgdesc="System-wide profiler for Linux"
url="http://sysprof.com/"
arch="all !s390x" # tests failing
license="GPL-2.0-or-later"
depends_dev="$pkgname=$pkgver-r$pkgrel" # sysprof's lib setup is a bit weird...
makedepends="meson gtk+3.0-dev itstool glib-dev polkit-dev elogind-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/sysprof/${pkgver%.*}/sysprof-${pkgver}.tar.xz
allow-disabling-systemdunitdir.patch"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Denable_gtk=true \
-Dsystemdunitdir=no \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="7b9d84ac241d376a5e545082b1224e7db96af26ae0ee297d5f0b2d45abc4676e23009dbd560085e5d4879378a8dd79eefb4449df3961fbfd09238bd2056061d0 sysprof-3.32.0.tar.xz
ea1b850669a2e4750b7ee137cbd341a886744b8d8233633992f0d1eb8bd3efc585b7a4a582cfeb35c3ab5d012d0ed54f6e27f46e17c2f6a4ef6bc121f0a5b723 allow-disabling-systemdunitdir.patch"