1SUMMARY = "System-level performance monitoring and performance management"
2HOMEPAGE = "http://www.pcp.io"
3SECTION =  "Applications/System"
4
5LICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
7                    "
8COMPATIBLE_HOST:libc-musl = "null"
9
10SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
11           file://0001-configure-Limit-the-header-search-to-sysroot.patch \
12           file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
13           file://config.linux \
14	   "
15SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee"
16
17inherit setuptools3-base pkgconfig autotools-brokensep
18
19# Specify any options you want to pass to the configure script using EXTRA_OECONF:
20CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
21EXTRA_OECONF:append = "\
22                    --with-dstat-symlink=yes \
23                    --with-infiniband=no \
24                    --with-python=no \
25                    --with-perl=no \
26                    --with-python3=yes \
27                    --with-pmdajson=no  \
28                    --with-perfevent=no \
29                    --with-pmdabcc=yes \
30                    --with-rundir=${localstatedir}/run \
31                    --with-sysconfigdir=${sysconfdir} \
32                    --with-logdir=${localstatedir}/log \
33                    --with-docdir=${docdir} \
34                    "
35
36PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"
37
38PACKAGECONFIG ?= ""
39
40PARALLEL_MAKE = ""
41