sysprof: update to 3.32.0.

This commit is contained in:
Rasmus Thomsen 2019-03-13 17:49:13 +01:00 committed by maxice8
parent 5d81023f4d
commit 8298b93652

View file

@ -1,38 +1,27 @@
# Template file for 'sysprof'
pkgname=sysprof
version=3.30.2
version=3.32.0
revision=1
build_style=meson
configure_args="-Denable_gtk=true -Dsystemdunitdir=/DELETEME"
configure_args="-Denable_gtk=true -Dsystemdunitdir=''"
hostmakedepends="pkg-config itstool glib-devel"
makedepends="gtk+3-devel polkit-devel glib-devel elogind-devel"
short_desc="A system-wide profiler for Linux"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
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=e90878e5a509bd79d170a7a51d47cc5508ab1363afaf0d97654373dfd9c8ba0b
checksum=fc22a69e468701c5ec9036e960c6273afa1ed6a89df1f889fed49417add5554d
case "$XBPS_TARGET_MACHINE" in
aarch64-musl|x86_64-musl|ppc64le-musl|ppc64-musl)
broken="__WORDSIZE definitions aren't recognized"
;;
x64_64-musl|aarch64-musl|ppc64le-musl|ppc64-musl)
CFLAGS="-D__WORDSIZE=64"
;;
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
esac
CFLAGS=" -Wno-error -Wno-error=undef"
# for ITS rules
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" polkit-devel"
fi
pre_build() {
export SHELL=/bin/bash
}
post_install() {
rm -r $DESTDIR/DELETEME
}
sysprof-devel_package() {
depends="sysprof>=${version}_${revision}"
short_desc+=" - development files"