Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtiger/
Date: Fri, 11 Aug 2017 13:21:05
Message-Id: 1502457637.621e6591ec672974d4e02480cbcc7119505d61e2.mgorny@gentoo
1 commit: 621e6591ec672974d4e02480cbcc7119505d61e2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 05:19:37 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 11 13:20:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=621e6591
7
8 media-libs/libtiger: Enable multilib build
9
10 media-libs/libtiger/libtiger-0.3.4-r1.ebuild | 17 +++++++++--------
11 1 file changed, 9 insertions(+), 8 deletions(-)
12
13 diff --git a/media-libs/libtiger/libtiger-0.3.4-r1.ebuild b/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
14 index 27909edac9e..1d18c7f4373 100644
15 --- a/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
16 +++ b/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
17 @@ -2,7 +2,7 @@
18 # Distributed under the terms of the GNU General Public License v2
19
20 EAPI=6
21 -inherit libtool
22 +inherit libtool multilib-minimal
23
24 DESCRIPTION="A rendering library for Kate streams using Pango and Cairo"
25 HOMEPAGE="https://code.google.com/p/libtiger/"
26 @@ -13,11 +13,11 @@ SLOT="0"
27 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
28 IUSE="doc"
29
30 -RDEPEND="x11-libs/pango
31 - >=media-libs/libkate-0.2.0
32 - x11-libs/cairo"
33 +RDEPEND="x11-libs/pango[${MULTILIB_USEDEP}]
34 + >=media-libs/libkate-0.2.0[${MULTILIB_USEDEP}]
35 + x11-libs/cairo[${MULTILIB_USEDEP}]"
36 DEPEND="${RDEPEND}
37 - virtual/pkgconfig
38 + virtual/pkgconfig[${MULTILIB_USEDEP}]
39 doc? ( app-doc/doxygen )"
40
41 src_prepare() {
42 @@ -25,11 +25,12 @@ src_prepare() {
43 elibtoolize
44 }
45
46 -src_configure() {
47 +multilib_src_configure() {
48 + local ECONF_SOURCE=${S}
49 econf $(use_enable doc)
50 }
51
52 -src_install() {
53 - default
54 +multilib_src_install_all() {
55 + einstalldocs
56 find "${ED}" -name '*.la' -delete || die
57 }