sysprof: rebuild against libelogind-238.1_2, fix.
This commit is contained in:
parent
d6ecb2e444
commit
9706ead325
@ -1,7 +1,7 @@
|
||||
# Template file for 'sysprof'
|
||||
pkgname=sysprof
|
||||
version=3.28.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config itstool glib-devel"
|
||||
makedepends="gtk+3-devel polkit-devel glib-devel elogind-devel"
|
||||
@ -9,14 +9,16 @@ short_desc="A system-wide profiler for Linux"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://sysprof.com/"
|
||||
distfiles="https://download.gnome.org/sources/sysprof/${version%.*}/$pkgname-$version.tar.xz"
|
||||
distfiles="https://download.gnome.org/sources/sysprof/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=65437778af2fc3bab05bf9c1871fbd8726a4bd6471f1288d7b7a7e3429cee436
|
||||
configure_args="-Denable-gtk=true -Dsystemdunitdir=/DELETEME"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
||||
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
||||
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
||||
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
||||
esac
|
||||
CFLAGS+=" -Wno-error -Wno-error=undef"
|
||||
|
||||
CFLAGS=" -Wno-error -Wno-error=undef"
|
||||
|
||||
pre_build() {
|
||||
export SHELL=/bin/bash
|
||||
@ -33,6 +35,5 @@ sysprof-devel_package() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user