commit: 3d263dd208da4574cc7bc14dc5f6ee3cc9cc1b66
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 21:08:36 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 21:08:36 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d263dd2
media-libs/libXcm: EAPI-7 bump, drop multilib-minimal
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/libXcm/libXcm-9999.ebuild | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/media-libs/libXcm/libXcm-9999.ebuild
b/media-libs/libXcm/libXcm-9999.ebuild
index d39e3f05a31..dff600917b0 100644
--- a/media-libs/libXcm/libXcm-9999.ebuild
+++ b/media-libs/libXcm/libXcm-9999.ebuild
@@ -1,49 +1,48 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit autotools
if [[ ${PV} = *9999 ]]; then
- GITECLASS="git-r3"
EGIT_REPO_URI="https://github.com/oyranos-cms/libxcm.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+ S="${WORKDIR}/${P,,}"
fi
-inherit autotools multilib-minimal ${GITECLASS}
-unset GITECLASS
DESCRIPTION="Reference implementation of the X Color Management specification"
-HOMEPAGE="http://www.oyranos.org/libxcm/"
-[[ ${PV} != *9999 ]] && \
-SRC_URI="https://github.com/oyranos-cms/${PN,,}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+HOMEPAGE="https://www.oyranos.org/libxcm/"
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
IUSE="static-libs X"
RDEPEND="
X? (
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXfixes[${MULTILIB_USEDEP}]
- x11-libs/libXmu[${MULTILIB_USEDEP}]
+ x11-libs/libX11
+ x11-libs/libXfixes
+ x11-libs/libXmu
)
"
DEPEND="${RDEPEND}
x11-base/xorg-proto"
-[[ ${PV} != *9999 ]] && S="${WORKDIR}/${P,,}"
-
src_prepare() {
default
eautoreconf
- multilib_copy_sources
}
-multilib_src_configure() {
+src_configure() {
econf \
$(use_enable static-libs static) \
$(use_with X x11)
}
-multilib_src_install_all() {
- find "${D}" -name '*.la' -delete || die
+src_install() {
+ default
+ find "${D}" -name '*.la' -type f -delete || die
}