From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BEE2138351 for ; Mon, 2 Mar 2020 19:23:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE3B4E0878; Mon, 2 Mar 2020 19:23:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ABABFE0884 for ; Mon, 2 Mar 2020 19:23:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E652C34F4D6 for ; Mon, 2 Mar 2020 19:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3143D144 for ; Mon, 2 Mar 2020 19:23:02 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1583176745.2de6ef5f0375eb9ac7ef795a5185782e7da2b2f9.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysprof-capture/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sysprof-capture/sysprof-capture-3.34.1-r1.ebuild X-VCS-Directories: dev-util/sysprof-capture/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 2de6ef5f0375eb9ac7ef795a5185782e7da2b2f9 X-VCS-Branch: master Date: Mon, 2 Mar 2020 19:23:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cf04f176-cd14-4910-8889-3896f101bf18 X-Archives-Hash: 22200fc54b01ab82547f941855ecbe08 commit: 2de6ef5f0375eb9ac7ef795a5185782e7da2b2f9 Author: Mart Raudsepp gentoo org> AuthorDate: Mon Mar 2 19:19:05 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Mon Mar 2 19:19:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de6ef5f dev-util/sysprof-capture: Ship org.gnome.Sysprof3.Profiler.xml here Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> .../sysprof-capture-3.34.1-r1.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-util/sysprof-capture/sysprof-capture-3.34.1-r1.ebuild b/dev-util/sysprof-capture/sysprof-capture-3.34.1-r1.ebuild new file mode 100644 index 00000000000..7e76591dccd --- /dev/null +++ b/dev-util/sysprof-capture/sysprof-capture-3.34.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GNOME_ORG_MODULE="sysprof" + +inherit gnome.org meson systemd + +DESCRIPTION="Static library for sysprof capture data generation" +HOMEPAGE="http://sysprof.com/" + +LICENSE="GPL-3+ GPL-2+" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.61.3:2 + !=dev-util/sysprof-3.34.1-r0" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + >=sys-kernel/linux-headers-2.6.32 + virtual/pkgconfig +" + +src_prepare() { + default + # In 3.34.1 -Dlibsysprof=false still installs various data files related with it; + # some of these seem fixed by 3.36 + sed -i -e '/subdir.*data/d' meson.build || die +} + +src_configure() { + local emesonargs=( + -Denable_gtk=false + -Dlibsysprof=false + -Dwith_sysprofd=none + -Dsystemdunitdir=$(systemd_get_systemunitdir) + # -Ddebugdir + -Dhelp=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + # In 3.36 these shouldn't be needed with with_sysprofd=none + rm "${ED}"/usr/share/dbus-1/interfaces/org.gnome.Sysprof2.xml || die + rm "${ED}"/usr/share/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml || die +}