mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=sysprof
|
|
pkgver=3.46.0
|
|
pkgrel=1
|
|
pkgdesc="System-wide profiler for Linux"
|
|
url="http://sysprof.com/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends_dev="$pkgname=$pkgver-r$pkgrel" # sysprof's lib setup is a bit weird...
|
|
makedepends="
|
|
desktop-file-utils
|
|
elogind-dev
|
|
glib-dev
|
|
gtk4.0-dev
|
|
itstool
|
|
json-glib-dev
|
|
libadwaita-dev
|
|
libunwind-dev
|
|
meson
|
|
polkit-dev
|
|
"
|
|
#options="!check" # test-model-filter fails
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gnome.org/sources/sysprof/${pkgver%.*}/sysprof-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dgtk=true \
|
|
-Dsystemdunitdir=systemd \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
rm -rf "$pkgdir"/usr/systemd
|
|
}
|
|
|
|
sha512sums="
|
|
ac248e2a06d2f7905bebae4e685dd320e3ac85097e33b9c6b8482a4647a5bfcaadc4d9a1fe117b3a74cb855d6c72d9a1453a37d7b64762a223c0fe5da2653a87 sysprof-3.46.0.tar.xz
|
|
"
|