public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/rubberband/files/, media-libs/rubberband/
Date: Sun, 27 Sep 2020 09:46:23 +0000 (UTC)	[thread overview]
Message-ID: <1601199976.3062c5d68e34b8bd55a539743ebfcd6a2c8bcb1e.fordfrog@gentoo> (raw)

commit:     3062c5d68e34b8bd55a539743ebfcd6a2c8bcb1e
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 09:45:59 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 09:46:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3062c5d6

media-libs/rubberband: fixed calling ar in 1.9.0

Closes: https://bugs.gentoo.org/743883
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/rubberband/files/rubberband-1.9.0-makefile.patch | 13 +++++++++++++
 media-libs/rubberband/rubberband-1.9.0.ebuild               | 10 +++++++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch b/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch
new file mode 100644
index 00000000000..5539162dec2
--- /dev/null
+++ b/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index fdddb72..86c0548 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -19,7 +19,7 @@ VAMP_PLUGIN_LIBS	:= @Vamp_LIBS@ $(LIBRARY_LIBS)
+ LADSPA_PLUGIN_LIBS	:= $(LIBRARY_LIBS)
+ 
+ MKDIR			:= mkdir
+-AR			:= ar
++AR			?= ar
+ 
+ INSTALL_BINDIR		:= $(PREFIX)/bin
+ INSTALL_INCDIR		:= $(PREFIX)/include/rubberband

diff --git a/media-libs/rubberband/rubberband-1.9.0.ebuild b/media-libs/rubberband/rubberband-1.9.0.ebuild
index 97b291d5890..38036981a9e 100644
--- a/media-libs/rubberband/rubberband-1.9.0.ebuild
+++ b/media-libs/rubberband/rubberband-1.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit multilib-minimal
+inherit multilib-minimal toolchain-funcs
 
 DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program"
 HOMEPAGE="https://www.breakfastquay.com/rubberband/"
@@ -27,6 +27,10 @@ CDEPEND="
 RDEPEND="${CDEPEND}"
 DEPEND="${CDEPEND}"
 
+PATCHES=(
+	"${FILESDIR}/${P}-makefile.patch"
+)
+
 src_prepare() {
 	default
 	if ! use static-libs ; then
@@ -47,6 +51,10 @@ multilib_src_configure() {
 		$(use_enable vamp )
 }
 
+multilib_src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
 multilib_src_install() {
 	# fix libdir in .pc file
 	sed -iE "s%/lib$%/$(get_libdir)%g" "${BUILD_DIR}/rubberband.pc.in" || die "Failed to fix .pc file"


             reply	other threads:[~2020-09-27  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-27  9:46 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-12 12:22 [gentoo-commits] repo/gentoo:master commit in: media-libs/rubberband/files/, media-libs/rubberband/ Miroslav Šulc
2022-08-13  4:07 Miroslav Šulc
2022-10-02  8:04 Miroslav Šulc
2022-10-22  7:19 Miroslav Šulc
2022-11-04  7:23 Miroslav Šulc

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=1601199976.3062c5d68e34b8bd55a539743ebfcd6a2c8bcb1e.fordfrog@gentoo \
    --to=fordfrog@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