| Name |
libsysprof-capture |
| Description |
Kernel based performance profiler - capture library |
| Version |
49.0-2 |
| Package Base |
sysprof |
| Homepage |
https://apps.gnome.org/Sysprof/ |
| Maintainers |
['Fabian Bornschein <fabiscafe@archlinux.org>', 'Frederik Schwan <freswa@archlinux.org>', 'Jan Alexander Steffens (heftig) <heftig@archlinux.org>'] |
| Contributors |
['Eric Belanger <belanger@astro.umontreal.ca>', 'Gabriel Rauter <rauter.gabriel@gmail.com>', 'Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>', 'Sergej Pupykin <pupykin.s+arch@gmail.com>', 'aeolist <aeolist@hotmail.com>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/sysprof |
| Sources |
['git+https://gitlab.gnome.org/GNOME/sysprof.git#tag=49.0'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git', 'meson', 'glib2-devel', 'yelp-tools'] |
| Provides |
[] |
| Builddate |
09-02-2026 17:56:08 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['BSD-2-Clause-Patent'] |
| Hash |
97dbf7d01c2991de45a763a946b0ff3343860f167d4f53bb973b7ef6aa1bf67a |
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: aeolist <aeolist@hotmail.com>
# Contributor: Gabriel Rauter <rauter.gabriel@gmail.com>
pkgbase=sysprof
pkgname=(
sysprof
libsysprof-capture
)
pkgver=49.0
pkgrel=2
pkgdesc="Kernel based performance profiler"
url="https://apps.gnome.org/Sysprof/"
license=(GPL-3.0-or-later)
arch=(x86_64)
depends=(
cairo
gcc-libs
glib2
glibc
graphene
gtk4
hicolor-icon-theme
json-glib
libadwaita
libdex
libelf
libpanel
libunwind
pango
polkit
systemd-libs
)
makedepends=(
git
meson
glib2-devel
yelp-tools
)
source=(
"git+https://gitlab.gnome.org/GNOME/sysprof.git#tag=${pkgver/[a-z]/.&}"
)
b2sums=('615b5e11e44a7762430a35c6c36979dff70c021bb9eb556690ff70194414f78eb6ea8c230497b5b10fc10d60361331faaf8671d9f92d92e37424610b4278f9c1')
prepare() {
cd sysprof
}
build() {
# Ensure static library is non-LTO compatible
CFLAGS+=" -ffat-lto-objects"
arch-meson sysprof build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
package_sysprof() {
depends+=(libsysprof-capture)
groups=(gnome-extra)
meson install -C build --destdir "$pkgdir"
cd "$pkgdir"
_pick capture usr/lib/libsysprof-capture-*
_pick capture usr/lib/pkgconfig/sysprof-capture-*
_pick capture usr/include/sysprof-*/sysprof-{address,capture,clock,collector,macros}.h
_pick capture usr/include/sysprof-*/sysprof-{platform,version,version-macros}.h
_pick capture usr/include/sysprof-*/sysprof-capture-{condition,cursor,reader,types,writer}.h
}
package_libsysprof-capture() {
pkgdesc+=" - capture library"
depends=()
license=(BSD-2-Clause-Patent)
mv capture/* "$pkgdir"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 \
sysprof/src/libsysprof-capture/COPYING
}
# vim:set sw=2 sts=-1 et: