public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libcddb/
Date: Mon, 29 Jun 2020 06:47:21 +0000 (UTC)	[thread overview]
Message-ID: <1593413234.8da8156d73a42697931f4ae3429212d2370100ca.polynomial-c@gentoo> (raw)

commit:     8da8156d73a42697931f4ae3429212d2370100ca
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 06:46:33 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 06:47:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da8156d

media-libs/libcddb: Fixed build with CONFIG_SHELL != bash

Switched to EAPI-7

Closes: https://bugs.gentoo.org/528012
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-libs/libcddb/libcddb-1.3.2-r1.ebuild | 43 +++++++++++++++++++-----------
 1 file changed, 28 insertions(+), 15 deletions(-)

diff --git a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild b/media-libs/libcddb/libcddb-1.3.2-r1.ebuild
index 06c26b85450..527e22390ba 100644
--- a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild
+++ b/media-libs/libcddb/libcddb-1.3.2-r1.ebuild
@@ -1,11 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-
-inherit autotools-multilib
+inherit autotools multilib-minimal
 
 DESCRIPTION="A library for accessing a CDDB server"
 HOMEPAGE="http://libcddb.sourceforge.net/"
@@ -17,7 +15,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-lin
 IUSE="doc static-libs"
 
 RDEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]"
-DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
 
 RESTRICT="test"
 
@@ -25,22 +24,36 @@ DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/cddb/version.h )
 
-src_configure() {
-	local myeconfargs=( --without-cdio )
-	autotools-multilib_src_configure
+src_prepare() {
+	default
+	# Required for CONFIG_SHELL != bash (bug #528012)
+	eautoreconf
+}
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--without-cdio
+		$(use_enable static-libs static)
+	)
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
-src_compile() {
-	autotools-multilib_src_compile
+multilib_src_compile() {
+	default
 
-	if use doc; then
-		cd "${S}"/doc
+	if use doc ; then
+		cd "${S}"/doc || die
 		doxygen doxygen.conf || die
 	fi
 }
 
-src_install() {
-	autotools-multilib_src_install
+multilib_src_install_all() {
+	default
 
-	use doc && dohtml "${S}"/doc/html/*
+	find "${ED}" -type f -name "*.la" -delete || die
+
+	if use doc ; then
+		docinto html
+		dodoc "${S}"/doc/html/*
+	fi
 }


             reply	other threads:[~2020-06-29  6:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29  6:47 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-04 13:34 [gentoo-commits] repo/gentoo:master commit in: media-libs/libcddb/ Miroslav Šulc
2024-07-01 16:58 Arthur Zamarin
2024-07-01 16:58 Arthur Zamarin
2024-07-01 16:58 Arthur Zamarin
2024-07-01 16:47 Sam James
2024-07-01 16:47 Sam James
2024-07-01 16:47 Sam James
2024-07-01 16:47 Sam James
2023-07-07  7:31 Miroslav Šulc
2022-12-03  6:08 WANG Xuerui
2021-04-12  1:09 Sam James
2019-11-13  1:03 Aaron Bauman
2019-11-13  1:03 Aaron Bauman
2019-05-14 23:49 Aaron Bauman
2017-06-21 16:45 Alexis Ballier
2017-01-29 19:14 Fabian Groffen

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=1593413234.8da8156d73a42697931f4ae3429212d2370100ca.polynomial-c@gentoo \
    --to=polynomial-c@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