public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libnodave/
Date: Sat,  3 Jul 2021 09:59:09 +0000 (UTC)	[thread overview]
Message-ID: <1625187761.b344a1b9894b567f546be0a4db9c214ab92f9b8e.andrewammerlaan@gentoo> (raw)

commit:     b344a1b9894b567f546be0a4db9c214ab92f9b8e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Jul  2 01:02:41 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jul  2 01:02:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b344a1b9

dev-libs/libnodave: various changes

symlink library before tests building
always install html doc
install german doc in subfolder
install tests in libexec subfolder

Closes: https://bugs.gentoo.org/784926
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 ...-0.8.5.1-r1.ebuild => libnodave-0.8.5.1-r2.ebuild} | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/dev-libs/libnodave/libnodave-0.8.5.1-r1.ebuild b/dev-libs/libnodave/libnodave-0.8.5.1-r2.ebuild
similarity index 86%
rename from dev-libs/libnodave/libnodave-0.8.5.1-r1.ebuild
rename to dev-libs/libnodave/libnodave-0.8.5.1-r2.ebuild
index 9b0e5a1b6..3f50a4746 100644
--- a/dev-libs/libnodave/libnodave-0.8.5.1-r1.ebuild
+++ b/dev-libs/libnodave/libnodave-0.8.5.1-r2.ebuild
@@ -12,18 +12,19 @@ SRC_URI="mirror://sourceforge/libnodave/libnodave-${PV}.tar.gz"
 LICENSE="LGPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc perl"
+IUSE="perl"
+
 RESTRICT="test" #no tests
-DEPEND=""
+
 RDEPEND="
 	perl? ( dev-lang/perl:= )
 "
-BDEPEND=""
+
+DOCS=( ChangeLog readme faq.txt )
 PATCHES=(
 	"${FILESDIR}/makefile-${PV}.patch"
 	"${FILESDIR}/perl-makefile.patch"
 )
-DOCS=( ChangeLog readme faq.txt FAQ.de.txt )
 
 src_configure() {
 	if use perl; then
@@ -36,8 +37,9 @@ src_configure() {
 src_compile() {
 	append-cflags "-L${S} -fPIC"
 	emake clean
-	emake CC="$(tc-getCC)" all
+	emake CC="$(tc-getCC)" libnodave.so
 	ln -s libnodave.so.0 libnodave.so || die
+	emake CC="$(tc-getCC)" all
 
 	if use perl; then
 		cd "${S}/PERL" || die
@@ -62,13 +64,14 @@ src_install() {
 		isotest4
 		ibhsim5
 	)
-	exeinto "/usr/libexec"
+	exeinto "/usr/libexec/${PN}"
 	doexe "${programs[@]}"
-
 	dolib.so libnodave.so.0 libnodave.so
 	doheader nodave.h
-	use doc && HTML_DOCS=( doc/*.html )
+	HTML_DOCS=( doc/*.html )
 	einstalldocs
+	insinto "/usr/share/${PF}/doc/de"
+	doins FAQ.de.txt
 
 	if use perl; then
 		cd "${S}/PERL" || die


             reply	other threads:[~2021-07-03  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03  9:59 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-19 13:43 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libnodave/ Andrew Ammerlaan

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=1625187761.b344a1b9894b567f546be0a4db9c214ab92f9b8e.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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