mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
9e8d0acdcb
This is similar tod83e25b6a5. Adapted parona's sed then checked results: ``` $ sed -E '/dev-util\/gdbus-codegen(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-util\/gdbus-codegen(-[0-9.r-]*)?/>=dev-util\/gdbus-codegen-2.80.5-r1/ }' */*/*.ebuild -i ``` We need to make the PM upgrade to newer gdbus-codegen (seeda84c0959e). Otherwise, a gdbus-codegen that is broken (even if we added a newer version and dropped old etc) may be used to build other packages and cause build failures. Bug: https://bugs.gentoo.org/919904 Bug: https://bugs.gentoo.org/922654 Bug: https://bugs.gentoo.org/959259 Signed-off-by: Sam James <sam@gentoo.org>
49 lines
927 B
Bash
49 lines
927 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
GNOME_ORG_MODULE="sysprof"
|
|
|
|
inherit dot-a gnome.org meson-multilib systemd
|
|
|
|
DESCRIPTION="Static library for sysprof capture data generation"
|
|
HOMEPAGE="https://www.sysprof.com/"
|
|
|
|
LICENSE="GPL-3+ GPL-2+"
|
|
SLOT="4"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
>=dev-util/gdbus-codegen-2.80.5-r1
|
|
>=sys-kernel/linux-headers-2.6.32
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
lto-guarantee-fat
|
|
meson-multilib_src_configure
|
|
}
|
|
|
|
multilib_src_configure() {
|
|
local emesonargs=(
|
|
-Dgtk=false
|
|
-Dlibsysprof=false
|
|
-Dinstall-static=true
|
|
-Dsysprofd=none
|
|
-Dsystemdunitdir=$(systemd_get_systemunitdir)
|
|
# -Ddebugdir
|
|
-Dhelp=false
|
|
-Dtools=false
|
|
-Dtests=false
|
|
-Dexamples=false
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
multilib_src_install_all() {
|
|
einstalldocs
|
|
strip-lto-bytecode
|
|
}
|