mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
sysprof: rebuild against libelogind-238.1_2, fix.
This commit is contained in:
parent
d6ecb2e444
commit
9706ead325
1 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sysprof'
|
# Template file for 'sysprof'
|
||||||
pkgname=sysprof
|
pkgname=sysprof
|
||||||
version=3.28.0
|
version=3.28.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="pkg-config itstool glib-devel"
|
hostmakedepends="pkg-config itstool glib-devel"
|
||||||
makedepends="gtk+3-devel polkit-devel glib-devel elogind-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>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://sysprof.com/"
|
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
|
checksum=65437778af2fc3bab05bf9c1871fbd8726a4bd6471f1288d7b7a7e3429cee436
|
||||||
configure_args="-Denable-gtk=true -Dsystemdunitdir=/DELETEME"
|
configure_args="-Denable-gtk=true -Dsystemdunitdir=/DELETEME"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
x64_64-musl|aarch64-musl) CFLAGS="-D__WORDSIZE=64" ;;
|
||||||
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
*-musl) CFLAGS="-D__WORDSIZE=32" ;;
|
||||||
esac
|
esac
|
||||||
CFLAGS+=" -Wno-error -Wno-error=undef"
|
|
||||||
|
CFLAGS=" -Wno-error -Wno-error=undef"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
export SHELL=/bin/bash
|
export SHELL=/bin/bash
|
||||||
|
@ -33,6 +35,5 @@ sysprof-devel_package() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove usr/share
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue