Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libXcm/
Date: Wed, 03 Apr 2019 21:23:17
Message-Id: 1554325716.3d263dd208da4574cc7bc14dc5f6ee3cc9cc1b66.asturm@gentoo
1 commit: 3d263dd208da4574cc7bc14dc5f6ee3cc9cc1b66
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 3 21:08:36 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 3 21:08:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d263dd2
7
8 media-libs/libXcm: EAPI-7 bump, drop multilib-minimal
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/libXcm/libXcm-9999.ebuild | 35 +++++++++++++++++------------------
14 1 file changed, 17 insertions(+), 18 deletions(-)
15
16 diff --git a/media-libs/libXcm/libXcm-9999.ebuild b/media-libs/libXcm/libXcm-9999.ebuild
17 index d39e3f05a31..dff600917b0 100644
18 --- a/media-libs/libXcm/libXcm-9999.ebuild
19 +++ b/media-libs/libXcm/libXcm-9999.ebuild
20 @@ -1,49 +1,48 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27 +
28 +inherit autotools
29
30 if [[ ${PV} = *9999 ]]; then
31 - GITECLASS="git-r3"
32 EGIT_REPO_URI="https://github.com/oyranos-cms/libxcm.git"
33 + inherit git-r3
34 +else
35 + SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 + KEYWORDS="~amd64 ~ppc ~x86"
37 + S="${WORKDIR}/${P,,}"
38 fi
39 -inherit autotools multilib-minimal ${GITECLASS}
40 -unset GITECLASS
41
42 DESCRIPTION="Reference implementation of the X Color Management specification"
43 -HOMEPAGE="http://www.oyranos.org/libxcm/"
44 -[[ ${PV} != *9999 ]] && \
45 -SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +HOMEPAGE="https://www.oyranos.org/libxcm/"
47
48 LICENSE="MIT"
49 SLOT="0"
50 -KEYWORDS=""
51 IUSE="static-libs X"
52
53 RDEPEND="
54 X? (
55 - x11-libs/libX11[${MULTILIB_USEDEP}]
56 - x11-libs/libXfixes[${MULTILIB_USEDEP}]
57 - x11-libs/libXmu[${MULTILIB_USEDEP}]
58 + x11-libs/libX11
59 + x11-libs/libXfixes
60 + x11-libs/libXmu
61 )
62 "
63 DEPEND="${RDEPEND}
64 x11-base/xorg-proto"
65
66 -[[ ${PV} != *9999 ]] && S="${WORKDIR}/${P,,}"
67 -
68 src_prepare() {
69 default
70 eautoreconf
71 - multilib_copy_sources
72 }
73
74 -multilib_src_configure() {
75 +src_configure() {
76 econf \
77 $(use_enable static-libs static) \
78 $(use_with X x11)
79 }
80
81 -multilib_src_install_all() {
82 - find "${D}" -name '*.la' -delete || die
83 +src_install() {
84 + default
85 + find "${D}" -name '*.la' -type f -delete || die
86 }