34 lines
896 B
Bash
34 lines
896 B
Bash
# Template file for 'sysprof'
|
|
pkgname=sysprof
|
|
version=3.32.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable_gtk=true -Dsystemdunitdir=''"
|
|
hostmakedepends="pkg-config itstool glib-devel"
|
|
makedepends="gtk+3-devel polkit-devel glib-devel elogind-devel"
|
|
short_desc="System-wide profiler for Linux"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="GPL-2.0-or-later, GPL-3.0-or-later"
|
|
homepage="http://sysprof.com/"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=fc22a69e468701c5ec9036e960c6273afa1ed6a89df1f889fed49417add5554d
|
|
|
|
# for ITS rules
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" polkit-devel"
|
|
fi
|
|
|
|
pre_build() {
|
|
export SHELL=/bin/bash
|
|
}
|
|
|
|
sysprof-devel_package() {
|
|
depends="sysprof>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|