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 F3B08138334 for ; Sun, 31 Mar 2019 10:47:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7650BE08DD; Sun, 31 Mar 2019 10:47:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4DBACE08DD for ; Sun, 31 Mar 2019 10:47:58 +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 B7E6A335D24 for ; Sun, 31 Mar 2019 10:47:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7854558A for ; Sun, 31 Mar 2019 10:47:53 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1554029251.ff46897d6fa08727f2f8b25f633aafacf854103b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-system-monitor/ X-VCS-Repository: repo/gentoo X-VCS-Files: mate-extra/mate-system-monitor/mate-system-monitor-1.22.0.ebuild X-VCS-Directories: mate-extra/mate-system-monitor/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ff46897d6fa08727f2f8b25f633aafacf854103b X-VCS-Branch: master Date: Sun, 31 Mar 2019 10:47:53 +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: 3850c791-37c1-4117-bea8-44498b1e224e X-Archives-Hash: 917bb08b48bab164dcff7480d19b6e94 commit: ff46897d6fa08727f2f8b25f633aafacf854103b Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 31 09:33:42 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 31 10:47:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff46897d mate-extra/mate-system-monitor: Add USE elogind Bug: https://bugs.gentoo.org/681334 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> .../mate-system-monitor-1.22.0.ebuild | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/mate-extra/mate-system-monitor/mate-system-monitor-1.22.0.ebuild b/mate-extra/mate-system-monitor/mate-system-monitor-1.22.0.ebuild index 58b518131b0..2df1fb376d2 100644 --- a/mate-extra/mate-system-monitor/mate-system-monitor-1.22.0.ebuild +++ b/mate-extra/mate-system-monitor/mate-system-monitor-1.22.0.ebuild @@ -10,10 +10,12 @@ if [[ ${PV} != 9999 ]]; then fi DESCRIPTION="The MATE System Monitor" + LICENSE="GPL-2" SLOT="0" +IUSE="elogind systemd" -IUSE="systemd" +REQUIRED_USE="?? ( elogind systemd )" COMMON_DEPEND=" >=dev-cpp/glibmm-2.26:2 @@ -28,6 +30,7 @@ COMMON_DEPEND=" >=x11-libs/gtk+-3.22:3 >=x11-libs/libwnck-3.0:3 virtual/libintl + elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd )" RDEPEND="${COMMON_DEPEND} @@ -41,6 +44,19 @@ DEPEND="${COMMON_DEPEND} virtual/pkgconfig:*" src_configure() { - mate_src_configure \ - $(use_enable systemd) + local myconf=() + + if use elogind || use systemd; then + myconf+=( --enable-systemd ) + if use elogind; then + myconf+=( + SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` + SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` + ) + fi + else + myconf+=( --disable-systemd ) + fi + + mate_src_configure "${myconf[@]}" }