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 14132138359 for ; Mon, 23 Nov 2020 22:06:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B1F7E0801; Mon, 23 Nov 2020 22:06:15 +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 32412E0801 for ; Mon, 23 Nov 2020 22:06:15 +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 2A67D335DC2 for ; Mon, 23 Nov 2020 22:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FC2542C for ; Mon, 23 Nov 2020 22:06:12 +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: <1606169022.f1e91c667fb2ae4694070397d47f78ed23144d82.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild media-sound/pulseaudio/pulseaudio-13.0.ebuild X-VCS-Directories: media-sound/pulseaudio/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: f1e91c667fb2ae4694070397d47f78ed23144d82 X-VCS-Branch: master Date: Mon, 23 Nov 2020 22:06:12 +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: 467a0d91-c9e9-4bd1-bd32-5030aee6ec3e X-Archives-Hash: ccb503f794c86ecb336d869515be6d03 commit: f1e91c667fb2ae4694070397d47f78ed23144d82 Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 23 11:23:30 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Mon Nov 23 22:03:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e91c66 media-sound/pulseaudio: Fixed quoting for elogind configure args Also use tc-getPKG_CONFIG from toolchain-funcs.eclass to find pkg-config Reported-by: flippynelle pm.me> Closes: https://bugs.gentoo.org/756196 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> Signed-off-by: Mart Raudsepp gentoo.org> media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild | 7 ++++--- media-sound/pulseaudio/pulseaudio-13.0.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild b/media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild index c6746608ed4..5c0f7d6d8e8 100644 --- a/media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild +++ b/media-sound/pulseaudio/pulseaudio-13.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools bash-completion-r1 flag-o-matic gnome2-utils linux-info systemd udev multilib-minimal +inherit autotools bash-completion-r1 flag-o-matic gnome2-utils linux-info systemd toolchain-funcs udev multilib-minimal DESCRIPTION="A networked sound server with an advanced plugin system" HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/" @@ -197,10 +197,11 @@ multilib_src_configure() { ) if use elogind && multilib_is_native_abi; then + local PKGCONFIG="$(tc-getPKG_CONFIG)" myconf+=( --enable-systemd-login - SYSTEMDLOGIN_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` - SYSTEMDLOGIN_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` + SYSTEMDLOGIN_CFLAGS="$(${PKGCONFIG} --cflags "libelogind" 2>/dev/null)" + SYSTEMDLOGIN_LIBS="$(${PKGCONFIG} --libs "libelogind" 2>/dev/null)" ) fi diff --git a/media-sound/pulseaudio/pulseaudio-13.0.ebuild b/media-sound/pulseaudio/pulseaudio-13.0.ebuild index d1ed1d05bf3..737b28abb7f 100644 --- a/media-sound/pulseaudio/pulseaudio-13.0.ebuild +++ b/media-sound/pulseaudio/pulseaudio-13.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools bash-completion-r1 flag-o-matic gnome2-utils linux-info systemd user udev multilib-minimal +inherit autotools bash-completion-r1 flag-o-matic gnome2-utils linux-info systemd toolchain-funcs user udev multilib-minimal DESCRIPTION="A networked sound server with an advanced plugin system" HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/" @@ -202,10 +202,11 @@ multilib_src_configure() { ) if use elogind && multilib_is_native_abi; then + local PKGCONFIG="$(tc-getPKG_CONFIG)" myconf+=( --enable-systemd-login - SYSTEMDLOGIN_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` - SYSTEMDLOGIN_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` + SYSTEMDLOGIN_CFLAGS="$(${PKGCONFIG} --cflags "libelogind" 2>/dev/null)" + SYSTEMDLOGIN_LIBS="$(${PKGCONFIG} --libs "libelogind" 2>/dev/null)" ) fi