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 55843138359 for ; Mon, 31 Aug 2020 03:44:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 645D6E0863; Mon, 31 Aug 2020 03:44:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1E503E0835 for ; Mon, 31 Aug 2020 03:44:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C6FAC340E06 for ; Mon, 31 Aug 2020 03:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EBE22EE for ; Mon, 31 Aug 2020 03:44:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1598845454.65d0afbccdf468242080abc9c32d2ededa13b1cc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmrss/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libmrss/libmrss-0.19.2-r1.ebuild X-VCS-Directories: net-libs/libmrss/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 65d0afbccdf468242080abc9c32d2ededa13b1cc X-VCS-Branch: master Date: Mon, 31 Aug 2020 03:44:21 +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: f65cd1f7-a84b-4b8e-a7aa-9b7ebb0ccba4 X-Archives-Hash: 2641ada54f494979b1502d0c61dff910 commit: 65d0afbccdf468242080abc9c32d2ededa13b1cc Author: Sam James gentoo org> AuthorDate: Mon Aug 31 03:34:35 2020 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 31 03:44:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d0afbc net-libs/libmrss: fix installed pkgconfig file The installed pkgconfig file referred to /usr/lib unconditionally, causing warnings in reverse dependencies when linking. Closes: https://bugs.gentoo.org/731240 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> net-libs/libmrss/libmrss-0.19.2-r1.ebuild | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/net-libs/libmrss/libmrss-0.19.2-r1.ebuild b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild new file mode 100644 index 00000000000..11b589a2993 --- /dev/null +++ b/net-libs/libmrss/libmrss-0.19.2-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams" +HOMEPAGE="https://www.autistici.org/bakunin/libmrss/doc/" +SRC_URI="https://www.autistici.org/bakunin/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +IUSE="doc examples" + +RDEPEND=" + net-libs/libnxml + net-misc/curl" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +# TODO: php-bindings + +src_prepare() { + default + + # Fix lib dir in installed pkgconfig file + sed -i -e "s:\${exec_prefix}/lib:\${exec_prefix}/$(get_libdir):" mrss.pc.in \ + || die "Failed to correct pkgconfig file" +} + +src_configure() { + econf --disable-static +} + +src_compile() { + default + + if use doc; then + ebegin "Creating documentation" + doxygen doxy.conf || die "generating docs failed" + # clean out doxygen gunk + rm doc/html/*.{md5,map} || die + HTML_DOCS=( doc/html/. ) + eend 0 + fi +} + +src_install() { + default + + if use examples; then + docinto test + dodoc test/*.c + fi + + # no static archives + find "${D}" -name '*.la' -delete || die +}