35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'sysprof'
|
|
pkgname=sysprof
|
|
version=3.42.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable_gtk=true -Dsystemdunitdir=deleteme"
|
|
hostmakedepends="gettext pkg-config itstool glib-devel"
|
|
makedepends="gtk+3-devel libdazzle-devel polkit-devel glib-devel elogind-devel json-glib-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"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=1796b81404ee75fd1ebacf54464ad7affebf62f2851eef524d9f8eac0c4a2001
|
|
|
|
# for ITS rules
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" polkit-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/deleteme
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|