public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmrss/
Date: Mon, 31 Aug 2020 03:44:21 +0000 (UTC)	[thread overview]
Message-ID: <1598845454.65d0afbccdf468242080abc9c32d2ededa13b1cc.sam@gentoo> (raw)

commit:     65d0afbccdf468242080abc9c32d2ededa13b1cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 03:34:35 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}


             reply	other threads:[~2020-08-31  3:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31  3:44 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-13 21:37 [gentoo-commits] repo/gentoo:master commit in: net-libs/libmrss/ Georgy Yakovlev
2022-01-02 13:44 Georgy Yakovlev
2020-12-20 19:28 Sam James
2020-12-20 19:07 Thomas Deutschmann
2020-12-17 16:41 Agostino Sarubbo
2020-12-17  8:58 Sam James
2020-02-09 18:50 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1598845454.65d0afbccdf468242080abc9c32d2ededa13b1cc.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox