52 lines
952 B
Bash
52 lines
952 B
Bash
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
GNOME_ORG_MODULE="sysprof"
|
||
|
|
||
|
inherit gnome.org meson multilib-minimal systemd
|
||
|
|
||
|
DESCRIPTION="Static library for sysprof capture data generation"
|
||
|
HOMEPAGE="http://sysprof.com/"
|
||
|
|
||
|
LICENSE="GPL-3+ GPL-2+"
|
||
|
SLOT="4"
|
||
|
KEYWORDS="~amd64 ~x86 ~arm64"
|
||
|
IUSE=""
|
||
|
|
||
|
RDEPEND="!=dev-util/sysprof-3.34.1-r0"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="
|
||
|
dev-util/gdbus-codegen
|
||
|
>=sys-kernel/linux-headers-2.6.32
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
multilib_src_configure() {
|
||
|
local emesonargs=(
|
||
|
-Denable_gtk=false
|
||
|
-Dlibsysprof=false
|
||
|
-Dwith_sysprofd=none
|
||
|
-Dsystemdunitdir=$(systemd_get_systemunitdir)
|
||
|
# -Ddebugdir
|
||
|
-Dhelp=false
|
||
|
-Dlibunwind=false
|
||
|
-Denable_tools=false
|
||
|
-Denable_tests=false
|
||
|
-Denable_examples=false
|
||
|
)
|
||
|
meson_src_configure
|
||
|
}
|
||
|
|
||
|
multilib_src_compile() {
|
||
|
meson_src_compile
|
||
|
}
|
||
|
|
||
|
multilib_src_test() {
|
||
|
meson_src_test
|
||
|
}
|
||
|
|
||
|
multilib_src_install() {
|
||
|
meson_src_install
|
||
|
}
|