public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/salmon/
Date: Mon, 22 Mar 2021 13:46:32 +0000 (UTC)	[thread overview]
Message-ID: <1616420782.459e5c7233c8d8e9aae0946e5fef3279fdcd0ba2.andrewammerlaan@gentoo> (raw)

commit:     459e5c7233c8d8e9aae0946e5fef3279fdcd0ba2
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Mar 22 13:46:22 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Mar 22 13:46:22 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=459e5c72

sci-biology/salmon: fix library path

https://github.com/gentoo/sci/issues/1058

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/salmon/salmon-0.10.2.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/sci-biology/salmon/salmon-0.10.2.ebuild b/sci-biology/salmon/salmon-0.10.2.ebuild
index 914ab0e69..671309ed0 100644
--- a/sci-biology/salmon/salmon-0.10.2.ebuild
+++ b/sci-biology/salmon/salmon-0.10.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake multilib
 
 DESCRIPTION="Transcript-level quantification from RNA-seq reads using lightweight alignments"
 HOMEPAGE="https://github.com/COMBINE-lab/salmon"
@@ -49,6 +49,8 @@ DEPEND="
 	app-arch/bzip2
 	app-arch/xz-utils
 	dev-libs/boost:0[threads]
+	dev-libs/libdivsufsort
+	sci-biology/bwa
 	>=dev-libs/jemalloc-5.0.1
 	>=dev-cpp/tbb-2018.20180312
 "
@@ -57,3 +59,15 @@ BDEPEND="
 	net-misc/curl
 	app-arch/unzip
 "
+
+src_prepare() {
+	# use system libs
+	sed -i \
+		-e "s%\${GAT_SOURCE_DIR}/external/install/lib/libstaden-read.a%/usr/$(get_libdir)/libstaden-read.so%g" \
+		-e "s%\${GAT_SOURCE_DIR}/external/install/lib/libdivsufsort.a%/usr/$(get_libdir)/libdivsufsort.so%g" \
+		-e "s%\${GAT_SOURCE_DIR}/external/install/lib/libdivsufsort64.a%/usr/$(get_libdir)/libdivsufsort64.so%g" \
+		-e "s%\${GAT_SOURCE_DIR}/external/install/lib/libbwa.a%/usr/$(get_libdir)/libbwa.so%g" \
+		src/CMakeLists.txt || die
+
+	cmake_src_prepare
+}


             reply	other threads:[~2021-03-22 13:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22 13:46 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-23 13:32 [gentoo-commits] proj/sci:master commit in: sci-biology/salmon/ Andrew Ammerlaan
2022-01-15 14:14 Andrew Ammerlaan
2021-08-31  9:45 Andrew Ammerlaan
2021-01-26 21:10 Andrew Ammerlaan
2021-01-19 17:10 Andrew Ammerlaan
2021-01-19 15:45 Andrew Ammerlaan
2021-01-19 15:29 Andrew Ammerlaan
2021-01-06  9:42 Andrew Ammerlaan
2018-06-25 20:22 Martin Mokrejs
2018-06-24 16:30 Martin Mokrejs
2018-06-24 16:30 Martin Mokrejs
2018-06-24 14:01 Martin Mokrejs
2018-04-21 17:17 Martin Mokrejs
2016-02-28 10:43 Justin Lecher
2015-08-20 23:29 Christoph Junghans
2015-06-05 11:20 Justin Lecher
2015-05-24  8:14 Justin Lecher

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=1616420782.459e5c7233c8d8e9aae0946e5fef3279fdcd0ba2.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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