sysprof: update to 3.24.1.

This commit is contained in:
Enno Boland 2017-09-13 15:52:32 +02:00
parent a0e59e9872
commit ecbe4d24d6
4 changed files with 27 additions and 25 deletions

View File

@ -2864,3 +2864,5 @@ libixml.so.10 libupnp1.8-1.8.2_1
libupnp.so.10 libupnp1.8-1.8.2_1
libevent_extra-2.1.so.6 libevent-2.1.8_3
libevent_openssl-2.1.so.6 libevent-2.1.8_3
libsysprof-2.so sysprof-3.24.1_1
libsysprof-ui-2.so sysprof-3.24.1_1

1
srcpkgs/sysprof-devel Symbolic link
View File

@ -0,0 +1 @@
sysprof

View File

@ -1,16 +0,0 @@
--- util.h 2010-12-07 22:41:57.156243001 -0600
+++ util.h 2010-12-07 22:43:47.616243002 -0600
@@ -37,4 +37,13 @@
#define cpu_relax() asm volatile("" ::: "memory");
#endif
+#ifdef __arm__
+/*
+ * Use the __kuser_memory_barrier helper in the CPU helper page. See
+ * arch/arm/kernel/entry-armv.S in the kernel source for details.
+ */
+#define rmb() ((void(*)(void))0xffff0fa0)()
+#define cpu_relax() asm volatile("":::"memory")
+#endif
+
#endif

View File

@ -1,18 +1,33 @@
# Template file for 'sysprof'
pkgname=sysprof
version=1.2.0
revision=4
version=3.24.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="glib-devel gtk+-devel libglade-devel"
hostmakedepends="pkg-config itstool glib-devel"
makedepends="gtk+3-devel polkit-devel glib-devel"
short_desc="A system-wide profiler for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://sysprof.com/"
distfiles="http://sysprof.com/sysprof-${version}.tar.gz"
checksum=baf03c6fc01a845c705873e6fc7927aa89539dcda6963f9ec4c8eb4c086a64f1
distfiles="https://download.gnome.org/sources/sysprof/${version%.*}/$pkgname-$version.tar.xz"
checksum=054eebe2afb6fe3c06ac8c46bc045c42f675d4fd64e6f16cbc602d5c7ce27bec
configure_args="--enable-gtk --with-sysprofd"
case "$XBPS_TARGET_MACHINE" in
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
esac
post_install() {
vmkdir usr/lib/udev/rules.d
mv ${DESTDIR}/etc/udev/rules.d/* ${DESTDIR}/usr/lib/udev/rules.d
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"
vmove usr/share
}
}