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/libkate/
Date: Fri, 11 Aug 2017 13:21:05
Message-Id: 1502457636.4aa7924438c00522755826b8ebe9292b9d7be27d.mgorny@gentoo
1 commit: 4aa7924438c00522755826b8ebe9292b9d7be27d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 05:13:07 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 11 13:20:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa79244
7
8 media-libs/libkate: Enable multilib build
9
10 media-libs/libkate/libkate-0.4.1-r3.ebuild | 21 +++++++++++----------
11 1 file changed, 11 insertions(+), 10 deletions(-)
12
13 diff --git a/media-libs/libkate/libkate-0.4.1-r3.ebuild b/media-libs/libkate/libkate-0.4.1-r3.ebuild
14 index b9892bb4c9f..a2653bad4c3 100644
15 --- a/media-libs/libkate/libkate-0.4.1-r3.ebuild
16 +++ b/media-libs/libkate/libkate-0.4.1-r3.ebuild
17 @@ -4,7 +4,7 @@
18 EAPI=6
19
20 PYTHON_COMPAT=( python2_7 )
21 -inherit python-single-r1
22 +inherit multilib-minimal python-single-r1
23
24 DESCRIPTION="Codec for karaoke and text encapsulation for Ogg"
25 HOMEPAGE="https://code.google.com/p/libkate/"
26 @@ -18,12 +18,12 @@ IUSE="debug doc wxwidgets"
27 REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )"
28
29 COMMON_DEPEND="
30 - media-libs/libogg:=
31 - media-libs/libpng:0=
32 + media-libs/libogg:=[${MULTILIB_USEDEP}]
33 + media-libs/libpng:0=[${MULTILIB_USEDEP}]
34 "
35 DEPEND="${COMMON_DEPEND}
36 - virtual/pkgconfig
37 - sys-devel/flex
38 + virtual/pkgconfig[${MULTILIB_USEDEP}]
39 + sys-devel/flex[${MULTILIB_USEDEP}]
40 sys-devel/bison
41 doc? ( app-doc/doxygen )
42 "
43 @@ -38,16 +38,17 @@ pkg_setup() {
44 use wxwidgets && python-single-r1_pkg_setup
45 }
46
47 -src_configure() {
48 +multilib_src_configure() {
49 + local ECONF_SOURCE=${S}
50 econf \
51 --disable-static \
52 $(use_enable debug) \
53 - $(use_enable doc) \
54 - $(usex wxwidgets '' 'PYTHON=:')
55 + $(multilib_native_use_enable doc) \
56 + $(multilib_native_usex wxwidgets '' 'PYTHON=:')
57 }
58
59 -src_install() {
60 - default
61 +multilib_src_install_all() {
62 + einstalldocs
63 find "${D}" -name '*.la' -delete || die
64 use wxwidgets && python_fix_shebang "${D}"
65 }