Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: media-libs/avbin-bin/
Date: Wed, 29 Jul 2015 07:54:35
Message-Id: 1433860360.f1268f6bdecab4927acd96c54af265e3854e5b08.jlec@gentoo
1 commit: f1268f6bdecab4927acd96c54af265e3854e5b08
2 Author: Alexander Presnyakov <flagist0 <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 9 14:32:40 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 9 14:32:40 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f1268f6b
7
8 neuro/sci: media-libs/avbin-bin build fixed -- package S (source directory) depends on architecture
9
10 Package-Manager: portage-2.2.14
11
12 media-libs/avbin-bin/ChangeLog | 7 +++++--
13 media-libs/avbin-bin/avbin-bin-7.ebuild | 14 +++++++-------
14 2 files changed, 12 insertions(+), 9 deletions(-)
15
16 diff --git a/media-libs/avbin-bin/ChangeLog b/media-libs/avbin-bin/ChangeLog
17 index 21b9a3c..761bf88 100644
18 --- a/media-libs/avbin-bin/ChangeLog
19 +++ b/media-libs/avbin-bin/ChangeLog
20 @@ -1,7 +1,11 @@
21 # ChangeLog for media-libs/avbin-bin
22 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
23 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 + 09 Jun 2015; Alexander Presnyakov <flagist0@×××××.com> avbin-bin-7.ebuild:
27 + neuro/sci: media-libs/avbin-bin build fixed -- package S (source directory)
28 + depends on architecture
29 +
30 10 Nov 2014; Justin Lecher <jlec@g.o> avbin-bin-7.ebuild,
31 metadata.xml:
32 Bump EAPI
33 @@ -24,4 +28,3 @@
34 29 May 2008; Andrey Grozin <grozin@g.o>
35 +metadata.xml, +avbin-bin-3.ebuild:
36 Initial import, thanks to Thomas Pani, bug #207125
37 -
38
39 diff --git a/media-libs/avbin-bin/avbin-bin-7.ebuild b/media-libs/avbin-bin/avbin-bin-7.ebuild
40 index 7a63467..db4bcf7 100644
41 --- a/media-libs/avbin-bin/avbin-bin-7.ebuild
42 +++ b/media-libs/avbin-bin/avbin-bin-7.ebuild
43 @@ -1,4 +1,4 @@
44 -# Copyright 1999-2014 Gentoo Foundation
45 +# Copyright 1999-2015 Gentoo Foundation
46 # Distributed under the terms of the GNU General Public License v2
47 # $Header: $
48
49 @@ -15,13 +15,13 @@ SLOT="0"
50 KEYWORDS="~amd64 ~x86 -*"
51 IUSE=""
52
53 -src_install() {
54 - if use amd64; then
55 - cd "${WORKDIR}"/avbin-linux-x86-64-${PV} || die
56 - elif use x86; then
57 - cd "${WORKDIR}"/avbin-linux-x86-32-${PV} || die
58 - fi
59 +if use amd64; then
60 + S="${WORKDIR}"/avbin-linux-x86-64-${PV}
61 +elif use x86; then
62 + S="${WORKDIR}"/avbin-linux-x86-32-${PV}
63 +fi
64
65 +src_install() {
66 ln -s libavbin.so.${PV} libavbin.so || die
67 dolib libavbin.so*
68 }