From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: media-libs/avbin-bin/
Date: Wed, 29 Jul 2015 07:54:28 +0000 (UTC) [thread overview]
Message-ID: <1434193567.cdf83fa51f24ee7beeb0cd715326a31b471a5720.jlec@gentoo> (raw)
commit: cdf83fa51f24ee7beeb0cd715326a31b471a5720
Author: Alexander Presnyakov <flagist0 <AT> gmail <DOT> com>
AuthorDate: Sat Jun 13 11:06:07 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 11:06:07 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cdf83fa5
neuro/sci: media-libs/avbin-bin build fixed -- moved source directory determination to pkg_setup
Package-Manager: portage-2.2.14
media-libs/avbin-bin/ChangeLog | 4 ++++
media-libs/avbin-bin/avbin-bin-7.ebuild | 13 +++++++------
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/media-libs/avbin-bin/ChangeLog b/media-libs/avbin-bin/ChangeLog
index 761bf88..5b1f303 100644
--- a/media-libs/avbin-bin/ChangeLog
+++ b/media-libs/avbin-bin/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Jun 2015; Alexander Presnyakov <flagist0@gmail.com> avbin-bin-7.ebuild:
+ neuro/sci: media-libs/avbin-bin build fixed -- moved source directory
+ determination to pkg_setup
+
09 Jun 2015; Alexander Presnyakov <flagist0@gmail.com> avbin-bin-7.ebuild:
neuro/sci: media-libs/avbin-bin build fixed -- package S (source directory)
depends on architecture
diff --git a/media-libs/avbin-bin/avbin-bin-7.ebuild b/media-libs/avbin-bin/avbin-bin-7.ebuild
index db4bcf7..8d655a4 100644
--- a/media-libs/avbin-bin/avbin-bin-7.ebuild
+++ b/media-libs/avbin-bin/avbin-bin-7.ebuild
@@ -15,12 +15,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE=""
-if use amd64; then
- S="${WORKDIR}"/avbin-linux-x86-64-${PV}
-elif use x86; then
- S="${WORKDIR}"/avbin-linux-x86-32-${PV}
-fi
-
+pkg_setup(){
+ if use amd64; then
+ S="${WORKDIR}"/avbin-linux-x86-64-${PV}
+ elif use x86; then
+ S="${WORKDIR}"/avbin-linux-x86-32-${PV}
+ fi
+}
src_install() {
ln -s libavbin.so.${PV} libavbin.so || die
dolib libavbin.so*
next reply other threads:[~2015-07-29 7:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 7:54 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-27 10:25 [gentoo-commits] proj/sci:master commit in: media-libs/avbin-bin/ Horea Christian
2019-03-28 22:06 Martin Mokrejs
2018-10-27 12:19 Justin Lecher
2016-09-06 0:18 Christoph Junghans
2015-07-29 7:54 Justin Lecher
2014-11-10 15: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=1434193567.cdf83fa51f24ee7beeb0cd715326a31b471a5720.jlec@gentoo \
--to=jlec@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