34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'sysprof'
|
|
pkgname=sysprof
|
|
reverts="3.46.0_1"
|
|
version=3.44.0
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Denable_gtk=true -Dsystemdunitdir=/usr/lib/systemd"
|
|
hostmakedepends="gettext pkg-config itstool glib-devel"
|
|
makedepends="gtk+3-devel libdazzle-devel polkit-devel glib-devel elogind-devel
|
|
json-glib-devel libunwind-devel"
|
|
short_desc="System-wide profiler for Linux"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later, GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/sysprof"
|
|
changelog="https://gitlab.gnome.org/GNOME/sysprof/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=ab5d9f5b71973b3088d58a1bfdf1dc23c39a02f5fce4e5e9c73e034b178b005b
|
|
|
|
# for ITS rules
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" polkit-devel"
|
|
fi
|
|
|
|
sysprof-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libglib-devel
|
|
json-glib-devel polkit-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|