From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sI5uB0RM0V/lbAAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 22:14:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wBI5A0RM0V8IYgAAB5/wlQ (envelope-from ) for ; Wed, 09 Dec 2020 22:14:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E1DA7940437 for ; Wed, 9 Dec 2020 22:14:25 +0000 (UTC) Received: from localhost ([::1]:49074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn7j6-0001Mf-U0 for larch@yhetil.org; Wed, 09 Dec 2020 17:14:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn7il-0001Lx-31 for guix-patches@gnu.org; Wed, 09 Dec 2020 17:14:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn7ik-0007KR-Kx for guix-patches@gnu.org; Wed, 09 Dec 2020 17:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn7ik-0004Ka-Gp for guix-patches@gnu.org; Wed, 09 Dec 2020 17:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45150] [PATCH 4/5] gnu: lame: Install pkg-config file. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Dec 2020 22:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45150@debbugs.gnu.org Cc: Kei Kebreau Received: via spool by 45150-submit@debbugs.gnu.org id=B45150.160755203616603 (code B ref 45150); Wed, 09 Dec 2020 22:14:02 +0000 Received: (at 45150) by debbugs.gnu.org; 9 Dec 2020 22:13:56 +0000 Received: from localhost ([127.0.0.1]:36421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn7ie-0004Jd-Ei for submit@debbugs.gnu.org; Wed, 09 Dec 2020 17:13:56 -0500 Received: from mout02.posteo.de ([185.67.36.66]:41007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn7ic-0004J6-CZ for 45150@debbugs.gnu.org; Wed, 09 Dec 2020 17:13:54 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AE4052400FB for <45150@debbugs.gnu.org>; Wed, 9 Dec 2020 23:13:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607552028; bh=HwyrJpG7whHkYCUrDrCCcGC/SUa142dXdypyhi+eYuU=; h=From:To:Cc:Subject:Date:From; b=h56wSMgVp+hl2/z/8Lk6AhEsJbrttAB/gIozoyJdywuDZ/QypgGQzBinMnd54c/lj CFlrWGP5HIOYLDG0xPzhQ5sYYPDc4nqzrmSuTnH025Gf2v+HoLNPjtqQByFLLYgZoe iww725hyJysUhCaA/Fke0R3MdSknh0HuChTxX9sye5DxNmgyD2f7xkyYFuw17/uF/o UWdcwmFTnOxA3e+9Ma8LBI5NdE0IGlKpUZKtVrj+Hi5YQ4zFdwWnKzMeqX5HTPjx17 2ZCNkersW5HprIl7ai0sJAQabaFsKLGe0tabtFn7WA8ds2pbxeke2SDvvZAXyV85VA 5i2/U1ebJ5VXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Crrt36yrLz6tmB; Wed, 9 Dec 2020 23:13:47 +0100 (CET) From: Kei Kebreau Date: Wed, 9 Dec 2020 17:13:32 -0500 Message-Id: <20201209221333.23645-3-kkebreau@posteo.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201209221333.23645-1-kkebreau@posteo.net> References: <20201209221333.23645-1-kkebreau@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 5.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=h56wSMgV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E1DA7940437 X-Spam-Score: 5.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: quSEvIimE0aA * gnu/packages/mp3.scm (lame)[arguments]: Add 'install-pkg-config phase. --- gnu/packages/mp3.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 9dd6f5c4a7..3591372d6b 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -430,6 +430,28 @@ use with CD-recording software).") (base32 "07nsn5sy3a8xbmw1bidxnsj5fj6kg9ai04icmqw40ybkp353dznx")))) (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-pkg-config + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pkg-config-dir (string-append out "/lib/pkgconfig"))) + (mkdir-p pkg-config-dir) + (with-output-to-file (string-append pkg-config-dir "/lame.pc") + (lambda _ + (format #t + "prefix=~@*~a~@ + libdir=${prefix}/lib~@ + includedir=${prefix}/include~@ + + Name: lame~@ + Description:~@ + Version: ~a~@ + Libs: -L${libdir} -lmp3lame~@ + Cflags: -I${includedir}~%" + out + ,version))))))))) (home-page "http://lame.sourceforge.net/") (synopsis "MPEG Audio Layer III (MP3) encoder") (description "LAME is a high quality MPEG Audio Layer III (MP3) encoder.") -- 2.29.2